Re: [Lcms-user] Lcms-user Digest, Vol 111, Issue 5

2017-02-07 Thread Roger Breton
Found the solution Thank you all. Best / Roger -Original Message- From: Roger Breton [mailto:gr...@videotron.ca] Sent: Tuesday, February 7, 2017 6:43 PM To: 'lcms-user@lists.sourceforge.net' Subject: RE: Lcms-user Digest, Vol 111, Issue 5 Looking for help with acc

Re: [Lcms-user] Lcms-user Digest, Vol 111, Issue 5

2017-02-07 Thread Roger Breton
Looking for help with accessing the cmsTempFromWhitePoint() function from C#. My import statement is as follows: [DllImport(@lcms2Path)] public static extern bool cmsTempFromWhitePoint(IntPtr TempK, IntPtr WhitePoint) The WhitePoint CIE xyY is declared this way: [StructLayout(LayoutKind.Sequent

[Lcms-user] cmsReadTag

2017-02-04 Thread Roger Breton
I still have a TON of questions... Once I modified the monitor profile, is there a way to "Save As"? Save the profile under a new name? / Roger Breton -- Check out the vibrant tech community on one of

[Lcms-user] cmsReadTag

2017-02-04 Thread Roger Breton
I'm stuck in cmsWriteTag now. :( / Roger -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot ___ Lcm

Re: [Lcms-user] Retrieve MediaWhitePointTag

2017-02-03 Thread Roger Breton
sWriteTag(IntPtr hProfile, uint cmsTagSignature, IntPtr Data); I have to figure out how to pass a pointer to structure the cmsWriteTag??? Wish good luck ;-) / Roger Breton -- Check out the vibrant tech community o

[Lcms-user] Retrieve MediaWhitePointTag

2017-02-03 Thread Roger Breton
f possible. Keep in mind that, later, I am going to have to find a way to send my modified CIE XYZ data *to* the profile, through the cmsWrite() function! This is going to be interesting... I will continue my research on my own but, in the meantime, any help i

[Lcms-user] White Point editing

2017-02-02 Thread Roger Breton
Is there any way, any tools, any API, to edit the White Point of an ICC profile within LittleCMS? I would like to be able to interactively edit the white point editing of a monitor profile. I know this is very advanced :) Best / Roger --

Re: [Lcms-user] Bug in Lcms2.dll

2017-01-15 Thread Roger Breton
Found the "bug" in my code. It's complicated thinking of everything ;-) Thank's! / Roger -- Message: 2 Date: Sat, 14 Jan 2017 16:14:03 -0500 From: "Roger Breton" Subject: [Lcms-user] Bug in Lcms2.dll To: Message-ID: <00ae01d26ea

[Lcms-user] Bug in Lcms2.dll

2017-01-14 Thread Roger Breton
ppreciated. / Roger Breton -- Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax.

[Lcms-user] converting to K-only CMYK (Peter Wang)

2016-09-07 Thread Roger Breton
This is trivial to do in Photoshop but if you have hundreds of images to convert, Marti's recipe is the preferred way to do this. / Roger -Original Message- From: lcms-user-requ...@lists.sourceforge.net [mailto:lcms-user-requ...@lists.sourceforge.net] Sent: Wednesday, September 7, 2016 8

Re: [Lcms-user] Lcms-user Digest, Vol 112, Issue 1

2016-09-01 Thread Roger Breton
I was going to say, make sure you assign the same ICC profile to the image in Photoshop that you use to make the conversion in Lcms. Otherwise, you are comparing apples with oranges. / Roger -Original Message- From: lcms-user-requ...@lists.sourceforge.net [mailto:lcms-user-requ...@lists.s

[Lcms-user] Suggestion to get the 'System' color profile

2016-08-16 Thread Roger Breton
xample-for-wcsgetdefaultco lorprofile/38959070#38959070 Edgar Am 12.07.2016 um 20:26 schrieb Roger Breton: > Looks like LittleCMS does not offer any help as far as retrieving the > host system "Active" monitor profile on Windows. > > Been searching a number of possible place

[Lcms-user] Dumb question

2016-07-23 Thread Roger Breton
My WPF application is starting to take shape -- thank's to Lcms and the help from Edgar, Noel and the others -- I owe you a beer! About V4 display profiles. To understand, would there be an option to obtain an AbsCol conversion from, say, a v2 D65 RGB profile to a D50-calibrated monitor where the

[Lcms-user] cmsFLAGS_GAMUTCHECK

2016-07-22 Thread Roger Breton
Check, say, any out of gamut colors of the Destination would come out with solid color pixels? Gray or red or does not matter. I guess I am dreaming in color ;-) Roger Breton -- What NetFlow Analyzer can do for you? Mon

