Hello,
        I have an image (gif file) having geometry 36x36.    
I scaled this image to 18x18. When I viewed the scaled file in browser the 
image appeard to be smaller as expected. But the number of bytes (as shown by 
ls -l command) increased for the new scaled down file. How is this possible?

Following are outputs of unix "file" and "ls -l" command on both files.

ls -l in.gif
-rw-rw-r--  1 prashant users 868 Jun  7 14:15 in.gif

file in.gif
in.gif: GIF image data, version 89a, 36 x 36


ls -l out.gif
-rw-rw-r--  1 prashant users 1078 Jun  7 14:15 out.gif

file out.gif
out.gif: GIF image data, version 89a, 18 x 18

You can notice that size (on disk) of original file is 868 bytes but that of 
new scaled down file is 1078 bytes. This seems confusing to me.

Regards,
Prashant S






_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to