OK, so I have to zip something into an archive file, which I have done - whay is it not any smaller then the original file?
*feeling stupid*
*feeling stupid*
iMeowbot said:What kind of file was the original? If it's a format that does compression on its own, zip won't help much, and in pathological cases can even result in a larger file.
Mitthrawnuruodo said:Was the tiff files already compressed?
Many lossless compression algorithms will just add a bit when they encounter files they are not able to compress.
Here's the explanation from gzip.org:
Compression is always performed, even if the compressed file is
slightly larger than the original. The worst case expansion is
a few bytes for the gzip file header, plus 5 bytes every 32K block,
or an expansion ratio of 0.015% for large files. Note that the actual
number of used disk blocks almost never increases.
That's odd...iGary said:No compression was used on the tiff files at all. Zero.
Mitthrawnuruodo said:That's odd...![]()
What did you use to compress them? Finder's built-in Create Archive?
zip -9 pic.zip
zip -9
zip -9 /Users/iGary/Photos/MyBigToe.tiff.zip /Users/iGary/Photos/MyBigToe.tiff
Hmmm... I don't have a good explanation for you. I have had some trouble with the built-in compression earlier (and used Terminal, in stead) but some simple tests now compressed some small but uncompressed tiff files in half when I used the built-in Create Archive in Finder, and I only saved a few bits by making a zipped tar in Terminal...iGary said:Yep, sure did.