The following code works : Byte[] Input1 = new byte[6500]; Byte[] Output1 = new byte[6500]; UInt32 pixels = 6500; cmsDoTransform(xform, Input1, Output1, pixels);
But anything above 6500 pixels resulted in MemoryAccessViolations. I can't possibly have to break an image down into 6500 bytes chunks, in order to process its color? There has to be a better way? / 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