Print Page | Close Window

RenderPage - PixelFormat - size

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=1287
Printed Date: 02 Feb 26 at 4:01PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: RenderPage - PixelFormat - size
Posted By: breukel
Subject: RenderPage - PixelFormat - size
Date Posted: 04 Dec 09 at 10:35AM
Hello,
 
i am using RenderPageToString for finally outputing a TIF File.
It works fine - but the images are even with LZW Compression extremly large (>500K a page).
 
The pixelformat of the created BMP or TIF is 32bpp and for my need 4bpp would be enough.
 
How can I set the output pixelformat ?
 
Thanks for any hints..
 
Michael



Replies:
Posted By: Ingo
Date Posted: 04 Dec 09 at 11:44AM
Hi Michael!

You should reduce the value for "dpi".
I think this will have the result you want.

Cheers and welcome here, Ingo


Posted By: breukel
Date Posted: 04 Dec 09 at 11:48AM
Hi Ingo,
thanks for the hint.
That would reduce the file size - but also the quality. As I only have monchrome PDF I do not need 32 pits per pixel for colors.
 



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk