> Does this code actually work for you?
Yes is does.
Perhaps I should have mentioned that you need at least .Net 4
In 3.5 it's available but does not work...
(s.
https://social.msdn.microsoft.com/Forums/en-US/be7ad7d6-972f-4a39-ae90-55660d66c561/iccprofildaten-via-colorcontext?forum=wpfde)
The s
Edgar,
You wrote :
> // create lcms inputprofile
> IntPtr inputProfileH = IntPtr.Zero;
>I f (biFrm.ColorContexts != null) {
> byte[] inputProfile =
> StreamToArray(biFrm.ColorContexts[0].OpenProfileStream());
> inputProfileH =
> Basic.Lcms.NativeMethods.cmsOpenProfileFromMem(inputPro
> If I could develop my application strictly in C, my problems accessing
> LittleCMS would be non-existent,
> but I need to develop in C# :(
Working with C# is not too bad!
>[...]
> cmsDoTransform(cmsHTRANSFORM Transform, const void * InputBuffer,
> v
If I could develop my application strictly in C, my problems accessing
LittleCMS would be non-existent,
but I need to develop in C# :(
I am seeking help with re-coding the cmsDoTransform declaration.
Right now, I use this :
[DllImport(@lcmsPath, CallingConvention = CallingConvention.Winapi)]
s
Hi Roger,
I'm not a c# expert, but your code seems fine. I guess the problem is
elsewhere...
Regards
Marti Maria
The LittleCMS project
http://www.littlecms.com
-Original Message-
From: Roger Breton [mailto:gr...@videotron.ca]
Sent: jueves, 16 de junio de 2016 21:25
To: lcms-user@lists.
Did you declare input[] and output[] as volatile?
(s. https://msdn.microsoft.com/de-de/library/x13ttww7.aspx)
Edgar
Am 16.06.2016 um 21:25 schrieb Roger Breton:
> Tengo una pequena problema...
>
> I need to convert 400 RGB values to Lab using a monitor profile.
>
> I use the following C# code :