开发者

as3 export as pdf?

开发者 https://www.devze.com 2023-01-30 19:05 出处:网络
I am working on a drawing application that exports images to 150dpi jpg file currently. When these are printed they are giving the best results and the printer asked if I could provide the files in a

I am working on a drawing application that exports images to 150dpi jpg file currently. When these are printed they are giving the best results and the printer asked if I could provide the files in a pdf.

Is this possible directly from flash?

If I do use a php script to convert the jpg to a pdf, will that be the same quality?

Other than pdf, what other image formats coul开发者_运维百科d I use that might produce better results?


Check out AlivePDF, it's ActionScript3 PDF library. Here is nice tutorials page

You should be able to preserve picture quality when converting to pdf.


What we do is scale the displayobject in flash before taking a snapshot as a Bitmap and converting to a png using pngencoder... this allows us to print at a much higher dpi and have it come out the same size (i.e. for 300dpi scale your image by 2.

0

精彩评论

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