Problem generating thumbnail

Discussions about image processing and document imaging.
Post Reply
DMattner
Posts: 2
Joined: Thu Jul 31, 2014 4:50 pm

Problem generating thumbnail

Post by DMattner » Thu Jul 31, 2014 5:29 pm

Hi all,

the genration of the thumbnail is ok, no errors, status is OK and image id > 0. But the thumbnail is empty. Showing it in gdviewer or saving it to disk is the same => empty thumbnail. The image itself is displayed normally in gdviewer or other viewers. The version of gdpicture is 10.2.0.30. The image is scanned via memory transfer mode in black&white and saved as tiff with TiffCompressionCCITT4.

Where is the error?

Kind regards,
Dirk

Code: Select all

        static void Main(string[] args)
        {
            GdPicture10.GdPictureImaging gdp = new GdPicture10.GdPictureImaging();

            GdPicture10.LicenseManager lm = new GdPicture10.LicenseManager();
            lm.RegisterKEY("xxx");

            int id = gdp.CreateGdPictureImageFromFile(@"C:\temp\4b5859f9-ad3c-4446-81b8-d3d10b9a9002.tif");

            int tid = gdp.CreateThumbnail(id, 150, 220);

            gdp.SaveAsTIFF(tid, @"C:\temp\i.Cap plus\test\4b5859f9-ad3c-4446-81b8-d3d10b9a9002.thumb.tif", GdPicture10.TiffCompression.TiffCompressionCCITT4);

            gdp.ReleaseGdPictureImage(tid);
            gdp.ReleaseGdPictureImage(id);
        }
Attachments
4b5859f9-ad3c-4446-81b8-d3d10b9a9002.thumb.tif
With the submitted code generated thumbnail -> empty!
4b5859f9-ad3c-4446-81b8-d3d10b9a9002.thumb.tif (26.11 KiB) Viewed 4404 times
4b5859f9-ad3c-4446-81b8-d3d10b9a9002.tif
Scanned image -> not empty!
4b5859f9-ad3c-4446-81b8-d3d10b9a9002.tif (139.13 KiB) Viewed 4404 times

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

Re: Problem generating thumbnail

Post by SamiKharma » Sun Aug 03, 2014 10:52 am

Hi,

Thank you for pointing out the problem to us. While we work on it, please use the function CreateThumbnailHQ instead.

Best,
Sami

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

Re: Problem generating thumbnail

Post by SamiKharma » Thu Aug 14, 2014 12:36 pm

Hi,

The problem has been fixed and the release 10.2.33 - August 07th 2014 has the fix included.

Best,
Sami

DMattner
Posts: 2
Joined: Thu Jul 31, 2014 4:50 pm

Re: Problem generating thumbnail

Post by DMattner » Mon Aug 18, 2014 7:58 am

Hi,

the problem is solved, thank you.

Kind regards,
Dirk

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

Re: Problem generating thumbnail

Post by SamiKharma » Mon Aug 18, 2014 12:07 pm

Hi,

You are welcome.

best,
Sami

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests