This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Friday, June 17, 2005 7:27:56 AM(UTC)
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?
#2
Posted
:
Friday, June 17, 2005 9:56:23 AM(UTC)
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.
#3
Posted
:
Monday, June 20, 2005 12:28:01 AM(UTC)
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.