Page 1 of 1

Card Creator filesizes are out of control [SOLVED]

Posted: 11 Jun 2016, 17:11
by wintermute
I've been using the card creator to create animated cards, however the filesizes are kinda crazy.

A 1.84mb animated gif gave me a 24.1mb card.
A 3.72mb gif gave me a 26.4mb card.

Is there any way to optimize the file size?

Thank you!

Re: Card Creator filesizes are out of control

Posted: 11 Jun 2016, 17:31
by 0131
wintermute wrote:I've been using the card creator to create animated cards, however the filesizes are kinda crazy.

A 1.84mb animated gif gave me a 24.1mb card.
A 3.72mb gif gave me a 26.4mb card.

Is there any way to optimize the file size?

Thank you!
Hm it is normal that animated cards a atleast twice as big the original gif because the entire gif is encoded inside the metadata to make it possible to edit cards just by using their image.
But 24.1mb from a 1.84 mb file sounds realy extreme.
I know that in the current version are some bugs i already fixed in my dev. version.
Could you please upload the source images? So that i can try that by myself.

Edit: When i create an animated card with a 5 mb gif file i get a 13 mb card which is ok from my point of view 8mb = card + 5 mb encoded file + overhead

Re: Card Creator filesizes are out of control

Posted: 11 Jun 2016, 17:52
by wintermute
Here's the animated gif that turns into a 26.4mb
1338591113790.gif
1338591113790.gif (3.72 MiB) Viewed 5501 times

Re: Card Creator filesizes are out of control

Posted: 11 Jun 2016, 20:23
by 0131
Ok i can see that you used a highly compromised gif, this and the high frame rate(<130 frame) are causing the huge filesize.
There is no gif compression at the moment in my application but i can try to add transparency to the unused pixels.

Edit: Sadly using combine + transparency had no big influence but I found out that the rezise alorithm had some effect on the framsize. Currently i can reduce the filesize by 25% wich would mean from 20mb + sourcefilesize to 15mb image + sourcefilesize by choosing a faster resize algorithm (could not see any difference in quality as gifs itself offers only poor image quality)
If you want to reduce the filesize further be carefull with resizing, dont use / scale small animations with super high framerate.
26.4mb -> 20,8mb still much but atleast a bit better.

Re: Card Creator filesizes are out of control

Posted: 13 Jun 2016, 22:13
by 0131
Update:
Added some features to the gif tools panel for the next release to help you adjusting the filesize!
newgiftools.png
newgiftools.png (4.44 KiB) Viewed 5465 times
You can setup the framequality to optimum filesize, which saves around 25%
And you can divide the the framerate, for example by 2 which saves 50% filesize, 3 -> 66% ...
Examplefile: | +
Framerate divided by 2 and created using opt. filesize.
Framerate divider of 3 would create a 9 mb file.
CTI2.Number 0131.Core Set.Time Lapse.05.gif
CTI2.Number 0131.Core Set.Time Lapse.05.gif (12.98 MiB) Viewed 5465 times

Re: Card Creator filesizes are out of control

Posted: 14 Jun 2016, 01:44
by wintermute
Nice, thank you! :) :Make-UP:

Re: Card Creator filesizes are out of control

Posted: 15 Jun 2016, 06:52
by Rothaon
Thanks!