Sign In  Sign Up Live-Chat

TIFF to PDF Conversion Issue

Last post 04-12-2008, 1:05 AM by Hans.firefox. 6 replies.
Sort Posts: Previous Next
  •  04-02-2008, 2:14 PM 120397

    TIFF to PDF Conversion Issue

    Attachment: Present (inaccessible)

    Hi,

    We have received the following while converting TIFF file to PDF. Please let us know the solution for this issue. I have attached the TIFF file for your review.

    Thanks

    -Balaji

    Data : System.Collections.ListDictionaryInternal
    TargetSite : Int32 ٗ(Aspose.Pdf.Image, Aspose.Pdf.ImageFileType, System.String, System.String, System.String, Int32, Int32, Boolean, Boolean, Byte[], System.IO.Stream)
    Stack Trace :    at Aspose.Pdf.Figure.ٕ.ٗ(Image ٘, ImageFileType ٙ, String ٚ, String ٛ, String ٜ, Int32 ٝ, Int32 ٞ, Boolean ٟ, Boolean ٠, Byte[] ١, Stream ٢)
       at Aspose.Pdf.Xml.ቮ.ታ(Pdf ӕ, Image ٘)
       at Aspose.Pdf.Xml.ᐤ.ᐥ(Pdf ӕ, Section ა, Table բ, Row ࿖, Cell ՜, Image ٘, ӝ ӿ, ჿ Ꮗ, Boolean Ꮘ)
       at Aspose.Pdf.Xml.ᖄ.ᖇ(Pdf ӕ, Section ჆, ӝ ӿ)
       at Aspose.Pdf.Xml.ܻ.ၨ(Pdf ӕ)
       at Aspose.Pdf.Xml.ᤧ.᤬(Ӟ ؃, Pdf ӕ)
       at Aspose.Pdf.Pdf.Save(String pdfFile)

     
  •  04-03-2008, 9:30 AM 120594 in reply to 120397

    Re: TIFF to PDF Conversion Issue

    Hi,

    I have tested your code and was able to reproduce the error. I have logged this as PDFNET-4792 in our issue tracking system. We will try our best to resolve this as soon as possible.

    Thanks.

     
  •  04-04-2008, 11:32 AM 120830 in reply to 120594

    Re: TIFF to PDF Conversion Issue

    Attachment: Present (inaccessible)
    We have faced another issue during TIFF to PDF conversion. Converted PDF does not include the colors in TIFF. Please find the attachment.
     
  •  04-05-2008, 8:54 AM 120893 in reply to 120830

    Re: TIFF to PDF Conversion Issue

    Attachment: Present (inaccessible)

    Hi,

    I have tested the file and was not able to reproduce the error. I have attached the output that I got. Can you please show me the code you are using and the tell me the version of Aspose.Pdf that you have.

    Thanks.

     
  •  04-10-2008, 10:02 PM 121722 in reply to 120893

    Re: TIFF to PDF Conversion Issue

    Hi,

    I tried to open you attached tiff file(sample.tif) with both MS print and Adobe Photoshop and both of them failed to open it.I also tried code below to convert it into bitmap:
     System.Drawing.Bitmap bm = new System.Drawing.Bitmap("sample.tif");
    I got an exception:
     Unhandled Exception: System.ArgumentException: Parameter is not valid.
       at System.Drawing.Bitmap..ctor(String filename)
    I think there should be a problem of the tiff itself.
    Thanks.

    Best regards.

    Hans Zhang
    Product Developer
    Aspose Changsha Team
    About Us
    Contact Us
     
  •  04-11-2008, 4:56 PM 121920 in reply to 121722

    Re: TIFF to PDF Conversion Issue

    Attachment: Present (inaccessible)

    Uploading the file again.

     
  •  04-12-2008, 1:05 AM 121939 in reply to 121920

    Re: TIFF to PDF Conversion Issue

    Hi,

    I tried the attached tif and the result was the same. When I open it with Photoshop, It failed and I got an exception "The compress algorithm used by the tif file is not supported". I also tried other Pdf utility(like iText). It also failed to convert it into pdf. I guess the tif file may be not generated correctly or corrupted.

    Best regards.

    Hans Zhang
    Product Developer
    Aspose Changsha Team
    About Us
    Contact Us
     
View as RSS news feed in XML