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 : Friday, June 17, 2005 7:27:56 AM(UTC)

r.dozzo  
r.dozzo

Groups: Registered
Posts: 7


I'm using Leadtools 12.1. Here is the problem. when I try to save an image as a 1 bit CMP file, I get an error (-16 feature not supported).  The same image can be saved as CCITT Group4 (FILE_CCITT_GROUP4) without error.

Here is the API (VC6SP5)

res = L_SaveBitmap(fName,
&hImgInfo->hBitmap,
hImgInfo->iSaveFormat, // 26
hImgInfo->iSaveBits, // 1
hImgInfo->iSaveQFactor, // -4
NULL)
With this parameters, res is -16


if hImgInfo->iSaveFormat is (for example) 29, function returns 1.

Any suggestions?

 

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 : Friday, June 17, 2005 9:56:23 AM(UTC)

Gabe  
Gabe

Groups: Registered, Tech Support
Posts: 46


Thank you for your support of LEAD and LEADTOOLS.

This error is typically returned when you try to save a file to a format that you are missing the appropriate LF???12?.dll. For CMP 1 bit, that would be either LFLMB or LFLMA. To determine which one to use in your applicaton, you need refer to the LEADTOOLS Main DLL API documentation under Files to be Included with your application. Or you could include each one and see which one it needs.

Hope this helps,

Gabriel Smith
LEAD Technologies, Inc.

Gabe
Developer Support
LEAD Technologies, Inc.

LEAD Logo
 
#3 Posted : Monday, June 20, 2005 12:28:01 AM(UTC)

r.dozzo  
r.dozzo

Groups: Registered
Posts: 7


Thanks. That solved the problem. I guess I have missed something searching through the help file...

 
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.052 seconds.