Large Image Renderer
ok have little problem saving high resolution images (png or jpeg) disk air application. making pages printing , there big pictures filters on them on pages. thing images rendering have larger maximum bitmapdata width or height, 8191, in pixels wich first results in filters breaking , wont show , images breaking wont show up. tought of splitting end result in smaller squares make whole. png in 8000 x 8000 4 2000 x 2000. im using imagesnapshot.captureimage this:
var mybitmap:bitmapdata = new bitmapdata(pageparthwidth, pagepartheight);
mybitmap.draw(page);
var imgss:imagesnapshot = imagesnapshot.captureimage(page, 72, new pngencoder(), false);
the page variable s:scroller has page in s:group. before each part renderers imagesnapshot change s:scroller's verticalscrollposition , horizontalscrollposition render next part. problem stated if page(s:group) inside s:scoller has image big break or/and filter break , not show in saved part. there way around flash draws whats inside scoller @ moment?
so real question can scale part of interface in flash? hop understand mean
does scroller this:
<s:scroller ...>
<s:group id="viewport">
<s:image />
<s:image />
<s:image />
<s:image />
</s:group>
</s:scroller>
more specifically, images directly inside of "viewport" group or inside sub-group of viewport?
More discussions in Flex (Read Only)
adobe
Comments
Post a Comment