Welcome Guest! To enable all features, please Login or Register.



Last Go to last post Unread Go to first unread post
#1 Posted : Tuesday, February 14, 2006 11:32:02 PM(UTC)


Groups: Registered
Posts: 6


I am using LEADTOOL OCX version 12.1.

I am having problem in loading and displaying  image which is less than 96 X 96 pixels size (in any format like .jpg, .bmp., etc)

If the image size is less than 96 by 96 pixels size. Even if any one side, either height or Width is less than 96 pixels. It shrinks after i load and display the image. I am not getting any Error. Problem is image shrinks (almost invisible)

Programaticall i tried to set the size after loading the image to 96 OR heigher using the API size()

m_cLead.Size((float)(96),(float)(96), RESIZE_NORMAL);

It works properly.

All i want to do is Load, Copy and  Paste the image

Below one won't Work

m_cLead.Size((float)(95),(float)(95), RESIZE_NORMAL);  OR

m_cLead.Size((float)(150),(float)(95), RESIZE_NORMAL);

Any hints ?

Thanks in advance.


Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Thursday, February 16, 2006 7:02:15 AM(UTC)


Groups: Manager, Tech Support
Posts: 367

Was thanked: 1 time(s) in 1 post(s)

I tried the following code on the attached image:
LEAD1.Load "small2.bmp", 0, 1, 1
The image loaded correctly.
Please try it and if it works correctly, post one of the images that don't work (put it in a ZIP file first).

If it doesn't work, check the version info of your LEADTOOLS files. If
their build is less than, download the latest patches from our support site and apply them.

File Attachment(s):
small2.zip (1kb) downloaded 37 time(s).
Amin Dodin

Senior Support Engineer
LEAD Technologies, Inc.
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.134 seconds.