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
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
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
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
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
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
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
--
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
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.
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
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
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
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
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
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
, 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
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
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
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,
--
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
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
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
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[]
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?
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
---
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
> 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
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
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
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
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
-
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
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
;
}
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
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
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.
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
---
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
alling Windows TranslateColors from C# will
help me call lcms2 functions.
Best / Roger Breton
<>--
___
Lcms-user mailing list
Lcms-user@lists.sourcefor
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
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
--
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
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
> 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
---
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
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/
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 &
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
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
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
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
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
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
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
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.
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
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
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
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
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
60 matches
Mail list logo