[Lcms-user] Black point compensation

2016-07-21 Thread Roger Breton
I found the dwFlag... Easy to set up in cmsDoTransform :-) Thank you / Roger Breton -- What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users

[Lcms-user] Black point compensation

2016-07-21 Thread Roger Breton
, say, to CMYK. There is some mention of cmsFLAGS_BLACKPOINTCOMPENSATION on page 28 of the Tutorial but my understanding is that this only serves "Proofing" transform. Thank you / Roger Breton -- What NetFlo

[Lcms-user] Suggestion to get the 'System' color profile (monitor) on Windows?

2016-07-12 Thread Roger Breton
Looks like LittleCMS does not offer any help as far as retrieving the host system "Active" monitor profile on Windows. Been searching a number of possible places. I guess I have to look at WcsGetDefaultColorProfile? Suppose I finally obtain the information, how would I then be able to pass this

[Lcms-user] cmsGetProfileInfo -- Got i!

2016-07-11 Thread Roger Breton
Edgar (and others). I was not aware of this technique of calling the function *twice*, once to request the required buffer size and once to request the actual characters. Your explanation helped greatly. > cmsGetProfileInfo has to be called twice: > The first time you pass 0 (Buffer and BufferSi

[Lcms-user] cmsGetProfileInfo

2016-07-10 Thread Roger Breton
Looks like I'm becoming a "regular contributor" to this list... I don't find it easy to figure out C# signature for all the lcms C functions... The original C function looks like this : cmsUInt32NumbercmsGetProfileInfo( cmsHPROFILE hProfile, cmsInfoType Info,

[Lcms-user] cmsDoTransform -- Size parameter

2016-07-10 Thread Roger Breton
-- Message: 5 Date: Sun, 10 Jul 2016 09:15:36 +0200 From: Christian Schmitz Subject: Re: [Lcms-user] Upper limit cmsDoTransform To: lcms-user@lists.sourceforge.net Message-ID: Content-Type: text/plain; charset=us-ascii > Am 10.07.2016 um 02:18 schrieb Ro

[Lcms-user] Upper limit cmsDoTransform

2016-07-09 Thread Roger Breton
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 ha

[Lcms-user] Progress report... Strange bug?

2016-07-09 Thread Roger Breton
All along, earlier this week, I was fighting a MemoryAccessViolation at the time of calling cmsDoTransform(HANDLE, InputBuffer, OutputBuffer, Size). Then I started experimenting with very small images, like 1 pixel wide x 1 pixel high. All of a sudden, the MemoryAccessViolation was gone! So I u

[Lcms-user] Finally!!

2016-07-09 Thread Roger Breton
This Import statement : [DllImport(@lcms2Path)] public static extern void cmsDoTransform( [In] IntPtr xform, [In] byte[] InputBuffer, [Out] byte[] OutputBuffer, [In] UInt32 Size); Und this function call : Byte[]

[Lcms-user] passing Arrays of fixed sizes to cmsDoTransform

2016-07-08 Thread Roger Breton
I am still having difficulty with calling cmsDoTransform with variable-length arrays of bytes. I always get MemoryAccessViolations errors. Today's preliminary testing suggest I would have better luck using fixed size arrays. What will happen if I break down my bitmap image in fixed size chunks?

Re: [Lcms-user] Lcms-user Digest, Vol 110, Issue 5

2016-07-08 Thread Roger Breton
Project > Selected Target Framework = 4.5.1 -- You have to look at the project settings in Visual Studio: Project>Properties>Application>Target Framework: Here you have to select at least .NET 4 Edgar ---

[Lcms-user] cmsDoTransform

2016-07-07 Thread Roger Breton
I give up, I can't figure out this Access violation. I just don't have the programming smarts to succeed at calling this function from C# to transform images. Thank's for your help and patience. I'll try my luck with some other library. MfG / Roger -Original Message- From: lcms-user-requ

[Lcms-user] WPF ColorContext und call to cmsTransform in C#

2016-07-07 Thread Roger Breton
> Perhaps I should have mentioned that you need at least .Net 4 In 3.5 it's available but does not work... According to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP I have Version 4 but it's worth updating to a newer version... > https://social.msdn.microsoft.com/Forums/en-US/be7

Re: [Lcms-user] Difficulty with cmsTransform in C#

2016-07-06 Thread Roger Breton
Edgar, You wrote : > // create lcms inputprofile > IntPtr inputProfileH = IntPtr.Zero; >I f (biFrm.ColorContexts != null) { > byte[] inputProfile = > StreamToArray(biFrm.ColorContexts[0].OpenProfileStream()); > inputProfileH = > Basic.Lcms.NativeMethods.cmsOpenProfileFromMem(inputPro

[Lcms-user] metadata-extractor

2016-07-03 Thread Roger Breton
I want you to know that I found a nu-get package for C# designed to extract metadata, including ICC profiles, out of JPEG, TIF, BMP. PNG and a host of other images. https://drewnoakes.com/code/exif/ It's very interesting... Here is a sample of an ICC profile metadata extracted from an RGB JPEG i

[Lcms-user] Multiple methods with similar signatures

2016-07-01 Thread Roger Breton
Edgar, I am surprised (und pleased!) that the compiler accepts multiple functions with similar declarations -- only the arguments change. So the run-time is smart enough to use the 'correct' function call, given the parameter type? Wow! MfG / Roger - On the one

Re: [Lcms-user] Lcms-user Digest, Vol 109, Issue 10

2016-06-30 Thread Roger Breton
the solution is create a second class to host your cmsDoTransform function call and continue using my first cmsDoTransform to process individual 'double[]' data type. Is that what you do? MfG / Kindest regards, / Roger Breton -

Re: [Lcms-user] Difficulty with cmsTransform in C#

2016-06-29 Thread Roger Breton
to convert JPEG or TIFF images from one color space to another through LittleCMS. Thank you so much in advance for your kind help. / Roger Breton -- Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T P

[Lcms-user] Double or byte

2016-06-23 Thread Roger Breton
lly cast the byte values to doubles? Or is that done by LittleCMS? I am confused... / Roger Breton -- Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San Francisco, CA to explore cutting-edge

[Lcms-user] Difficulty with cmsTransform in C#

2016-06-16 Thread Roger Breton
; } First time through the loop I get valid Lab results. But subsequent passage through the loop always return the same Lab values? The input[] values do change as expected. When I use this code outside of a loop, it works p

