This Import statement : [DllImport(@lcms2Path)] public static extern void cmsDoTransform( [In] IntPtr xform, [In] byte[] InputBuffer, [Out] byte[] OutputBuffer, [In] UInt32 Size);
Und this function call : Byte[] Input = new byte[X]; Byte[] Output = new byte[X]; pixels = X; cmsDoTransform(xform, Input, Output, pixels); work!!!!!!!!! I tested X = 1024 and it still works -- arbeiten. For some reason, this code was not working before : Byte[] inputBitmapData = new Byte[stride * myBitmapFrame.PixelHeight]; myBitmapFrame.CopyPixels(inputBitmapData, stride, 0); Byte[] outputBitmapData = inputBitmapData.Clone() as Byte[]; What ist important is that ich bin making progress!!! Danke shön, Edgar / Roger ------------------------------------------------------------------------------ Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San Francisco, CA to explore cutting-edge tech and listen to tech luminaries present their vision of the future. This family event has something for everyone, including kids. Get more information and register today. http://sdm.link/attshape _______________________________________________ Lcms-user mailing list Lcms-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lcms-user