Converting ICO to multipage TIF or PDF without OCR Issue

General discussions about GdPicture.NET.
User avatar
dreynolds
Posts: 43
Joined: Thu Oct 29, 2009 4:07 pm
Location: King of Prussia, PA, USA
Contact:

Re: Converting ICO to multipage TIF or PDF without OCR Issue

Post by dreynolds » Wed Dec 02, 2009 6:41 pm

Good news! There is no problem in GdPicture.NET. Just like you suspected, it was a mistake in my code.

I had declared the variable that held the width for the PdfNewPage() and PdfDrawImage() methods correctly as a single, but I declared the height as an integer by mistake!

It wasn't a problem with the other image types because the sizes of the images were large enough to round up to something greater than 0. The icons were failing because they were less than .5 inches in height and rounded down to 0. This caused the odd sized blank pages.

One tiny typo in 10,000 lines of code caused that problem. Sorry for the inconvenience and thanks for your patience.

Great job on the version 6.5.0. I look forward to future enhancements!

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest