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!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - Image quality settings in RenderToFIle
  FAQ FAQ  Forum Search   Register Register  Login Login

Image quality settings in RenderToFIle

 Post Reply Post Reply
Author
Message
francescogro View Drop Down
Beginner
Beginner


Joined: 29 Aug 12
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote francescogro Quote  Post ReplyReply Direct Link To This Post Topic: Image quality settings in RenderToFIle
    Posted: 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

Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3530
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
AndrewC View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 08 Dec 10
Location: Geelong, Aust
Status: Offline
Points: 841
Post Options Post Options   Thanks (0) Thanks(0)   Quote AndrewC Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
francescogro View Drop Down
Beginner
Beginner


Joined: 29 Aug 12
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote francescogro Quote  Post ReplyReply Direct Link To This Post 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.. :(
Back to Top
AndrewC View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 08 Dec 10
Location: Geelong, Aust
Status: Offline
Points: 841
Post Options Post Options   Thanks (0) Thanks(0)   Quote AndrewC Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store