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

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Wednesday, February 27, 2008 9:51:22 AM(UTC)

Whitey  
Whitey

Groups: Registered
Posts: 7


Hey All,
I'm trying to get a file in my Lead control to save as a valid .jpg.  I set a stdPicture object to a picture from a third party control.  I then use the set command in my Lead control to import it.  This works just fine.

The problem comes when I save it.  If I save it as a file_bmp, it's viewable, but it doesn't have any of the .jpg compression.  However, if I save as file_jpeg, the file saves and has about the right size, but I can't view it.

Any help would be greatly appreciated.

Noah White
 

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 : Wednesday, February 27, 2008 10:37:33 AM(UTC)

GregR  
GregR

Groups: Registered, Tech Support, Administrators
Posts: 764


What QFactor are you using when saving the JPEG?

What application(s) are you using to load the JPEG?

Can LEADTOOLS load the JPEG?

Most likely, you are saving the JPEG as lossless (QFactor < 2).  Windows and most other applications can NOT load lossless JPEGs, so you should save JPEGs with a QFactor between 2 and 255 if you want other applications to load them.
 
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-2020, Yet Another Forum.NET
This page was generated in 0.080 seconds.