|
|
Rank: Member Groups: Member
Joined: 9/26/2007 Posts: 3 Points: 3
|
I can convert 8 bit TIFF image without any problem using ConvertToContinuous, but when I try the same code with a 16 bit TIFF image, I get an unexpected exception asnd I am asked to contact Aurigma's support... If I try to dispose of the image after that, everything freezes. And yes, I do have IsExtended as true in the function.
|
|
Rank: Advanced Member Groups: Administration
, Member
Joined: 1/31/2005 Posts: 386 Points: 403
|
Hello, I've tried the following code with the latest release: Code:
Aurigma.GraphicsMill.Bitmap bmp = new Aurigma.GraphicsMill.Bitmap();
bmp.Load(@"x:/allformats/64bppArgb.tif");
bmp.ColorManagement.ConvertToContinuous(
Aurigma.GraphicsMill.ColorSpace.Cmyk,
bmp.HasAlpha,
bmp.IsExtended);
bmp.ColorManagement.ConvertToContinuous(
Aurigma.GraphicsMill.ColorSpace.Rgb,
bmp.HasAlpha,
bmp.IsExtended);
bmp.ColorManagement.ConvertToContinuous(
Aurigma.GraphicsMill.ColorSpace.GrayScale,
bmp.HasAlpha,
bmp.IsExtended);
bmp.ColorManagement.ConvertToContinuous(
Aurigma.GraphicsMill.ColorSpace.Cmyk,
bmp.HasAlpha,
bmp.IsExtended);
bmp.ColorManagement.ConvertToContinuous(
Aurigma.GraphicsMill.ColorSpace.GrayScale,
bmp.HasAlpha,
bmp.IsExtended);
It works as it should. So, the problem is more complicated. Could you post here (or submit case) code sample which reproduces the problem and test TIFF file?
Best wishes, Alex.
|
|
Rank: Advanced Member Groups: Administration
, Member
Joined: 8/3/2003 Posts: 510 Points: 360
|
Hello,
We worked out the problem. The exception was thrown if you convert an image with extended pixel format (16 bits per channel) to another pixel format using color management. The problem is resolved in the current release 4.5.17. You can download it from our site.
Sincerely yours, Dmitry Sevostjanov.
|
|
|
Guest |