Re: [Lcms-user] First steps and some questions

2012-09-28 Thread Marti Maria
Ah, yes, Qt uses a quite particular layout. When they say "RGBX" they mean not the memory organization but an uint32 containing the pixel. Then, since x86 is little endian, channels got swapped. I was tricked with that as well. Just create a QImage with rgb 1, 2,3 and examine the memory to

Re: [Lcms-user] First steps and some questions

2012-09-28 Thread Ive
Am 28.09.2012 12:04, schrieb Andreas Rettig: > Yes, I'm using ACE, and I tried all sRGB profiles I could find. As far > as I know, PS is using the sRGB profiles in > /System/Library/ColorSync/Profiles. ampel.icc is extracted from the > jpg with extracticc. I tried both in Photoshop, the embedded

Re: [Lcms-user] First steps and some questions

2012-09-28 Thread Andreas Rettig
> Something is different in your setup. Is your ampel.icc identical to the > embedded profile? Is "sRGB Profile.icc" same as the canonical "sRGB Color > Space Profile.icm" used by photoshop? Are you using ACE as color engine in > photoshop? Yes, I'm using ACE, and I tried all sRGB profiles I c

Re: [Lcms-user] First steps and some questions

2012-09-28 Thread Andreas Rettig
Hi Marti, even with that parameter set, the colors are different. Absolute colorimetric was just one Intent I tried, but it was the same problem with all the other intents. There is always much more red in the lcms-version. Here is a comparison with INTENT_RELATIVE_COLORIMETRIC. https://www.dr

Re: [Lcms-user] First steps and some questions

2012-09-27 Thread Marti Maria
Hi, Just add cmsSetAdaptationState(1.0) at the begin of your code to get same results as photoshop. BTW, are you using recent versions of lcms?... that should be the default right now. The reason why this fix the issue is somehow complicated. ICC even published a note on that http://color

Re: [Lcms-user] First steps and some questions

2012-09-27 Thread Andreas Rettig
Thanks a lot for help! When I convert with Photoshop to sRGB / Absolute Colorimetric, I get different colors than I get from lcms. Example: At xy(268, 190) I get RGB(0,163,77) in Photoshop, but RGB(77, 164, 1) in lcms. Both images are opened in Photoshop for picking the colors. I noticed the co

Re: [Lcms-user] First steps and some questions

2012-09-27 Thread Marti Maria
http://www.colormanagement.org/download_files/basICColor_CM-Ampel.jpg >> Especially these grids at the borders have very different colors. The guys that have done this test are using a perception trick which I found to be truly amazing. Open this image in PhotoShop and move the image across th

Re: [Lcms-user] First steps and some questions

2012-09-27 Thread Marti Maria
Hi Andreas, I have tested your image with PS CS4 and get 1 digital count of deviation of PhotoShop, which is due to the way different CMM do rounding. I can see no differences in color. Could you please detail the steps you follow to get different results? Thanks Marti. El 27/09/2012 19:3

[Lcms-user] First steps and some questions

2012-09-27 Thread Andreas Rettig
Hello, I'm trying to make my first steps with LCMS and build a very simple application to get familiar with everything. All I want to do is transform a RGB-Jpeg from a special input profile to sRGB and produce the same results I get when I do exactly the same in Photoshop. I'm using that image