|
From: strk <st...@ke...> - 2009-03-15 17:15:52
|
On Sun, Mar 15, 2009 at 06:11:16PM +0100, Albrecht Kleine wrote: > Hi, > > just added another constructor method using open file handle > to bitmap.xs + POD in bitmap.pm. I hope this was somewhat your intention. More or less. My primarly goal was to support loading png files actually, but since I was there I tought it was a good idea to drop the extension checking as a whole, since the core lib supports it. > At all using file handles gives some really nice possibilites :-) > and I would not like to miss it in the future. Sure, my code does create an SWFInput from the filename in any case, so you might as well skip the file opening. > @strk: Also I've seen your addition. Very good! .. > but please do add also some lines for handling alpha files. I'm not sure I see a case for handling alpha separaterly. At least I tought the core lib would read alpha when available in input (say png). Jpeg with alpha would be impossible to generate with Ming, by relying on that. For clarity, I'm just working on what makes it easier for me to decompile SWFs to perl scripts for analisys/optimization. --strk; Free GIS & Flash consultant/developer () ASCII Ribbon Campaign http://foo.keybit.net/~strk/services.html /\ Keep it simple! |