ActiveX: the thumbnail quality is too bad

Discussions about document viewing.
Post Reply
tuandv
Posts: 14
Joined: Fri Dec 03, 2010 11:43 am

ActiveX: the thumbnail quality is too bad

Post by tuandv » Wed Apr 02, 2014 4:27 am

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");
Attachments
thumbnail.png
thumbnail.png (100 Bytes) Viewed 11120 times
image1.tiff
image1.tiff (51.71 KiB) Viewed 11120 times

SamiKharma
Posts: 352
Joined: Tue Sep 27, 2011 11:47 am

Re: ActiveX: the thumbnail quality is too bad

Post by SamiKharma » Wed Apr 02, 2014 1:31 pm

Hi,

Please try using CreateThumbnailHQ instead.


Best,
Sami

tuandv
Posts: 14
Joined: Fri Dec 03, 2010 11:43 am

Re: ActiveX: the thumbnail quality is too bad

Post by tuandv » Thu Apr 03, 2014 4:05 am

I already tried CreateThumbnailHQ but the same result :(

tuandv
Posts: 14
Joined: Fri Dec 03, 2010 11:43 am

Re: ActiveX: the thumbnail quality is too bad

Post by tuandv » Fri Apr 04, 2014 12:27 pm

still waiting for the solution :(, 1 more note: it only happens with B/W image

tuandv
Posts: 14
Joined: Fri Dec 03, 2010 11:43 am

Re: ActiveX: the thumbnail quality is too bad

Post by tuandv » Tue Apr 08, 2014 4:04 am

noone can help me? :(

SamiKharma
Posts: 352
Joined: Tue Sep 27, 2011 11:47 am

Re: ActiveX: the thumbnail quality is too bad

Post by SamiKharma » Tue Apr 08, 2014 10:40 am

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

tuandv
Posts: 14
Joined: Fri Dec 03, 2010 11:43 am

Re: ActiveX: the thumbnail quality is too bad

Post by tuandv » Tue Apr 08, 2014 7:12 pm

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

tuandv
Posts: 14
Joined: Fri Dec 03, 2010 11:43 am

Re: ActiveX: the thumbnail quality is too bad

Post by tuandv » Tue Apr 08, 2014 7:19 pm

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

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: ActiveX: the thumbnail quality is too bad

Post by Loïc » Wed Apr 09, 2014 10:07 am

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

tuandv
Posts: 14
Joined: Fri Dec 03, 2010 11:43 am

Re: ActiveX: the thumbnail quality is too bad

Post by tuandv » Mon Apr 14, 2014 9:22 am

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

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: ActiveX: the thumbnail quality is too bad

Post by Loïc » Mon Apr 14, 2014 6:29 pm

The new release is available. See: https://www.gdpicture.com/download.php

With best regards,

Loïc

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest