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 - Rendering non-square DPI
  FAQ FAQ  Forum Search   Register Register  Login Login

Rendering non-square DPI

 Post Reply Post Reply
Author
Message
Eric24 View Drop Down
Team Player
Team Player
Avatar

Joined: 28 Jun 09
Location: Dallas, TX
Status: Offline
Points: 29
Post Options Post Options   Thanks (0) Thanks(0)   Quote Eric24 Quote  Post ReplyReply Direct Link To This Post Topic: Rendering non-square DPI
    Posted: 27 Jul 09 at 6:17AM
Currently, the render function supports a single DPI parameter, meaning that if I specify 200, I get a 200x200 DPI output (which works fine), but what if I want 203x196 (standard fax resolution)? Is there any way to specify a non-square DPI (i.e., X and Y of different values)?
Back to Top
DELBEKE View Drop Down
Debenu Quick PDF Library Expert
Debenu Quick PDF Library Expert
Avatar

Joined: 31 Oct 05
Location: France
Status: Offline
Points: 151
Post Options Post Options   Thanks (0) Thanks(0)   Quote DELBEKE Quote  Post ReplyReply Direct Link To This Post Posted: 27 Jul 09 at 6:38AM
The QickPdf libary can't do it.
I wonder why you want to do that.
What you ca do is render the pdf in a file or stream and use an other way to strech the bitmap on the display or printing device. You can use StretchBlt api, for example.

Edited by DELBEKE - 27 Jul 09 at 6:43AM
Back to Top
Eric24 View Drop Down
Team Player
Team Player
Avatar

Joined: 28 Jun 09
Location: Dallas, TX
Status: Offline
Points: 29
Post Options Post Options   Thanks (0) Thanks(0)   Quote Eric24 Quote  Post ReplyReply Direct Link To This Post Posted: 27 Jul 09 at 6:41AM
Well, the reason I'd want to do it is because a CCITT fax page is 203x196 DPI (for "hi res" faxes), not 200x200.
Back to Top
DELBEKE View Drop Down
Debenu Quick PDF Library Expert
Debenu Quick PDF Library Expert
Avatar

Joined: 31 Oct 05
Location: France
Status: Offline
Points: 151
Post Options Post Options   Thanks (0) Thanks(0)   Quote DELBEKE Quote  Post ReplyReply Direct Link To This Post Posted: 27 Jul 09 at 7:35AM
To send faxes, you need a spécial tif file (CITTG3), and our library can't produce tifs. So you have to use a specilized imaging library. Such libraries can modify the resolution X / Y  independantly .
Back to Top
Eric24 View Drop Down
Team Player
Team Player
Avatar

Joined: 28 Jun 09
Location: Dallas, TX
Status: Offline
Points: 29
Post Options Post Options   Thanks (0) Thanks(0)   Quote Eric24 Quote  Post ReplyReply Direct Link To This Post Posted: 27 Jul 09 at 8:05AM
Yes, that's understood. For my purposes, I don't want to directly send the output of the rendered PDF, so I don't need to go directly to CCITT TIFF, but it would still be nice to be able to adjust the X/Y resolution independently.
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