Hi Marti, Thanks for your reply. Will this method be more efficient than the manual conversion that I am already doing before and after calling cmsDoTransform()?
> On May 21, 2014, at 6:42 PM, marti.ma...@littlecms.com wrote: > > > Hi, > > > Quoting Terence Tay <terence...@gmail.com>: > >> Is it possible to tell LCMS to work in the range of 0..32768 directly >> without requiring a conversion? > > Yes, but you have to write some code. Take a look on the formatters Plug-in, > on the plug-in API documentation. Basically you have to write a function > capable to decode a single pixel to 16 bit or floating point internal lcms > representation. Then you register that function. Lcms then uses your function > to decode the buffers. With this approach all formats can be supported. > > Regards > Marti ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ Lcms-user mailing list Lcms-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lcms-user