I’m using a compination of actionscript’s getPixel and php’s imagecreatetruecolor and imagesetpixel to generate a png image of an swf movie inside a browser.
At the moment it will output a 72 dpi image at the same resolution as the swf movie, but I’ve been asked about the possibility of generating a 300 dpi image instead.
Is this possible?
Flash doesn’t really know anything about resolution or dpi. The only way to output an image from flash with the correct amount of pixels and at print quality is to scale your movie to that amount of pixels and use print quality images or vector graphics. Otherwise you’re just going to have a programatically scaled image which is no better than just sending the 72dpi image off to print. Long story short, flash is not a good print design platform.