This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Sunday, October 2, 2011 8:06:47 PM(UTC)
Groups: Registered
Posts: 71
Hi,
I am converting dicom image to bmp image using
Image im=cell.GetCellImage();
im.Save(@"C:\test.bmp");
After converting it i am trying to load the same image using
RasterCodecs codecs = new RasterCodecs();
RasterImage image = codecs.Load(@"c:\test.bmp", 0, CodecsLoadByteOrder.BgrOrGray, 1, 1);
But codecs.load method showing error i.e invalid file format.
Can you please check where's the problem?
Thanks......
#2
Posted
:
Monday, October 3, 2011 4:56:09 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
Invalid file format' error messages are normally generated due to a missing DLL file which is required to load specific image format. For example, if you to load BMP image file, you need to add reference or deploy the Leadtools.Codecs.Bmp.dll file. And include it in your application EXE folder.
Please refer to the help topic "Files to be Included with Your Application" to know what DLLs you need to add to your application.
If adding reference to the BMP codec DLL does not solve the problem, please send an email to
support@leadtools.com with the following details:
1- Your LEADTOOLS toolkit serial number. (Do NOT post it here)
2- A sample BMP file in a ZIP or RAR archive so I can check it for you.
3- A link to this forum post.
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.