slothg / as3gif

Automatically exported from code.google.com/p/as3gif

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can not resize GIFs after they loaded

GoogleCodeExporter opened this issue · comments

Seems like no one posted how to resize the animated gif after it’s loaded. I 
put up some sample code if you’re interested.

This code allows you to resize the width and height of an animated GIF loaded 
in through GIFPlayer.

https://gist.github.com/1238101

Original issue reported on code.google.com by caseyp...@gmail.com on 23 Sep 2011 at 6:44

Caseyp,

Thanks for this, I've patched it into my version of the library.  Do you know 
if this maintains aspect ratio? (Clearly I am not an AS3 dev)

Original comment by wgraha...@gmail.com on 5 Nov 2012 at 5:05

I can't resize my GIF too. In fact the problem is that when you use URLRequest, 
ang GIFPlayer.load to load your GIF, the GIFPlayer doesn't see how many frames 
the Gif has. Has someone find any solution?

Original comment by gandolfi...@gmail.com on 29 Jul 2013 at 8:12