Do you have 1 byte per pixel?

Not likely.  More like 4, right?  Now think about your allocation
numbers...

-Noel

-----Original Message-----
From: Roger Breton [mailto:gr...@videotron.ca]
Sent: Sat, July 9, 2016 8:18 PM
To: lcms-user@lists.sourceforge.net
Subject: [Lcms-user] Upper limit cmsDoTransform

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



------------------------------------------------------------------------------
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

Reply via email to