This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Friday, March 7, 2008 12:41:02 AM(UTC)
Groups: Registered
Posts: 21
Hello, i'm using Leadtools 15 with C# language. I have the same problem as posted before.
An Image Not Compatible GDI+ exception appears sporadicaly when we try to and i don't know exactly which kind of images causes this problem.
I found this type of exception :
Image is not GDI+ compatible
à
Leadtools.RasterImage.ChangeToGdiPlusImage(ChangeToGdiPlusImageFlags flags)
à Leadtools.RasterImage.CreateGdiPlusGraphics()
...
Leadtools
System.Drawing.Image
ChangeToGdiPlusImage(Leadtools.ChangeToGdiPlusImageFlags)
***
I try Make an image GDI+ Compatible if it's not compatible, and i discovered this error that can provide from a specific image type.
First, can you tell me the image type could cause this exception ?
Do you think it can be a problem due to the version of DLL used (Leadtools.dll 15.0.0.27) ?
Thank you
#2
Posted
:
Sunday, March 9, 2008 6:47:58 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
Microsoft GDI+ supports some types of images, such as 1-bit, 4-bit, 8-bit and 24-bit.
LEADTOOLS supports additional image types that GDI+ does not support directly, such as 3-bit and 7-bit color, and 12-bit grayscale.
This error usually happens if you try to convert a LEAD image to a GDI+ image, but the image type is only supported by LEADTOOLS and not by GDI+.
What is the exact line of code that triggers the problem? Also, do you have a sample source image that triggers it?
Edited by moderator Thursday, October 27, 2016 2:45:25 PM(UTC)
| Reason: Not specified
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.