This project has moved and is read-only. For the latest updates, please go here.

impossible to work in LAB since

May 7, 2016 at 10:43 PM
Ater updating the Magic.NET-Q16-AnyCPU to 7.0.101 (nuget), it is impossible to use LAB images as before or converting to LAB colorspace. I get always RGB values, when working in this colorspace. Before the update everything was working.

1.I tried to use LAB images from Photoshop.
  1. convert RGB by "img.ColorSpace = ColorSpace.Lab;"
  2. convert by a profile
The result is always RGB.

After updating i had to change the code for pixelcollection and density, but the rest was working. Is there also a change in color or handling lab?
May 7, 2016 at 11:10 PM
It seams to be related to the Pixelcollection.

If i clone the image it is working.

_PC = img.GetPixels();

MagickImage imgpreview = img.Clone();


But i do not update the PixelCollection later, so it is working for me, but looks more like a workaround.
May 8, 2016 at 7:39 AM
Can you try and see if using 'TransformColorSpace' helps you?