Free Support Forum - aspose.com

Aspose pdf conversion failed to tiff

hi ,
we tried to convert the pdf file (Mac os x 10.12.5 quartz PDF context) to tiff format.using ASPOSE.pdf 17.7 version. The result is in black image.
The pdf file is uploaded.

@netadmin.edmamericas,

Kindly send us your source PDF and code. We will investigate your scenario and share our findings with you.

PDF file is attached, and below are line of code that convert PDF to TIFF. We need the format to be of type ‘CCITT4’.

using (Aspose.Pdf.Document pdfDocument = new Aspose.Pdf.Document(filePath))
{
Resolution resolution = new Resolution(200);
// Create TiffSettings object
TiffSettings tiffSettings = new TiffSettings();
tiffSettings.Brightness = 0.6f;

                tiffSettings.Compression = CompressionType.CCITT4;
                 tiffSettings.Depth = ColorDepth.Default;                    
                // tiffSettings.Shape = ShapeType.Landscape;
                tiffSettings.SkipBlankPages = false;
                tiffSettings.Depth = Aspose.Pdf.Devices.ColorDepth.Format1bpp;
                TiffDevice tiffDevice = new TiffDevice(resolution, tiffSettings);
                tiffDevice.Process(pdfDocument, tiffFile);
            }

@netadmin.edmamericas,

We could not find any PDF document attached to your posts. There is an upload button in the header of the post editor and after pressing this button, you can browse and upload the source PDF document. If the size of PDF document is more than 3MB, then please upload this file to any free file sharer server (e.g. Google drive) and then shares its download URL in the post.

hi ,

is there any free file sharer server available from aspose side ?
As our file size is more than 3 mb.

@netadmin.edmamericas,

There is no Aspose free file sharer server. You can use any free file sharer server, e.g. Google drive, OneDrive and Dropbox, and then share the download URL. Your response is awaited.

hi,

please find the pdf document in the given link.

https://drive.google.com/file/d/1g_zrYKcAZ6ur_wAMWnrzo7YA3inWpjV7/view

https://drive.google.com/file/d/1_zu28Fd1IM3nICAjB0oLO0GnZuN3_Jgb/view

@netadmin.edmamericas,

We have tested your source PDF documents with the latest version 18.2 of Aspose.PDF for .NET API and the output TIFF of John Gilmore_Redacted.pdf is fine ( Download metlife claim form 21705010421_Redacted_Out.zip (390 Bytes)). However, we managed to replicate the problem of blackish image with metlife claim form 21705010421_Redacted.pdf. It has been logged under the ticket ID PDFNET-44306 in our bug tracking system. We have linked your post to this ticket and will keep you informed regarding any available updates.

Thank you for the information.

hi,

when can we expect the output result. please advise.

@netadmin.edmamericas,

The linked ticket ID PDFNET-44306 is pending for the analysis and not resolved yet. Our product team will investigate as per their development schedules. It is difficult to share an estimate before the completion of the analysis phase. We will let you know once a significant progress has been made in this regard.

hi,
can i get an update on this issue.

@netadmin.edmamericas,

The linked ticket ID PDFNET-44306 is not resolved yet. It could take time because there are other high priority tickets in the queue and it is difficult for us to share an estimate before the completion of the analysis phase. Besides this, we recommend our clients to post their critical issues (or already logged ticket IDs) in the paid support forum. Please refer to this helping link: Aspose support options