Page 1 of 1

ActiveX: the thumbnail quality is too bad

Posted: Wed Apr 02, 2014 4:27 am
by tuandv
I've been using GDPicture ActiveX for 3 years, I just upgraded to use GDPicture 10, but the quality of thumbnail is too bad, it looks good if I use GDPicture 5. Please help me to solve this issue.

var nImageID = MyImaging.CreateGdPictureImageFromFile("c:/image1.png");
var nThumbID = MyImaging.CreateThumbnail(nImageID, 46, 60);
MyImaging.SaveAsPNG(nThumbID, "c:/thumbnail.png");

Re: ActiveX: the thumbnail quality is too bad

Posted: Wed Apr 02, 2014 1:31 pm
by SamiKharma
Hi,

Please try using CreateThumbnailHQ instead.


Best,
Sami

Re: ActiveX: the thumbnail quality is too bad

Posted: Thu Apr 03, 2014 4:05 am
by tuandv
I already tried CreateThumbnailHQ but the same result :(

Re: ActiveX: the thumbnail quality is too bad

Posted: Fri Apr 04, 2014 12:27 pm
by tuandv
still waiting for the solution :(, 1 more note: it only happens with B/W image

Re: ActiveX: the thumbnail quality is too bad

Posted: Tue Apr 08, 2014 4:04 am
by tuandv
noone can help me? :(

Re: ActiveX: the thumbnail quality is too bad

Posted: Tue Apr 08, 2014 10:40 am
by SamiKharma
Hi,

Sorry for the delay, please use the overload:
int CreateThumbnailHQ(
int ImageID,
int Width,
int Height,
Color BackColor
)

Also, the values you provided for the thumbnail are too small to produce anything viable on bw images, please at least double the w and h.

Best,
Sami

Re: ActiveX: the thumbnail quality is too bad

Posted: Tue Apr 08, 2014 7:12 pm
by tuandv
did you try your HQ method with my image? how about the result? I already set 4 times bigger for h & w, it looks so urgly :(, can not compare with the last version (v5), the result of v5 looks so good, please remember that we are talking about activex component and bw tiff, I have to upgrade to v10 but in fact that i'm missing v5 so much

Re: ActiveX: the thumbnail quality is too bad

Posted: Tue Apr 08, 2014 7:19 pm
by tuandv
btw, I used this image as a sample 3 years ago,it worked well, why now you tell me it is too small :), i think this is a bug of activex component

Re: ActiveX: the thumbnail quality is too bad

Posted: Wed Apr 09, 2014 10:07 am
by Loïc
Hello there,

There is definitively an issue with this function... The issue will be solved withing the next minor release that will be published within four days.

Thank you for your patience.

With best regards,

Loïc

Re: ActiveX: the thumbnail quality is too bad

Posted: Mon Apr 14, 2014 9:22 am
by tuandv
please let me know when the release is available, I've just added another question for you about CreateGdPictureImageFromHTTP method :) general-discussions/cannot-create-image ... t4546.html

Re: ActiveX: the thumbnail quality is too bad

Posted: Mon Apr 14, 2014 6:29 pm
by Loïc
The new release is available. See: https://www.gdpicture.com/download.php

With best regards,

Loïc