Re: [Lcms-user] Upper limit cmsDoTransform
An ICC-based CMM for color management
                
                Brought to you by:
                
                    mm2
                    
                
            
            
        
        
        
    | 
      
      
      From: Noel C. <NCa...@Pr...> - 2016-07-10 00:44:03
      
     | 
| 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...@vi...]
Sent: Sat, July 9, 2016 8:18 PM
To: lcm...@li...
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
Lcm...@li...
https://lists.sourceforge.net/lists/listinfo/lcms-user
 |