Hi > as you said, the lcms output is like the "ink black" > setting in Photoshop. since we are not using that > setting, i am wondering how can i disable that >default setting in lcms?
This is indeed a recurrent topic, that is, to which extent lcms should be regarded as a "Photoshop clone" on color management. And hope all you don't blame me for that, but the response is: no, it isn't. Photoshop does weird things on softproof. I don't doubt the usefulness of Photoshop "emulate white paper", "discount ink black" and so, but I didn't implement all that. Just because, well, these are Photoshop features, not described in ICC spec. The intention of softproof, at least in lcms, is provide an on-screen emulation of what is going to be printed. So, this is including all changes. The only setting available is the proofing intent, which means how to represent this emulation on proofing device. Iif using abs. colorimetric, you should be able to emulate paper white too. And that works, at least in my testing. I tried to emulate unprinted SWOP paper, as viewed under a D50, and the result was pretty close ( I used another printer as proofer). Besides, on correct profiles, perceptual + BPC makes no sense, since the perceptual intent already includes black scaling. But not all profiles around here are correct. Anyway lcms can apply BPC and still, the results are practically same than Photoshop. Regards, Marti. ----- Original Message ----- From: H. Holtij To: Marti Maria Cc: [EMAIL PROTECTED] Sent: Saturday, May 29, 2004 1:31 AM Subject: Re: [Lcms-user] proofing lcms vs photoshop thanks for your answer, marti. with "ink black" checked it does indeed look like the photoshop output. however, i spoke again to our "printer-guys" and they do NOT have that checked in photoshop. they use the INTENT_PERECPTUAL and the only other thing checked is the blackpoint compensation. as you said, the lcms output is like the "ink black" setting in photoshop. since we are not using that setting, i am wondering how can i disable that default setting in lcms? regards, h On Fri, 28 May 2004 12:01:47 +0200, Marti Maria wrote: > > Hi, > >> i am seeing a clear difference between proofing in photoshop >> compared >> to lcms. > > Ok, there are a few settings to adjust. First, lcms allows proofing > intent, which > must me set to relative colorimetric to mimic photoshop (tifficc > toggle -m1) > And then, photoshop has "paper white", "black ink" and "preserve > numbers". > > The softproofing done by lcms is same as you were using "black ink" > only. > This should give you practically same results as photoshop in all > but absolute > colorimetric intent. There is a bug in that latter, which has > passed unnoticed > because this combination is rarely used. To fix it, add following > lines at the > very beginning of _cmsComputeSoftProofLUT (file is cmsgmt.c) > > if (nIntent == INTENT_ABSOLUTE_COLORIMETRIC) > nIntent = INTENT_RELATIVE_COLORIMETRIC; > > I will incorporate this change in next revision, but not in 1.13 > because > obvious reasons. > > lcms, as photoshop, does not rely on preview tags, since most > profiles > have this information broken. Instead, it computes the preview on > its own, > using the AToBx/BToAx tags. > > Regards, > Marti Maria > The little cms project > http://www.littlecms.com > > ----- Original Message ----- > From: H. Holtij > To: [EMAIL PROTECTED] > Sent: Wednesday, May 26, 2004 1:13 PM > Subject: [Lcms-user] proofing lcms vs photoshop > > > hi, > > i am seeing a clear difference between proofing in photoshop > compared > to lcms. > i have a tif image (TYPE_BGRA_8) and i want to proof it with a > printer > profile. the image has no profile attached, so i am using the > standard > sRGB. output device is my monitor so i am using the appropriate > profile for it (profile is setup in winxp). > > i wrote the following short code snippet to test the proofing with > lcms: > > > cmsHPROFILE hInProfile=NULL, hOutProfile=NULL, hProofProfile=NULL; > cmsHTRANSFORM hTransform; > int i; > > char* pszPrint = > "C:\\WINDOWS\\system32\\spool\\drivers\\color\\7600 > RGB Enhanced Matte 720.icm"; > char* pszP1 = > "C:\\WINDOWS\\system32\\spool\\drivers\\color\\sRGB > Color Space Profile.icm"; > char* pszP2 = > "C:\\WINDOWS\\system32\\spool\\drivers\\color\\VG191b.ICM"; > > > // hInProfile = cmsOpenProfileFromFile( pszP1, "r" ); > hInProfile = cmsCreate_sRGBProfile(); > > hOutProfile = cmsOpenProfileFromFile( pszP2, "r" ); > // hOutProfile = cmsCreate_sRGBProfile(); > > hProofProfile = cmsOpenProfileFromFile( pszPrint, "r" ); > > > DWORD type = TYPE_BGRA_8; > > hTransform = cmsCreateProofingTransform( hInProfile, type, > hOutProfile, type, hProofProfile, INTENT_ABSOLUTE_COLORIMETRIC, > INTENT_ABSOLUTE_COLORIMETRIC, cmsFLAGS_SOFTPROOFING ); > > for( i=0; i < img2.GetHeight(); i++) > { > BYTE* pIn = img1.GetBits() + i * img1.GetBytesPerLine(); > BYTE* pOut = img2.GetBits() + i * img2.GetBytesPerLine(); > cmsDoTransform( hTransform, pIn, pOut, img1.GetWidth() ); > } > > cmsDeleteTransform( hTransform ); > if( hInProfile ) cmsCloseProfile( hInProfile ); > if( hOutProfile ) cmsCloseProfile( hOutProfile ); > if( hProofProfile ) cmsCloseProfile( hProofProfile ); > > > i tried sRGB as output profile as well, but there was (as expected) > only a minimal difference. > > in photoshop i am doing the same. i use the same 7600 profile as > proof > profile and have the intent set to PERCEPTUAL. but the > photoshop display looks very different. > > i just installed lcms today, so i guess i must be missing something? > > i tried basically every permutation of intents but none of those > combinations came really close to the photoshop display... > > i understand that one of the preview tags must be set for soft > proofing to work. > however, in the profile i am using none of them are set. i > downloaded a few more profiles for this printer and NONE of them > had any > of the three preview tags set. > > how does photoshop do the proofing without these tags? > how can i do the same using lcms? > > > btw, marti: > BIG THANKS to you for implementing this lib the way you did it > (clear > structure, great API), and especially for making it open source!! > i also noticed that you (and others) really take your time to > answer the posts here > very patiently. THUMBS UP! > > all the best, > harald ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Lcms-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/lcms-user