[Lcms-user] Labv2

2014-08-19 Thread Roger Breton
I like it when things get complicated... I want to call the function cmsCreateLab2Profile. But this function takes a pointer to cmsCIExyY parameter. cmsXYZ is a struct -- I'm in love :( So, in my call to the function, I need to pass a pointer to a cmsCIExyY struct, containing the xy chromaticiti

Re: [Lcms-user] cmsCreateLabProfile does not exist?

2014-08-19 Thread Roger Breton
I found it! It is now called "cmsCreateLab2Profile" because now we need to distinguish between Lab v2 and Lab v4. More ICC fun -- thank you! / Roger -Original Message----- From: Roger Breton [mailto:gr...@videotron.ca] Sent: 19 août 2014 15:59 To: 'lcms-user@lists.

[Lcms-user] cmsCreateLabProfile does not exist?

2014-08-19 Thread Roger Breton
In the LittleCMS2.6 tutorial.pdf, on page 21, there is reference to a built-in "Lab" profile. My search for the function "cmsCreateLabProfile" returns no result? Has it been removed from the distribution? I have "lcms2-2.6.zip (4.7 MB)". I found the "cmsCreate_sRGBProfile". Best / Roger ---

[Lcms-user] Getting my feet wet with LittleCMS

2014-08-18 Thread Roger Breton
erdad, pero, to begin, yo quiero trabajar con simple values -- and away from pixels and complex image formats. Entonces, muchas gracias por todo. I will try to continue my adventure in LittleCMS ;-) / Roger Breton (Desculpa por mi espanol, no tengo mucha

[Lcms-user] Success compiling lcms2 under VisualStudio 2013!

2014-08-16 Thread Roger Breton
alling Windows TranslateColors from C# will help me call lcms2 functions. Best / Roger Breton <>-- ___ Lcms-user mailing list Lcms-user@lists.sourcefor

[Lcms-user] LittleCMS and Visual C#

2014-07-16 Thread Roger Breton
Muy estimado Marti (y todo), I am considering spending some time compiling littleCMS using VS2013. Pero, I don't want to develop my application outside of .NET -- life is too short (la vida e demasiado corta). I guess I will need to call your functions as "external" DLLs. Do you know anybody wh

[Lcms-user] Getting my feet wet with LittleCMS

2014-07-08 Thread Roger Breton
for VisualStudio2013? Could it be related to the fact that VisualStudio is only offering me a C++ compiling environment? Don't know what to say, Marti. Any help is appreciated. Muchas gracias / Roger Breton --

[Lcms-user] LittleCMS announcement 10 years anniversary

2008-11-01 Thread Roger Breton
l be giving > a tutorial in the ICC DevCon 08 and co-chairing the interactive > session of CIC16. I know, I know. I was supposed to go and, last minute, I won't be able to go :( I was looking forward to meet with you personally, finally! Roger Breton __ Information fr

Re: [Lcms-user] Lcms-user Digest, Vol 16, Issue 3

2007-09-11 Thread Roger Breton
Giovanni, Thas is precisely how the ICC specs says this must be done. We don't really have any other choice. > Marti, >why a simple scaling is done? A chromatic adaptation > could be executed instead? > Giovanni Bremb

[Lcms-user] Determining out-of-gamut colors

2005-07-28 Thread Roger Breton
> What's the best way of determining whether a single colour value is > out-of-gamut. That's an ongoing question for me too. Regards, Roger Breton | Laval, Canada | [EMAIL PROTECTED] http://pages.infinit.net/graxx ---

[Lcms-user] Re: Lcms-user digest, Vol 1 #602 - 1 msg

2005-07-05 Thread Roger Breton
ce/icc_based_color > > If anybody is planning to attend, that would be a great chance > to get in touch personally. > > See you there! > Regards, > -- > Marti Maria Wow! I wish I could be there, Marti. That would be wunderbar. But I know I won't. So, my thoughts will

[Lcms-user] Exchanging Tags inside a profile

2005-06-12 Thread Roger Breton
I don't suppose there is any facilities, right now, in LittleCMS or its utilities that would allow me to extract the A2Bx out of profileA and replace it into profileB? Regards, Roger Breton | Laval, Canada | [EMAIL PROTECTED] http://pages.infinit.net/

[Lcms-user] Re: Lcms-user digest, Vol 1 #479 - 2 msgs

2004-11-28 Thread Roger Breton
t Adobe does in its own ACE, force DeviceWhite to DeviceWhite, no matter what? Regards, Roger Breton | Laval, Canada | [EMAIL PROTECTED] http://pages.infinit.net/graxx --- SF email is sponsored by - The IT Product Guide Read honest &

[Lcms-user] Books

2004-10-11 Thread Roger Breton
be a collection of bits of knowledge from many people on this list and elsewhere. Regards, Roger Breton | Laval, Canada | [EMAIL PROTECTED] http://pages.infinit.net/graxx --- This SF.net email is sponsored by: IT Product Guide on ITMana

[Lcms-user] Re: Lcms on Mac OS X Panther (Kai-Uwe Behrmann)

2004-08-20 Thread Roger Breton
It would be sehr shoën, indeed! > To use lcms as an selectable CMM would be nice, and is requested by > other as well on the german ECI list. > > kind regards > Kai-Uwe Behrmann Regards, Roger Breton | Laval, Canada | [EMAIL PROTECTED] http://pages.in

[Lcms-user] JPEG profile applier

2004-07-06 Thread Roger Breton
Handle embedded profiles > € Many other usage > > > Full source code can be found in littlecms distribution. Regards, Roger Breton | Laval, Canada | [EMAIL PROTECTED] http://pages.infinit.net/graxx --- This SF.N

[Lcms-user] Understand color matching inside Inside printer driver

2004-05-19 Thread Roger Breton
profiling the beast as anything other than RGB! Roger Breton | Laval, Canada | [EMAIL PROTECTED] http://pages.infinit.net/graxx Most> > New inkjet printer use actually more than 4 colors, from > CcMmYK to CcMmYyKk. > > I know that we can do ICC Color Profile for more than > eig

[Lcms-user] Re: Degrees of freedom

2004-04-18 Thread Roger Breton
rd Gerard, Could you explain, briefly, the 'degree of freedom' in the case of CMYK profiling? Do you mean it in statistical terms? In the context of Chi-square? Regards, Roger Breton | Laval, Canada | [EMAIL PROTECTED] ht

[Lcms-user] Printer Profiles

2004-03-13 Thread Roger Breton
Does LittleCMS creates printer profiles as well? From measurements? I only saw Input and Monitor profiling capabilities. I ask in case... Best regards, Roger Breton | Laval, Canada | [EMAIL PROTECTED] http://pages.infinit.net/graxx

[Lcms-user] Macbeth ColorChecker template

2004-03-03 Thread Roger Breton
does this template already exist? Regards, Roger Breton | Laval, Canada | [EMAIL PROTECTED] http://pages.infinit.net/graxx --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins

[Lcms-user] Re: Convert a lot of Lab measurements to a different observer temperature?

2004-02-05 Thread Roger Breton
Bradford transform to do those. > Any ideas how I could do this? Unfortunately, Photoshop only supports = > D65 Lab, otherwise I could have used it. I don't know where you got the notion that Photoshop "only supports D65 Lab"? In actuality, Photoshop only supports D50 ICC Lab.

[Lcms-user] Using Eye One Display for colour measurements?

2004-01-21 Thread Roger Breton
e monitor > as is." > Since it is an option, presumably there is some way to disable it. Yes you can calibrate at any white point you want! > I've just tried the native whitepoint option, and it does *not* fix the > problem. > I.e, setting my hardware to 9300K results

Re: [Lcms-user] profile conversions?

2003-09-19 Thread Roger Breton
op, I make my color corrections right from sRGB. And leave my images in sRGB into my InDesign layout right through the printer! Just picked up a calendar I designed for a client today, at a local offset print shop, and, men, am I satisfied with the colors! I am a little lazy and wreckless the

[Lcms-user] What happened to littlecms.com?

2003-08-29 Thread Roger Breton
Same thing happened to me yesterday afternoon when I tried to show the site to a friend? > > I tried to go to www.littlecms.com and it appears to be down. > > > -- Dave Williss > -- > Meddle not in the affairs of dragons, > for you are crunchy and taste good with

[Lcms-user] Re: User Input

2003-06-17 Thread Roger Breton
at the > National Gallery in London for a few years. I use ProfileMaker Pro with a > Gretag Macbeth Spectrolino to build the profiles, and lcms (thank you Marti) > to make the CMYK from my calibrated input images. I get about 4 delta E > end-to-end. Where does your input come fro

[Lcms-user] Compiling Lcms on a Mac OS9 system

2003-06-13 Thread Roger Breton
see the main library, lcms.dll, looks like a 'windows-style' type of dynamic link library. And I can't tell for sure whether this is strictly an MS-Windows invention or is something that is universal and platform-independent? Any help is appreciated. Regards, Roger Breton Laval