SWF 2 JPG
Posted: Mon Nov 01, 2004 7:56 pm
Help!
I am trying to write some PHP code that will allow me to import an image into flash (swf), rotate it, change the colour and position and then export a JPG based on what the user has selected.
Apparently this isn't that easy. I can get the jpg's into FLASH no problem; it's the exporting a JPG that seems to be problematic. Anybody have any ideas as to which road I should take on this one?
At present I am thinking that I will have to HTTP POST the location, name, size, color attributes of the jpg to PHP (using actionscript) and then try to duplicate the image using the built in PHP GDLib or ImageMagik functions.
It doesn't necessarily have to be a JPG... PNG would work well too.
I am trying to write some PHP code that will allow me to import an image into flash (swf), rotate it, change the colour and position and then export a JPG based on what the user has selected.
Apparently this isn't that easy. I can get the jpg's into FLASH no problem; it's the exporting a JPG that seems to be problematic. Anybody have any ideas as to which road I should take on this one?
At present I am thinking that I will have to HTTP POST the location, name, size, color attributes of the jpg to PHP (using actionscript) and then try to duplicate the image using the built in PHP GDLib or ImageMagik functions.
It doesn't necessarily have to be a JPG... PNG would work well too.