Scale Function problem

Discussions about image processing and document imaging.
Post Reply
Ezio
Posts: 16
Joined: Thu Apr 09, 2009 5:17 pm

Scale Function problem

Post by Ezio » Tue Dec 18, 2012 6:39 pm

Hi,
I'm writing an OCR application.
I use GDPicture 8.5.22 to cut portions of binary image and I enlarge 3 times the image using this following instruction

GDImaging.Scale(pImageID, 300,System.System.Drawing.Drawing2D.InterpolationMode.HighQualityBilinear);

In my computer all works fine, I get good image qulity and good OCR results.
When I install application on dfferent machine I get poor image quality, and I get bad OCR results.

I redist this GDPicture files :

Gdpicture.NET.dll
Gdpicture.NET.filters.dll
Gdpicture.NET.image.gdimgplug.dll
Gdpicture.NET.PDF.dll
Gdpicture.NET.barcode.1d.writer.dll

Can you help me to fix this problem?
Are you informed about this kind of problem?
Last question, Gdpicture Scale Function call external System.Drawing library functions?

The only difference between two computers are .net framework installed:

In my computer I have installed .Net framework 2.0 SP 2 and successive upgrade using Microsoft update utility
In Customer computer I put .Net 2.0 SP 2 but for security policy I can't upgrade using Microsoft update utility.

I did this try:
I saved images to a BMP file after scaling it using GdPicture Scale Function
I verify different quality, produced by each computer.
I modify my application to recognize form BMP files i saved.
On each computer I get same OCR result quality.
So I can say that the problems are related to the function Scale()

I'm sorry for the length of the post but I had to explain all the tests done.
Waiting for your help

Regards

Gabriela
Posts: 436
Joined: Wed Nov 22, 2017 9:52 am

Re: Scale Function problem

Post by Gabriela » Wed Jan 30, 2019 3:21 pm

Hi,

> Gdpicture Scale Function call external System.Drawing library functions?
The answer to this question is yes. It is obvious from the used parameter InterpolationMode.
http://guides.gdpicture.com/content/web ... Scale.html
Kind regards,

Gabriela
GdPicture Team

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests