TIFF Output not working

The Amyuni PDF Converter is our Printer Driver that enables you to convert any documents to PDF format. If you have any questions about installing and using the Amyuni PDF Converter please post them here.
Post Reply
dhoerner
Posts: 6
Joined: Tue Oct 25 2016

TIFF Output not working

Post by dhoerner »

Hi at all,

we have been using Amyuni in our product for a number of years and currently we're using version 5.5 driver.

We are now finding that when requesting to print files in TIFF format, Windows Photo Viewer is complaining "Windows Photo Viewer can't open this picture because the file appears to be damaged, corrupted or is too large". The generated files has a size of about 100MB. Irvan View can open the picture but only shows a red background.

Looking at our code we are doing following:

Code: Select all

SetPrinterParamInt(dc, "TIFF Options", 16);
SetPrinterParamInt(dc, "TIFF Resolution", 3);
SetPrinterParamInt(dc, "TIFF Optimization", 1);
Printing to pdf/jpeg/rtf works as expected.

Does anyone have any ideas why this is not working?

Thanks and Best Regards
Daniel
Jose
Amyuni Team
Posts: 553
Joined: Tue Oct 01 2002
Contact:

Re: TIFF Output not working

Post by Jose »

Hello,

Not being able to view an uncompressed or jpeg compressed color TIFF file is a limitation of the windows tiff viewer and not our product.

If look at other tiff viewers (ex: Brava viewer), they can handle these types of images correctly.
http://www.bravaviewer.com/download-brava-reader

Thanks
Get PDF Suite, the expert .NET developer toolkit for PDF conversion, creation and editing - www.amyuni.com/pdfsuite
dhoerner
Posts: 6
Joined: Tue Oct 25 2016

Re: TIFF Output not working

Post by dhoerner »

Hi,

also Brava viewer is not able to view the TIF image correctly. Any other tipps?

Best Regards
Jose
Amyuni Team
Posts: 553
Joined: Tue Oct 01 2002
Contact:

Re: TIFF Output not working

Post by Jose »

Hello,

This is very odd.

Can you please send your PDF and TIFF files to support@amyuni.com? We will take a look at this and post our findings.

Thanks
Get PDF Suite, the expert .NET developer toolkit for PDF conversion, creation and editing - www.amyuni.com/pdfsuite
Jose
Amyuni Team
Posts: 553
Joined: Tue Oct 01 2002
Contact:

Re: TIFF Output not working

Post by Jose »

Hello,

Thank you for sending the TIFF file and this is what we found.

Windows Viewer has poor support for TIFF images other than CCITT or 256-color LZW compressed images. The generated TIFF is viewing properly with TIFF viewers such as IRFAN View and Amyuni PDF Creator and therefore is a valid TIFF.

We recommend that the customer uses the 256-color LZW compression that is activated by setting :
PDF.SetPrinterParamInt("TIFF Options", 17);

Thanks
Get PDF Suite, the expert .NET developer toolkit for PDF conversion, creation and editing - www.amyuni.com/pdfsuite
dhoerner
Posts: 6
Joined: Tue Oct 25 2016

Re: TIFF Output not working

Post by dhoerner »

That fixed it!

But Option "17" is not documented! (https://www.amyuni.com/WebHelp/Amyuni_D ... ramInt.htm)
Post Reply