开发者

BitmapData and JpegEncoder Limitations

I am trying to save out a large image from flash using bitmapdata and the jpegencoder. I am looking into the limitations of this process and have noticed you can only set bitmapdata pizel width and height to a certain amount and this might be flexible with what you set the jpegencoder quality to (1-100).

Does anyone know what the specific limitations of these two things are? I'm basically trying to see just how large of an image I can save开发者_Go百科 out (because I need to use the image exported for printing purposes, so I need it as high quality as possible).

I have read articles that say in fp 10 you can render up to something like 16,000 px. But I tried an image that is 3500 x 3500 and it timed out. So not sure if this is correct information.


The image size limit up to Flash Player 9 is 2880x2880, Flash 10 increased this limit to 4096x4096. This applies also for the Stage, Sprites and MovieClips.

The quality used for the JPGEncoder class does not circumvent this limitation as this is tied to the Flash core.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