5 Replies Latest reply on Jan 24, 2011 3:41 AM by Atishay Jain

    AlivePDF high resolution images via addImageStream

    Chris Callaghan

      I just cannot get this to work... I've copy and pasted code from many sites claiming success with this, but it just doesnt seem to work for me.

       

      I've also posted on multiple sites but still no further....

       

      This is the code as it should be, but I just get the following errors

       

      1067: Implicit coercion of a value of type int to an unrelated type org.alivepdf.layout:Resize.

      1067: Implicit coersion of a value of type int to an unrelated type String.

      1120: Access of undefined property ImageResize.

       

       

       

      function(){return A.apply(null,[this].concat($A(arguments)))}

      [Embed( source="assets/ribbon.jpg", mimeType="application/octet-stream" )]

       

      var jpgBytes:Class;

       

      myPDF.addImageStream(

      new jpgBytes() as ByteArray, 0, 0, 0, 0, 1, ImageResize.RESIZE_PAGE );