Hello,
I tried exporting a 100 page PDF document to TIFF image using ExportDocument command.
The functionality take about 2 seconds per page which is too slow for my purposes.
I am wandering if you could provide some code example for printing to TIFF image.
Thanks,
Tatiana
Printing to TIFF
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
-
- Site Admin
- Posts: 2448
- Joined: Thu Jun 30, 2005 4:11 pm
Re: Printing to TIFF
Which DPI you have used for exporting?I tried exporting a 100 page PDF document to TIFF image using ExportDocument command.
The functionality take about 2 seconds per page which is too slow for my purposes.
For printing to TIFF image you may specify:I am wandering if you could provide some code example for printing to TIFF image.
"Print.PrinterName" = <NameOfVirtualPrinterThatCanPrintToTIFF>
and use PrintDocument()...
PDF-XChange Co. LTD (Project Developer)
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
-
- User
- Posts: 103
- Joined: Mon Mar 18, 2013 4:26 pm
Re: Printing to TIFF
I tried with different DPI settings and the export is at the best 1 sec per page
So is there a way to print to TIFF if I do not have my own virtual printer that can print to image?
If not, can you recommend some other way to convert PDF to TIFF than by 'Image Export'?
Maybe by using your virtual print driver or dll...
Thanks,
Tatiana

So is there a way to print to TIFF if I do not have my own virtual printer that can print to image?
If not, can you recommend some other way to convert PDF to TIFF than by 'Image Export'?
Maybe by using your virtual print driver or dll...
Thanks,
Tatiana
-
- Site Admin
- Posts: 2448
- Joined: Thu Jun 30, 2005 4:11 pm
Re: Printing to TIFF
Hi, Tatiana.
Strange. May be your pdf-pages are very large(in dimensions) or content on them is too heavy and renders slowly... Can you provide simple example pdf and piece of code for reproducing?
Or you may try our Viewer Simple SDK. Look to:
PXCV_DrawPageToDIBSection()
- and then you may use any third-party library like GDI+ or DirectWrite to merge all images into one multipaged TIFF...
The Viewer Simple SDK is here:
https://www.pdf-xchange.com/product ... le-dll-sdk
https://www.pdf-xchange.com/product ... ge-pro-sdk
If you used the our PRO-SDK the you may use our Image X-Change SDK to make TIFF from rasterized pdf-pages.
https://www.pdf-xchange.com/product ... change-sdk
also it contains API for developers.
But I'm not sure that getting TIFF through printer will be faster than direct rendering..
HTH
Strange. May be your pdf-pages are very large(in dimensions) or content on them is too heavy and renders slowly... Can you provide simple example pdf and piece of code for reproducing?
Or you may try our Viewer Simple SDK. Look to:
PXCV_DrawPageToDIBSection()
- and then you may use any third-party library like GDI+ or DirectWrite to merge all images into one multipaged TIFF...
The Viewer Simple SDK is here:
https://www.pdf-xchange.com/product ... le-dll-sdk
https://www.pdf-xchange.com/product ... ge-pro-sdk
If you used the our PRO-SDK the you may use our Image X-Change SDK to make TIFF from rasterized pdf-pages.
It is possible to use our virtual printer:Maybe by using your virtual print driver or dll...
https://www.pdf-xchange.com/product ... change-sdk
also it contains API for developers.
But I'm not sure that getting TIFF through printer will be faster than direct rendering..
HTH
PDF-XChange Co. LTD (Project Developer)
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.