I need to limit the size of the out put animated GIF file <=100 Kb,
So, when the output GIF image size > 100 Kb I need to scale this to make the size reduce to about 100Kb,
But I don't know how to calculator for ratios for scaling (width and height for scaling).
Please help me with this.
Thank in advance!