ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder
ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 WPTools PDF quality a bit on the side
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

BillM

USA
7 Posts

Posted - Feb 07 2019 :  20:10:09  Show Profile  Reply
I use ImageEn to scan documents in at 300dpi. I save the images to a PDF file and everything looks great and the PDF prints wonderfully.

I need to merge some PDF files into a single file so I am testing WPViewPDF and when opening the PDF file, the quality is nothing like what is seen when opening the PDF in a reader.

Is there a way to improve the quality of the image when loading?

I modified the WPViewPDF_ReadImageStream procedure to force 300dpi and it didn't appear to make any difference in the quality.

Does anyone know if the demo version of WPViewWP is different than the full licensed copy? All I got out of WPTools was as follows:

The size of the image created by makeimage can be configured.
Maybe the bitmap is too small.
While it is possible to create bitmap at 300dpi, that will be huge.

xequte

4651 Posts

Posted - Feb 08 2019 :  04:42:24  Show Profile  Reply
Hi

Can you please attach an example PDF file...



Nigel
Xequte Software
www.imageen.com
Go to Top of Page

BillM

USA
7 Posts

Posted - Feb 08 2019 :  18:27:30  Show Profile  Reply
I didn't print the imported PDF after I made the changes to the DPI and only looked at the view where it was appearing the quality was that same as the first attempt.

After printing with the new settings, it looks great.

Thanks for looking and the offer to help.
Go to Top of Page

wpsupport

Germany
7 Posts

Posted - Feb 12 2019 :  03:02:57  Show Profile  Reply
I was on the road, therefor I was not able to send you more detailed information.

PDF dies not contain information on the dpi the information stored on a page. A PDF page uses 72 dpi to specify the coordinates.

With the makeimage you can specify the rendering resolution. With the imageen interface that values are passed in the properties
IOParams.fDpiX
IOParams.fDpiY

Larger values will create more details bitmaps which are also larger.

Regards,
Julian Ziersch / WPTools Support

WPCubed Support
Go to Top of Page

BillM

USA
7 Posts

Posted - Feb 12 2019 :  13:36:27  Show Profile  Reply
Thanks Julian. Since I control the creation of the original PDF's in this situation, I actually modified the WPViewPDF_ReadImageStream method and set the resolution there as well as each images IOParams.fDpiX and IOParams.fDpiY properties as this is a multipage PDF.

Setting the imagemen properties happened after the page was read and it wasn't appear to help. Again, I should have printed the documents and examined them after setting the imagemen properties to determine the quality.

The tools worked and I will be ordering it.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To: