Does anybody know why IV save GIFs only with palettes containing 256, 16 and 2 colors, when it could contain 256, 128, 64, 32, 16, 8, 4, 2 colors?
Let's say I have image with 32 colors, but IV save it with 256 color palette, so the palette is mostly empty:
It's file size is 1401 bytes.
IV has Show HEX View function (F3 key) , which show 32 colors in the palette (from position 13=0Dh) and the rest are 0's.
If I delete (in some HEX editor) those (256-32)x3 bytes, and change byte on the position 10(0Ah) from F7 to C4 (Color Resolution and Size of Global Color Table bits), I have the same image, but smaller:
It's file size is 729 bytes.
I suppose that this format is O.K. and in case of small pictures it has sense to use the appropriate size of palette. Is there any reason why IV does not use it?
Let's say I have image with 32 colors, but IV save it with 256 color palette, so the palette is mostly empty:
It's file size is 1401 bytes.
IV has Show HEX View function (F3 key) , which show 32 colors in the palette (from position 13=0Dh) and the rest are 0's.
If I delete (in some HEX editor) those (256-32)x3 bytes, and change byte on the position 10(0Ah) from F7 to C4 (Color Resolution and Size of Global Color Table bits), I have the same image, but smaller:
It's file size is 729 bytes.
I suppose that this format is O.K. and in case of small pictures it has sense to use the appropriate size of palette. Is there any reason why IV does not use it?
Comment