online cheap medications order generic bactrim price, and buy cheap online buy cheap discount lasix, and cheap pharmacy lipitor without rx, and online ordering accutane review, and order cheap how much acyclovir to kill, and buy cheapest synthroid order online, and pharmacy cheapest cheap baclofen pill, and order online directions for taking clomid, and online cheap medications cheap hydrochlorothiazide without rx, and cheap pharmacy purchase amoxil cod overnight delivery, and cheap pharmacy arimidex online overnight, and buy cheap online buy buy zithromax pill online, and order online online valtrex prescription in utah, and buy cheapest buy cheap discount online flagyl, and buy online zovirax (acyclovir) cheapest, and buy cheap how to buy prozac online without a rx, and cheap pharmacy cash on delivery paxil, and cheap pharmacy diflucan cod delivery next day, and purchase no prescription propecia cancer prevention, and generic medications neurontin and online overnight delivery, and purchase no prescription norvasc fedex shipping, and online ordering purchase doxycycline next day cod, and ordering online feminizing effects of premarin, and buy cheap online buspar and wellbutrin, and online cheap medications order overnight retin-a, and

AlivePDF 0.1.4.2 release

Hi everybody :)

Here is a new AlivePDF release which is including a new feature which has been requested very much : PNG Support !

I hope this release will help you guys (Rui Cruz) finishing your projects easily ;)

New features :

- PNG Support :

The addImageStream method now support PNG images :

[Embed( source="/assets/cover_300dpi.png", mimeType="application/octet-stream" )]
private var pngBytes:Class;

myPDF.addImageStream( new pngBytes() as ByteArray, 0, 0, 0, 0, 1, ImageResize.RESIZE_PAGE );

Now you can use the addImage method and ask for PNG compression through the new ImageFormat.PNG constant :

myPDF.addImage( this, 0, 0, 0, 0, ImageFormat.PNG );

Of course, the quality parameter is ignored when PNG compression is asked.

As you may know, PNG compression is much faster than JPG compression. So this feature can be a good thing if your PDF has a lot of images.

For the moment only non transparent PNG images are supported, alpha channel support will come in the following days.

Download this new 0.1.4.2 release here

Comments 12

  1. Attraktive wrote:

    royal ! merci thibault :)

    Posted 28 May 2008 at 11:14 am
  2. behruz wrote:

    Thanks man.. ! great job.. Waiting for alpha channel.. I am taking a snapshot of a Flex DisplayObject converting it to the byteArray and feeding it to the addImageStream method.. but it gives me error about alpha channel. How can I take a snapshot without alpha.??

    Posted 29 May 2008 at 12:11 pm
  3. Thibault Imbert wrote:

    Hi behruz,

    You have two options :

    The first one is to use the addImage and ask for PNG compression, it will take care of removing the alpha channel for now.

    Second option is to generate the ByteArray PNG by yourself and use the addImageStream method. Make sure the BitmapData you are encoding is not transparent by passing false for transparency when you create it.

    let me know,

    cheers,

    Thibault

    Posted 29 May 2008 at 1:02 pm
  4. Alexander wrote:

    Thanks for this version! Have you any plans to complete internal links (addLink etc)?

    Posted 03 Jun 2008 at 2:34 pm
  5. behruz wrote:

    Thanks man,

    Really appreciate ur help. Did as u said. Works smooth.

    Posted 06 Jun 2008 at 2:24 pm
  6. ND wrote:

    Is there a step to render the pdf itself as 300dpi?
    I add the image and resize – but the pdf is still rendering at 72dpi.
    Thanks!

    Posted 10 Mar 2009 at 10:30 pm
  7. Tomohisa Ota wrote:

    Great software!!
    Do you still have a plan to implement PNG alpha support?

    I would really really love to use it:-)

    Posted 05 Jun 2009 at 11:02 am
  8. Wolfgang Poelzl wrote:

    Hi, Thibault.

    Behruz wrote:
    “I am taking a snapshot of a Flex DisplayObject converting it to the byteArray and feeding it to the addImageStream method.. but it gives me error about alpha channel. How can I take a snapshot without alpha.??”

    You wrote:
    “You have two options :

    The first one is to use the addImage and ask for PNG compression, it will take care of removing the alpha channel for now.

    Second option is to generate the ByteArray PNG by yourself and use the addImageStream method. Make sure the BitmapData you are encoding is not transparent by passing false for transparency when you create it.”

    I’ve tried a lot, but didn’t reach the goal.
    Should this work with Version 0.1.4.9?

    Would you please be so kind to post some code?

    thanks in advance!

    cheers from austria!
    Wolfgang

    Posted 03 Feb 2010 at 8:29 am
  9. Wolfgang Poelzl wrote:

    It’s me again.

    What’s wrong with it?

    var imageSnap:ImageSnapshot=ImageSnapshot.captureImage(this);
    var bytes:ByteArray=imageSnap.data as ByteArray;
    var ba:PNGEncoder=new PNGEncoder();
    var resBA:ByteArray=ba.encodeByteArray(bytes, this.width, this.height, false);
    pdf.addImageStream(resBA, ColorSpace.DEVICE_RGB);

    I’m getting
    Error #2030: End of file was encountered.

    Using 0.1.5RC with Flex 3.5 SDK

    Posted 08 Feb 2010 at 11:56 pm
  10. Michael Zager wrote:

    First off, thank you for all your work with AlivePDF. It is a very exciting project and I am hoping to use it on my next project. I am curious if you have successfully triggered the pdf to save without involving a server side script via FP10. If not, have you ruled this out as a possibility or is it something you haven’t gotten a chance to play with yet? I am very interested in this possibility. It there is anything I can do to help, please let me know.

    Thank you so much for your time,
    Michael

    Posted 13 Apr 2010 at 5:58 pm
  11. Ian Watkins wrote:

    Like Wolfgang, I’m also having the same erro whilst using his method to remove alpha from PNGs during encoding.

    Desperately need to be able to add PNGs to my PDF.

    Cheers

    Ian

    Posted 08 Mar 2011 at 6:26 pm
  12. Squall23 wrote:

    Hi,
    Anything new about the “Error: Alpha channel not supported for now” error ?

    Thanks

    Posted 03 Jan 2012 at 6:34 pm

Post a Comment

Your email is never published nor shared. Required fields are marked *