This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Tuesday, February 14, 2006 11:32:02 PM(UTC)
Groups: Registered
Posts: 6
Hi,
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.
#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)
Murthy,
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 12.1.0.61, download the latest patches from
our support site and apply them.
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.