Hi list,
I use AlivePDF to create PDF files from a display container.
All works well, except that the image in the pdf (created from vectors in the 
display container) is only 72dpi.
I searched the web and found that the way to go is to create a high resolution 
(300dpi) image from the display container first and feed that image to AlivePDF.
In Flex this is done using the mx.graphics.ImageSnapshot class.
But my project is flash AS3 only and mx.graphics seems not to be available in 
Flash.

Also AlivePDF supports high resolutions from v1.5. But the example I got from 
their website (code below) also seems to be Flex-only.
[Embed( source="/assets/cover_300dpi.jpg", mimeType="application/octet-stream" 
)]
private var jpgBytes:Class;
myPdf.addImageStream( new jpgBytes() as ByteArray, 0, 0, 0, 0, 1, 
ImageResize.RESIZE_PAGE );

My question:
Are there any alternatives for Flash or is it possible to implement one of the 
previously mentioned Flex solutions in Flash anyway.
Thanks,
Willem van den Goorbergh


=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
Geografiek is a Dutch, Utrecht-based map and chart design company.
Willem van den Goorbergh can be contacted by telephone: (+31)30-2719512 or cell 
phone: (+31)6-26372378
or by fax: (+31)302719687
snail mail: Hooghiemstraplein 89 3514 AX UTRECHT
Visit our website at: www.geografiek.nl
twitter: @wvdgoorbergh
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=





_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to