storing uncompressed zip files
I am using ZipOutputStream to create an archive of (among other things) image files. Since the images are already compressed, I would like to archive them in STORED (uncompressed) mode. But when I do so, I get the following exception from ZipOutputStream.putNextEntry():
STORED entry missing size, compressed size, or crc-32
The size is there; what it wants is the checksum value. If I archive the images in DEFLATED mode, I have no problem.
Do I really need to calculate the checksum value myself before archiving an uncompressed file?

