Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Thursday, January 11, 2007 7:11:49 AM(UTC)
ildarkhanov

Groups: Registered
Posts: 1


I have an application which gets TIFF file as input and produces PDF file out of it.

Sample page in TIFF file has these properties
Image Length: 2200pixels (11.00inch)
ImageWidth: 1696pixels(8.48inch)
Resolution(X): 200dpi
Resolution(Y): 200dpi

When PDF is produced. that page has following size:
23.56in X 30.56 in. - almost in 3x3 times larger.

I'm using LEadTools SDK v.14
RasterID.Save (RasterLead, m_PDFFullPath, 149, 1, LTRASTERIOLib.QFactorConstants.QFACTOR_LEAD_0, 1)

how can I get same size of the page in a PDF as it is in original TIFF?
What aprameters should I specify and for what object?

Thank,
Ildar
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Sunday, January 14, 2007 6:57:31 AM(UTC)

Amin  
Amin

Groups: Manager, Tech Support
Posts: 367

Was thanked: 1 time(s) in 1 post(s)

Ildar,
Set the RasterIO.PDFSaveUseDPI property to True to use the bitmap's DPI in calculating page dimensions when saving a PDF file.

Amin Dodin

Senior Support Engineer
LEAD Technologies, Inc.
LEAD Logo
 
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.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.103 seconds.