[magick-users] square gradient png bigger in size if you save them vertically compared to horizontally

Fred Weinhaus fmw at alink.net
Mon Feb 16 18:54:04 UTC 2009


If this is even true, don't use a format that has compression such as 
jpg to save your gradients. Use PNG or some other 24-bit uncompressed 
format.



>Hi,
>
>I read ones on a website (I am looking for the link!!) why a square gradient
>image with its lines horizontally aligned was smaller than the same image
>turned 90 degrees (so the lines are vertically aligned).
>
>If I am remembering this correctly this had to do due to the fact that the
>compression algorithm scans horizontally per line of pixels and compresses
>the same color pixels.
>
>Does anybody got a bookmark/link to the explanation page of this behavior?
>
>thx,


More information about the Magick-users mailing list