Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!
![]() |
Image quality settings in RenderToFIle |
Post Reply
|
| Author | |
francescogro
Beginner
Joined: 29 Aug 12 Status: Offline Points: 2 |
Post Options
Thanks(0)
Quote Reply
Topic: Image quality settings in RenderToFIlePosted: 29 Aug 12 at 5:11PM |
|
Hello, I have a problem..
I need to convert a PDF file to TIFF images, keeping the size as low as possibile. With an older library, I used to set options like greyscale images (instead of RGB), just 4 bits of color depth.. Can I set these options in QuickPdf? I didn't find anything.. Thanks a lot |
|
![]() |
|
Ingo
Moderator Group
Joined: 29 Oct 05 Status: Offline Points: 3530 |
Post Options
Thanks(0)
Quote Reply
Posted: 29 Aug 12 at 7:57PM |
|
Hi Francesco!
Have a look in the online reference... There are all options for RenderPageToFile listed: http://www.quickpdflibrary.com/help/quickpdf/RenderPageToFile.php There's a "memory smart" DARenderPageToFile, too ;-) I think a few tries from your side and you'll have it. Cheers and welcome here, Ingo |
|
![]() |
|
AndrewC
Moderator Group
Joined: 08 Dec 10 Location: Geelong, Aust Status: Offline Points: 841 |
Post Options
Thanks(0)
Quote Reply
Posted: 30 Aug 12 at 8:04AM |
|
QPL can currently only output 24bit LZW TIFF's or 1 bit Group 4 TIFF's. There are no other options currently available. I would suggest using a library such as LibTIFF to convert and downscale the image to the required quality. Another option is to use GDI+ directly to perform the conversion.
There a many different types conversion filters and parameters to support and this is better handled with a quality graphics library such as GDI+ or LibTIFF. Andrew.
|
|
![]() |
|
francescogro
Beginner
Joined: 29 Aug 12 Status: Offline Points: 2 |
Post Options
Thanks(0)
Quote Reply
Posted: 04 Sep 12 at 11:44AM |
|
Thanks..
@Ingo: I usually look in the Reference Manuals before asking in forums.. I just didnt' find anything. @AndrewC: sadly, GDI+ crashes on WinXp and Win2003 server while using the bitmap.save method. I will try some other components.. By the way, it's weird QP doesn't give more exporting options.. :(
|
|
![]() |
|
AndrewC
Moderator Group
Joined: 08 Dec 10 Location: Geelong, Aust Status: Offline Points: 841 |
Post Options
Thanks(0)
Quote Reply
Posted: 04 Sep 12 at 12:32PM |
|
We have many customers using GDI+ with Windows XP and Server 2003 without problems. GDI+ on XP doesn'tt support all available TIFF formats. G4 Tiff export is only available when using GDI+ with Vista, XP, Server 2008. If you posted the code you are using as well as the PDF you were trying to export to a BMP file then we might be able to work out why it is crashing ? Which version of QPL were you using ? It might be easiest to create a support ticket to http://www.quickpdflibrary.com/support/support-query.php and then attach the files when you get a ticket number. Quick PDF Library can export to 10 different formats. QPL is primarily a PDF library and not a specialised graphics library. If we wanted to support every different type of image format, type, dithering mode etc then it would require a lot of work and customers would be continually asking for more complex options. GDI+ doesn't support all the required options either. We also need to keep the overall size of the library down. If we had to link in with LibTIFF, LibPNG, LibJPEG ... then the library would be much larger. Andrew
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store