SaveAnim with gif and colors

Report any Hollywood bugs here
Post Reply
User avatar
Juan Carlos
Posts: 932
Joined: Mon Sep 06, 2010 1:02 pm

SaveAnim with gif and colors

Post by Juan Carlos »

The instruction SaveAnim(id, file$[, format, table]) for example: SaveAnim(1, "my_anim.gif", #ANMFMT_GIF, {Colors = 64, Dither = True})
Well when I tryed to use this instruction to convert and save one gif animation with 64 colors or 128, the instruction always save with 256 colors.
User avatar
airsoftsoftwair
Posts: 5834
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: SaveAnim with gif and colors

Post by airsoftsoftwair »

Hollywood-saved GIFs will always reserve 256 colors but in reality they'll only use as many colors as you specifiy in the "Colors" tag. Try to set the "Colors" tag to 2... then you will see that your GIF will still have a palette of 256 colors but only 2 will actually be used by the image data.
Post Reply