的BitmapData和JpegEn codeR限制BitmapData、JpegEn、codeR

2023-09-08 14:41:07 作者:难以启齿的痛

我想救出来使用闪光灯的BitmapData和jpegen codeR一个大的图像。我期待到这个过程的限制,已经注意到您只能设定的BitmapData pizel的宽度和高度,以一定量的,这可能是灵活的与你设置jpegen codeR质量(1-100)。

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 out (because I need to use the image exported for printing purposes, so I need it as high quality as possible).

我已阅读,说在FP 10可以呈现多达像16000像素的文章。但我想它的形象是3500 x 3500,它超时。所以,不知道这是否是正确的信息。

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.

推荐答案

图片大小限制最多的Flash Player 9的2880x2880,Flash 10的增加此限制到4096×4096。这也适用于舞台,精灵和影片剪辑。

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.

用于JPGEn codeR类不规避这一限制,因为这是联系在一起的闪存核心的质量。

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