Re: [Lcms-user] Can't load color profile into scribus

2012-01-19 Thread marti . maria
Weird, as transicc has no problems in both directions. I cannot see anything wrong with this profile. transicc -o Pixum_color.icc LittleCMS ColorSpace conversion calculator - 4.1 [LittleCMS 2.03] Enter values, 'q' to quit R? 12 G? 12 B? 12 C=73.1395 M=71.2230 Y=65.7832 K=95.9976 Enter

Re: [Lcms-user] Issue: typedef cmsUInt32Number cmsUInt64Number[2];

2012-01-12 Thread marti . maria
Hi Claudiu For the case when cmsUInt64Number gets defined as: typedef cmsUInt32Number cmsUInt64Number[2]; there are issues in the LCMS code where a cmsUInt64Number variable is assumed to hold a value, not a pointer. In particular _cmsAdjustEndianess64 is wrong (one effect being

[Lcms-user] lcms2-2.1 release candidate now available

2010-11-03 Thread marti . maria
Dear lcms users, CIC18 is coming and I wish to have some fresh release to introduce at that time, so here are two packages as tarball and zip holding the GIT code and some minor additions. Should solve all known glitches up to date. If all is ok, I will do the official release on monday, nov-8.

Re: [Lcms-user] small question about transicc conversion

2010-10-21 Thread marti . maria
Hi Michal, Please check the GIT code, as the bugs you report may be already solved. The unicode works fine to me now and the V4 sRGB profile works also fine, given the limited precision it has. Regards Marti Quoting Michal Soltys sol...@ziu.info: Ah, great. Thanks for quick fixing.

Re: [Lcms-user] small question about transicc conversion

2010-10-19 Thread marti . maria
Hi Michal, This is a bug in the curve inversion when curves are not starting in zero, as it happens in that profile. If affects only the first value, zero in this case. Now is fixed. Thanks for reporting. Regards Marti Quoting Michal Soltys sol...@ziu.info: While experimenting a bit with

Re: [Lcms-user] Multi-transform vs multiple Transforms.

2010-10-13 Thread marti . maria
Jerome, It may be a bug... black point compensation should do nothing on absolute intents. I can take a look if you send sample profiles to i...@littlecms.com, but I am currently on trip and it will take a week to find the bug if any. You can also ry to remove BPC, as it does (should do) nothing

Re: [Lcms-user] reading vcgt tag

2010-10-11 Thread marti . maria
Hi, A clean way to dump any kind of VCGT as 3 256-entry tables from 0 to 1 Vcgt = cmsReadTag(hProfile, cmsSigVcgtTag); if (Vcgt != NULL) for (i=0; i 256; i++) { cmsFloat32Number r = cmsEvalToneCurveFloat(Vcgt[0], i / 255-0); cmsFloat32Number g = cmsEvalToneCurveFloat(Vcgt[1], i / 255.0);

Re: [Lcms-user] Target gamut graphic

2010-10-08 Thread marti . maria
Hi, Please make sure to use relative colorimetric intent. If the profile is good enough, L* should remain unchanged. But not all profiles are good. sRGB does the trick, for example. Marti Quoting jürgen sauerzapf juer...@sauerzapf.name: Hello Mr. Marti, I programmed the back and forth

Re: [Lcms-user] reading vcgt tag

2010-10-08 Thread marti . maria
Hi, That is a completly different question. How do you plan to organize this txt file? as a list of values? Marti Quoting Reem EL asaleh reem.elasa...@wmich.edu: Thank to Marti now I know how to read my vcgt into a tone curve variable. But I still have a trouble with writing the contents

Re: [Lcms-user] Separating multiple profiles doesn't work as expected

2010-10-01 Thread marti . maria
Mike, this is the expected behaviour. You say you want to separate in two transforms, and that's ok, you can either use CMYK - [GraCol + Gracol] - CMYK - [Linearization] or CMYK - [Gracol + Lab] - Lab - [Lab - GraCol + Linearization] Both are valid, but you cannot use CMYK as middle space

Re: [Lcms-user] Target gamut graphic

2010-10-01 Thread marti . maria
Quoting jürgen sauerzapf juer...@sauerzapf.name: I like to draw an outline/ graphic of the maximum a/b values for a speditiv L Value. Can somebody give me a hint how and where to start? Is that for a given profile? If so, do a transform: Lab - Profile - Profile - Lab. And then feed the

Re: [Lcms-user] Varying ProfileID

2010-09-22 Thread marti . maria
Hi Pierre, Sorry, I can't reproduce this behaviour. I tried this: static int CheckMD5(void) { cmsHPROFILE hProfile; cmsUInt8Number ID[16], ID2[16]; char buffer[4096]; hProfile = cmsOpenProfileFromFile(sRGBlcms2.icc, r); if (hProfile == NULL) return 0;

Re: [Lcms-user] Varying ProfileID

2010-09-22 Thread marti . maria
Ok, now I see where is the apparent issue. Some profiles may have incomplete or broken tags, lcms tries to fix them when reading, this is the case of, for example, old sRGB, which have empty unicode description. The fixed tag is slightly different from the original found in the profile, it has

Re: [Lcms-user] applying a tonal curve

2010-09-12 Thread marti . maria
Hi, I would create a abstract profile consisting of a set of curves and place that inbetweeen the src and dest ones. src - abstract - dest This is a good approach, and you can use the curves on the device space as well src - dest - curves Just use cmsCreateLinearizationDeviceLink() to

Re: [Lcms-user] lcms 2 help...

2010-08-28 Thread marti . maria
Quoting Thomas Lock tl...@supportingcomputers.net: Hi everyone I am completely new to lcms and so i figured i would start with 2.0. Now after about spending about 4-5 hours i finally figure out how to compile my RAW file importer with the lcms2.h not problem. It doesn't

Re: [Lcms-user] Named Color ICC Profile

2010-08-18 Thread marti . maria
I´m not very familiar with the ICC Spec and trying to create a Named Color ICC Profile via LCMS. Hi Manuela, That's easy. You need to create an empty profile hProfile = cmsCreateProfilePlaceholder(0); Make sure to tag it as named color class cmsSetDeviceClass(hProfile,

Re: [Lcms-user] float and LUT is not suitable to be saved as LutAToB

2010-08-06 Thread marti . maria
Hi Kai-Uwe. That may be a bug. May I have the sRGC.icc and XYZ.icc profiles? Tried with the built-ins but it doesn't fail with those... Tnx! Marti Quoting Kai-Uwe Behrmann k...@gmx.de: Btw the output of the code during cmsTransform2DeviceLink() is: lcms2: LUT is not suitable to be saved

Re: [Lcms-user] Using functionality from liblprof with lcms2

2010-08-02 Thread marti . maria
I wanted to use liblprof in gnome-color-manager. It uses lcms rather than lcms2 -- is there any chance that some of the functionality would be included in lcms2 in the future, or should I just try to migrate the code I need to lcms2? Hi Richard, I don't maintain lprof anymore and know the

Re: [Lcms-user] tificc and 32-bit TIFFs

2010-07-26 Thread marti . maria
Hi, Quoting Alex Tutubalin l...@lexa.ru: $ tificc -o*sRGB -w32 P16-Adobe.tif P32-srgb.tif [tifficc]: Unsupported raster format Segmentation fault: 11 (core dumped) Fixed in git. Thanks for reporting! Best regards Marti

Re: [Lcms-user] Moving from lcms to lcms2 problems

2010-07-11 Thread marti . maria
cmsCreateLabProfile comes now in two flavors depending on the encoding (V2 or V4). That's because ICC changed the encoded of Lab color space. cmsCreateLab2Profile cmsCreateLab4Profile But note they changed the encoding for just some tags, but not others, and that there is ambiguity

Re: [Lcms-user] cmsChangeBuffersFormat?

2010-06-30 Thread marti . maria
Quoting Steve Mills smi...@multi-ad.com: Hello? No responses yet about this question. Is there an equivalent to cmsChangeBuffersFormat in lcms2? We had been calling it prior to cmsDoTransform. I did an entry in the development blog a few days ago

Re: [Lcms-user] Moving from lcms to lcms2 problems

2010-06-26 Thread marti . maria
Quoting Steve Mills smi...@multi-ad.com: I'll explain why we need this and see if there might be some other way to do this. ... One way would be to get the iohandler and then use it on cmsOpenProfileFromIOhandlerTHR(), then you have not to know whatever the profile was memory, file or stream

Re: [Lcms-user] Moving from lcms to lcms2 problems

2010-06-25 Thread marti . maria
Hi, to keep looking around in different .h files for the correct struct and add lots of casts to the real type in their code. Sorry to complain about stuff, but if nobody complains, stuff doesn't get changed. Don't apologize, complains are a good way to check for a robust API. If

Re: [Lcms-user] Oyranos and lcms

2010-06-20 Thread marti . maria
Quoting Kai-Uwe Behrmann k...@gmx.de: After looking at the ISO standard for C99 it appears lcms2.h is right in the comment style and usage of long long types. As well I figured out that the --std=c99 option did not reach the compile line in my code. So sorry for any confusion abo Kai-Uwe,

Re: [Lcms-user] GraphicsMagick and lcms 2.0

2010-06-19 Thread marti . maria
Hi, The next release of GraphicsMagick will be supporting lcms 2.0. The source changes were not too difficult. Great news! Regards Marti -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's

Re: [Lcms-user] LittleCMS crash

2010-06-17 Thread marti . maria
Paul, I've been trying to reproduce the issue with no success. Please see attached a very small program that do the same you report to crash, but it works fine on all the platforms I've tried. I have double checked MaxOSX (10.5.8) on a PowerPC, it works fine to me. Mybe there is something in

Re: [Lcms-user] Full screen color management using hardware shaders

2010-06-15 Thread marti . maria
Quoting Richard Hughes hughsi...@gmail.com: I've been playing around with this idea all morning. I'm struggling to feed cmsSliceSpaceFloat the CLUT points in the required format -- could you be more specific on how the CLUT should be generated please? I'm a little confused why the clut points

Re: [Lcms-user] Full screen color management using hardware shaders

2010-06-15 Thread marti . maria
Quoting Richard Hughes hughsi...@gmail.com: I also think I've found a bug in lcms2 somewhere. This does not work: static cmsInt32Number lcms_sampler_cb (const cmsFloat32Number data_in[], cmsFloat32Number data_out[], void *user_data) { cmsFloat64Number out[3]; cmsHTRANSFORM

Re: [Lcms-user] Full screen color management using hardware shaders

2010-06-14 Thread marti . maria
Is the tetrahedral interpolation patented? I googled what 'tetrahedral interpolation' is because I had no idea and this patent popped up in the results: http://www.freepatentsonline.com/5581376.html Hi Tom, The original tetrahedral algorithm is from Sakamoto et Al.

Re: [Lcms-user] Full screen color management using hardware shaders

2010-06-14 Thread marti . maria
Quoting Mark d...@cine-scan.com: [snip] Very interesting! What parameters are needed to get a transform as CLUT without prelinearization tables - always? You have not to worry about that. Just use cmsSliceSpaceFloat(). This function will call your callback on each node. It will give you

Re: [Lcms-user] LittleCMS crash

2010-06-11 Thread marti . maria
Quoting Paul Cezanne p...@fineeyecolor.com: I'm in the middle of porting my Little CMS application to 2.0 and once I got it to compile I've encountered a crash. This is under OS X, running 10.6.2, with Xcode 3.2.1 as the build environment. I'm running from sources found in

Re: [Lcms-user] LittleCMS crash

2010-06-11 Thread marti . maria
Ups, it seems you are trying to run automake or something similar. It should be easier, just open a terminal, go to lcms-2.0 folder and then type: ./configure make make check sudo make install If something is wrong with your setup, make check will complain. If all suceeds (including sudo

Re: [Lcms-user] OS X Framework advice

2010-06-08 Thread marti . maria
John, That's mostly because my lack of experience on MacOSX. This framework is a sort of experiment and probably needs some extra work. What about just including the sources in your app? It should be even easier than lcms1. Another solution is to use the configure script. You get lcms

Re: [Lcms-user] Question about RGB-XYZ matrix stage(s)

2010-06-07 Thread marti . maria
Mark, The internal logic is complex, an V4 profile implemented as matrix shaper do have a zero black point, which is not the case if the profile is implemented by using LUTs. That was already implemented in lcms 1. Lcms 2 behaves as lcms 1 in the cases lcms 1 is right. But I think you have not

Re: [Lcms-user] HSV encoding.

2010-06-07 Thread marti . maria
Hi, Encoding for some spaces is largely undocumented in the ICC spec. The closest thing to a standard is the characterization data registry found here: http://www.color.org/registry2.xalter and specially here: http://www.color.org/chardata/rgb/rgb_registry.xalter It is a known issue Regards

Re: [Lcms-user] Internal normalized 0...1.0 XYZ and Lab

2010-06-06 Thread marti . maria
Quoting Mark d...@cine-scan.com: I see. How are you dealing with the new floating point DToBx/BToDx tags? If I join (create a transform) from a matrix shaper display profile to an BToDx profile LCMS will use the 0...1.0 normalized encoding for the matrix shaper profile, then un-normalize

Re: [Lcms-user] Question about RGB-XYZ matrix stage(s)

2010-06-06 Thread marti . maria
Hi Mark, That's black point compensation, V4 perceptual and saturation have non-zero black points. sRGB built-in is basically a V2 profile, so for going from V2 black (which is zero) to v4 black (which is about L*=3) we need some sort of scaling. Regards Marti Quoting Mark d...@cine-scan.com:

Re: [Lcms-user] Matrix/Curves stages sharing same signature

2010-06-02 Thread marti . maria
Hi Mark, I am answering all your questions in same mail: The reason to normalize to 0..1.0 range each stage is because ICC profiles are built to work in in encoded mode. Take for example a 16 bits profile. Each stage in LutAtoB goes from 0 to 0x, and stages know nothing about colorspaces.

Re: [Lcms-user] Transform difference with older versions.

2010-06-02 Thread marti . maria
Quoting Kai-Uwe Behrmann k...@gmx.de: I find it great to see XYZ-sRGB conversions becoming reversible. However, I would expect the gamut is still visible for real devices. sRGB is not a device but more of a colour space. Exactly. You got the point. And as a such it has no defined gamut

Re: [Lcms-user] Transform difference with older versions.

2010-06-02 Thread marti . maria
Quoting Kai-Uwe Behrmann k...@gmx.de: Am 02.06.10, 14:09 +0200 schrieb marti.ma...@littlecms.com: The point here is that no gamut information is encoded in the profile. If you want to take the 0..255 cube as the gamut, that's fine but does not mean the monitor gamut is such cube. For example,

Re: [Lcms-user] Batching profile processing

2010-05-30 Thread marti . maria
to CIE CAM02, which is far better than CIE L*a*b*. Regards Marti Maria Quoting Jim Reswick Jr j...@reswickgallery.com: Hi: I have a batching issue that I'm hoping Lcms may be able to resolve. I am a DBA by profession and not a heavy coder (photography and unique large format printing

Re: [Lcms-user] MPE segmented curves (B2Dx)

2010-05-27 Thread marti . maria
Hi, Thanks for let me know. Glad it worked to you. I even tried CS5 (demo), it also simply used the B2A0 tag instead of the B2D0 tag provided. Make sure to use floating point data. Those tags are expected to be used only on this mode. In CS4 you can convert to floating point by using

Re: [Lcms-user] How to change buffer format ?

2010-05-26 Thread marti . maria
Hi, cmsChangeBuffersFormat is gone in 2.0, and there is a good reason to do that: optimization. When you create a transform, you supply the profiles and the expected buffer format. Then, the engine, on depending on things like number of channels and bit depth can choose to implement such

Re: [Lcms-user] restricted ICC Profile handled differently

2010-05-22 Thread marti . maria
Hi, transicc -v toggle has a numeric parameter, if you miss to specify it, the code takes -i as the parameter and the profile as the input CGATS. I agree it is confusing, and will try to detect this situation and give a better error message in 2.1 So, just use: transicc -v3 -i file8.pf

Re: [Lcms-user] restricted ICC Profile handled differently

2010-05-22 Thread marti . maria
Hi Ive, That's great. Thanks for let me know. Regards Marti Quoting Ive i...@lilysoft.org: Hi Marti and Winfried, FWIW I'm using lcms2 within my little application and it does the color space transformation for file8.jp2 from the JPEG2000 test image set without any problems (tested for

Re: [Lcms-user] restricted ICC Profile AND lcms2

2010-05-20 Thread marti . maria
Hi, My question (Does lcms2 support a 'restricted ICC Profile'?) included another question: If yes: how? Tracing gimp-2.7, I found: The 'restricted ICC Profile', embedded in the file, is the src_profile, the in_profile. With cmsCreate_sRGBProfile() the dst_profile, the out_profile,

Re: [Lcms-user] restricted ICC Profile AND lcms2

2010-05-19 Thread marti . maria
Hi, I can't find any mention to restricted profiles in ICC spec. But as long as the profile adheres to the ICC spec, lcms2 can accept it. Do you have any sample of such profiles? You could also try the transicc utility. Regards Marti. Quoting szukw...@arcor.de: I can not find a hint in the

Re: [Lcms-user] restricted ICC Profile AND lcms2

2010-05-19 Thread marti . maria
Quoting Douglas Obrecht dune1...@me.com: A bit of Googlin' found this: The Restricted ICC Method for JPEG2000 [...] Great. Thanks. That means lcms2 fully supports those profiles. Regards Marti --

Re: [Lcms-user] Building a lightweight abstract profile.

2010-05-18 Thread marti . maria
Hi, I would like to know if there is a way to create a simple abstract profile using only a 3x3 matrix, for example a XYZ-XYZ profile with a Bradford matrix transform without creating heavy 3D Luts or other big structures. A profile similar to a monitor one but with PCS-PCS transform

Re: [Lcms-user] Building a lightweight abstract profile.

2010-05-18 Thread marti . maria
Even if I don't use Lcms v2.0 (but the 1.9), the AToB0 can contains only a matrix, with linear tone curves, so I can find a way to do this with the LUT functions of the 1.9 version... And, I suppose that Unfortunately, lcms.1.19 does not support writing v4 profiles, and v2 LUTs does not

Re: [Lcms-user] Broken file permissions (missing execute flags) in lcms-2.0

2010-05-15 Thread marti . maria
the issue. Regards Marti Maria Quoting Volker Grabsch v...@notjusthosting.com: The source tarball of lcms-2.0 contains some flawed file permissions. A quick check showed that execute permissions are missing for at least the following files: lcms-2.0/autogen.sh lcms-2.0/depcomp lcms-2.0

Re: [Lcms-user] LCMS require locking for CMYK :-(

2010-05-06 Thread marti . maria
This is fixed in 2.0, you can grab the sources from git or wait until May-8 which is the release date. Running multiple threads with same transform does work as long as you inhibit the cache. Regards Marti Quoting Esben Høgh-Rasmussen e...@phaseone.com: Hi, I have a big interest in

Re: [Lcms-user] lcms 2.0 beta 2 fails to build on Mac OS X 10.6

2010-02-26 Thread marti . maria
Quoting Peter Speck sp...@vitality.dk: --- building in 64 bit mode: ./configure --prefix=/my/path make make check This fails with: Arrr!!: Trying to free memory allocated by a different thread! Output: http://pastebin.com/nDeuAaxa Good finding. Thanks so much for reporting. As

Re: [Lcms-user] Problems with non-perceptual intents in LCMS2

2010-02-20 Thread marti . maria
Hi, Many thanks for reporting. No, the issue is not between keyboard and chair but in the code, or maybe in the spec itself. The nikon profile has only one table for perceptual, and then a matrix-shaper. So, what to do when the user requests rel.colorimetric? lcms-1 was reverting to perceptual,

Re: [Lcms-user] [ANNOUNCE] LittleCMS 2.0 goes beta

2010-02-08 Thread marti . maria
Quoting Richard Hughes hughsi...@gmail.com: Fedora packages built fine, although one oddity I noticed was the .pdf files seem to be installed with executable permission. I'm guessing this isn't intended. Thanks! I will fix it ASAP. Also, any update on pushing a git tree of some sort for us

Re: [Lcms-user] accessing (all) tags from a profile

2009-11-26 Thread marti . maria
Hi Guy, I have addressed all your requests in lcms 2.0. That will be the next relea se. You have cmsReadTag() and cmsWriteTag(), which are symmetrical and behaves exactly as you describe. You have also cmsReadRawTag() and cmsWriteRawTag() to read/write uncooked blocks of data. You have also

Re: [Lcms-user] relative colourimetric intent and missing A2B1/B2A1 tags

2009-11-18 Thread marti . maria
Hi Guy, My question now: How does LCMS handle cases like this, does it pick up the A2B0 CLUT and work on them as if they were A2B1? As I could trick the profiler to produce colourimetric intent conforming content into the A2B0 tags as a workaround for this. There is a precedence in the

[Lcms-user] [ANNOUNCE] lcms-1.19 released

2009-11-17 Thread marti . maria
://www.littlecms.com/downloads.htm About LittleCMS: http://www.littlecms.com/about.htm Best regards, Marti Maria The LittleCMS project http://www.littlecms.com -- Let Crystal Reports handle the reporting - Free Crystal Reports

Re: [Lcms-user] device links and gamut check of profile chain

2009-11-04 Thread marti . maria
Hi Kai-Uwe. Using the out-of gamut feature in multiprofile transforms is not supported in 1.xx There is, however, a new function on 2.0 that does what you want: cmsHTRANSFORM cmsCreateExtendedTransform(cmsContext ContextID,                                          cmsUInt32Number nProfiles,

Re: [Lcms-user] Beta of LittleCMS 1.19 available. Status of lcms-2.0

2009-11-03 Thread marti . maria
Is there a binary of lcms 2.0 available for Windows XP/Vista/7? I'd like to test the device link application. Unfortunately I have no way to compile it. Sure, here you go: http://www.littlecms.com/lcms-2.0-bin-Nov-2.zip Regards Marti

[Lcms-user] Beta of LittleCMS 1.19 available. Status of lcms-2.0

2009-11-02 Thread marti . maria
will be appreciated. Best regards Marti Maria The LittleCMS project. -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills

Re: [Lcms-user] Melding several profiles together

2009-11-01 Thread marti . maria
Hi Glenn, I have a large format printer printing 6 colours. The RIP is using a 6 colour output profile and assumes Adobe1998 as the input RGB profile for RGB colours. However I dont have the ability to create 6 colour profiles so to get better matches I have created RGB profiles for specefic

[Lcms-user] Libre Graphics Day miniconf - Call for Participation

2009-09-20 Thread marti . maria
Libre Graphics Day is a one day miniconf at linux.conf.au in Wellington, New Zealand on Monday 18th January, 2010. This is a broad call for participation. Do you develop, use, document, or train with Free Software Graphix tools? Tools such as GIMP, Inkscape, Scribus, Blender, Krita, Sk1,

Re: [Lcms-user] Linearization of black ink in a monochrome printer

2009-09-16 Thread marti . maria
Hi Ignacio, Linear in each component doesn't mean linear in the whole space... But you say a monochrome printer, so it probably would work. BTW, a monochrome profile is just that: a linearization curve. Regards Marti Quoting Ignacio Ruiz-de-Conejo ignacio.ruizdecon...@silverbrookresearch.com:

Re: [Lcms-user] cmsOpenProfileFromFile and unicode

2009-09-16 Thread marti . maria
Hi, There is no way to deal with unicode filenames in 1.xx other that read the whole profile in memory. Sorry. That is addressed in lcms 2.0 with cmsOpenProfileFromStream() Regards Marti. Quoting Olivier BERTEN olivier.ber...@gmail.com: While having the same problem again I just realised I

Re: [Lcms-user] Error #12288 Bad tag signature / unable to smelt shaper-matrix

2009-09-16 Thread marti . maria
Hi, Photoshop silently fixes a number of bogus profiles. This makes very hard to explain to the users that the profile is broken. For that reason on lcms 2.0 I'm fixing profiles as well. Regards Marti Quoting Kevin Gale kev...@taopix.com: Hi Marti. Thanks for your reply. We have updated

Re: [Lcms-user] Question about CreateMultiProfileTransform in combination with Proofing and InkLimiting

2009-09-16 Thread marti . maria
Hi, sorry for late response. I will wait for the next update. Will it be something between 1.18 and 2.0 or 2.0? Yes. It will be a 1.19 with bugfixes (including this one) and because an issue found on the license wording. No new functionality will be added to 1.xx branch anymore, but I don't

Re: [Lcms-user] Error #12288 Bad tag signature / unable to smelt shaper-matrix

2009-09-16 Thread marti . maria
Hi, I keep receiving complains about this. Corbis RGB profile is ill-formed, it doesn't pass the ICC compliance test. http://www.color.org/profdump.xalter lcms does the right thing: it complains about a bad signature and then complains about the profile being unusable. Regards Marti Quoting

Re: [Lcms-user] Question about CreateMultiProfileTransform in combination with Proofing and InkLimiting

2009-09-09 Thread marti . maria
The Error #3000 Invalid PCS raises by calling cmsCreateMultiprofileTransform. If I create same kind of transformations from RGB to CMYK or from CMYK to CMYK, there raises no error. Is this in v1.18 or later the same? What I do wrong and what could be a solution? Congratulations. You

Re: [Lcms-user] Lcms and multithread

2009-09-07 Thread marti . maria
Hi, That's fine if you're using a C++ compiler to build it as a static library - but on Linux lcms is built (in C mode) as a shared library. To link that with a C++ project, the C++ compiler needs to know that the library functions should be called with C name-mangling and calling

Re: [Lcms-user] Lcms 2.0 API and LCMS_VERSION

2009-09-05 Thread marti . maria
Hi Bob. Ok, done Marti Quoting Bob Friesenhahn bfrie...@simple.dallas.tx.us: In the development lcms 2.0 API I see this: lcms2.h:#define LCMS_VERSION200 which is a problem since existing using code does tests like #if defined(LCMS_VERSION) (LCMS_VERSION 1010) and 200 is

Re: [Lcms-user] CVE-2009-0793 Patch Question

2009-07-11 Thread marti . maria
Hi Brian, You are right, the patch is buggy. I will fix it in the next release. Thanks for let me know. Marti Hi All, I have a question about an already applied patch for CVE-2009-0793. Here is the patch that was apparently applied: https://bugzilla.redhat.com/attachment.cgi?id=337279

Re: [Lcms-user] LittleCMS 2 preview available

2009-06-29 Thread marti . maria
the regression on Mac, WinXP, Vista, RedHat and WindRiver. More platforms to come. http://www.littlecms.com/lcms-2.0beta-june29.tar.gz http://littlecms2.blogspot.com Best regards Marti Maria The LittleCMS project

Re: [Lcms-user] data format for 16 bit Lab conversions

2009-05-25 Thread marti . maria
Hi, Lcms does use ICC encoding for Lab, which is a weird format. You may want to write a used-defined encoder to deal with your particular Lab representation. Take a look on tifficc for a sample on how to do this. The ICC Lab encoding is documented in the ICC spec, and also on cmspcs.c CIELAB

Re: [Lcms-user] Announcement about patches

2009-04-19 Thread marti . maria
Ok, I will adopt the 1.18.2 naming convention for the next update, and modify the NEWS file as well. Regarding being more secure... well, this is color management and not a security package, so probably Bob is right and all this effort may be pointless. What do you think? Giving a MD5 message

Re: [Lcms-user] _cmsSaveProfile

2009-04-14 Thread marti . maria
Hi, This is a mess and should be cleaned up. I'm trying to do so in 2.0 There is a story behind this function. Many time ago, a profile vendor contacted me about some profiles, presumably generated by lcms, that were just copies of the profiles the vendor was selling, but with copyright

Re: [Lcms-user] lcms 1.18 released

2009-03-22 Thread marti . maria
Please download the file again. This is a side effect of mixing a private preview, lcms site's cache and the 1.18 release. Sorry on that. Marti Quoting Greg Troxel g...@ir.bbn.com: 1.18 didn't build for me on NetBSD/i386 5.0. The following patch made it work, but I don't understand

[Lcms-user] Beta for lcms-1.18 available on site

2009-03-09 Thread marti . maria
Hi, I've uploaded a beta of lcms-1.18 at http://www.littlecms.com/downloads.htm This is a maintenance release, which fixes some known bugs and has no new functionality. I would appreciate if you can check all is ok. Final 1.18 release will be in a couple of weeks. Best regards Marti Maria

[Lcms-user] New preview of lcms 2.0 available

2009-03-07 Thread marti . maria
. And again, thank all you very much for the reviews and suggestions you are doing for the lcms-2.0 code base, and for the LittleCMS project in general. Best regards Marti Maria The LittleCMS Project -- Open Source

Re: [Lcms-user] cmsCreateRGBProfile mentioned in Re: Create AdobeRGB profile from scratch

2008-05-31 Thread Marti Maria
Hi, If you know Python, you may want to give a try to the Python wrapper. There is a sample in lcms-1.17/python/testbed/Createmsh.py that does exactly what you want. Regards Marti Maria The littleCMS project www.littlecms.com On 31/05/2008 13:41:33, L ([EMAIL PROTECTED]) wrote: Hi, all

Re: [Lcms-user] Confused about cmsCreateMultiprofileTransform error

2008-05-16 Thread Marti Maria
Regards Marti Maria The littleCMS project www.littlecms.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Mills Sent: Friday, May 16, 2008 4:42 PM To: lcms-user lcms-user Subject: Re: [Lcms-user] Confused about cmsCreateMultiprofileTransform

Re: [Lcms-user] Speed of RGB - Lab -RGB

2008-03-07 Thread Marti Maria
to increase accuracy. Next versions of lcms would use V4 ICC encoding, which solves partially the problem, but I suspect that would not apply in your case since you need V2 Lab encoding for doing your calculations. Hope this helps All the best Marti Maria The littleCMS project www.littlecms.com

Re: [Lcms-user] Python binding documentation

2008-02-04 Thread marti . maria
Take a look on the python/testbed folder, there are some samples on how to use it. Documentation is scarce since I don't support it directly. There are samples on cmsDoTransform in lab2adobe.py, sRGB2adobe.py and others. Hope this helps Marti Quoting Frédéric Mantegazza [EMAIL PROTECTED]: On

Re: [Lcms-user] Lab to RGB not yielding expected values

2007-12-14 Thread Marti Maria
model a CRT quite closely, but would probably fail on LCD. I think a LUT-based profile would be more adequate, anyway that is up to the profile manufacturer. Hope this helps All the best Marti Maria The littleCMS project www.littlecms.com ---Original Message- From: [EMAIL

Re: [Lcms-user] Pantone Huey and little cms.

2007-09-15 Thread Marti Maria
Hi, Maybe I've missed some messages on this thread, sorry. What is the relationship with pantone huey? I've tried v4 sRGB from ICC, and I got good results: $ icctrans -i /cygdrive/f/sRGB_v4_ICC_preference.icc -v LittleCMS ColorSpace conversion calculator - v3.0 From: sRGB v4 ICC preference

Re: [Lcms-user] Pantone Huey and little cms.

2007-09-15 Thread Marti Maria
Hi Kai-Uwe, Neat trick. I am including it in my sources, thanks! Regards Marti. On 15/09/2007 20:54:36, Kai-Uwe Behrmann ([EMAIL PROTECTED]) wrote: Marti, in cmsio1.c:1507 lcms bails out if wcstombs returns with -1, as is the case for the mentioned profile. I tested on x86 linux with

Re: [Lcms-user] [Fwd: Using BtoA1 table with rendering intent absolute]

2007-09-08 Thread Marti Maria
doesn't) Hope this helps Marti Maria The littleCMS project www.littlecms.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Weissberg Sent: Friday, September 07, 2007 2:14 PM To: lcms-user@lists.sourceforge.net Subject: [Lcms-user] [Fwd: Using

Re: [Lcms-user] Detecting if point is in or out of gamut

2007-08-18 Thread Marti Maria
The gamt tag cannot be used because it is broken on many profiles. Lcms does not uses this tag but its own method (going back and forth in rel.col intent to see if the color changes). That is the gamut check capability, described in documentation. For a better method, build a gamut solid and

Re: [Lcms-user] Convert HLS to RGB

2007-08-18 Thread Marti Maria
Hi, HLS is supported just as an option (TYPE_HLS_8 and so) but I have never seen any profile in this space. The encoding is not even described in ICC spec. I wonder if anybody has used it. You could try to build a HLS devicelink (see 'samples' folder for some sample programs). Unless you need to

Re: [Lcms-user] black point compensation algorithm

2007-08-03 Thread Marti Maria
%20point%20compensation.doc Be warned patents and copyrights may apply on Adobe's BPC. Regards Marti Maria The littleCMS project www.littlecms.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tobias Brockamp Sent: Thursday, August 02, 2007 2:08 PM To: lcms

Re: [Lcms-user] cmsSetLanguage

2007-01-20 Thread Marti Maria
Hi Kai-Uwe, The ordering should be big endian, so it is correct only in a Mac. Probably I should fix that in next release, maybe allowing char* instead of int? Regards Marti Maria The littleCMS project www.littlecms.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Re: [Lcms-user] Problem with modifying the lightness of white pixels with lcms?

2007-01-11 Thread Marti Maria
Hi That's not a bug, that's a feature. :-) Some (broken) profiles does not map pure white to pure white, and this may cause scum dot which is small, disperse dots on the printout. Please note that ICC spec *requires* white to be mapped on white. Lcms silently fixes those broken profiles.

Re: [Lcms-user] pthread support in lcms 1.16

2006-12-30 Thread Marti Maria
there is no way to keep backwards compatibility other than providing new functions. This would pollute the API and make things even more confusing. Honestly, I think those are corner cases. Regards Marti Maria The littleCMS project www.littlecms.com -Original Message- From: [EMAIL PROTECTED

Re: [Lcms-user] pthread support in lcms 1.16

2006-12-30 Thread Marti Maria
lcms.pc as thread safe. Regards Marti -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Cupitt Sent: Saturday, December 30, 2006 12:53 PM Cc: lcms-user@lists.sourceforge.net Subject: Re: [Lcms-user] pthread support in lcms 1.16 On 12/29/06, Marti Maria

Re: [Lcms-user] cmsReadChromaticAdaptationMatrix request

2006-12-27 Thread Marti Maria
will not handle the tag. Regards Marti Maria The littleCMS project www.littlecms.com On 23/12/2006 17:05:53, Sergey Tolstov ([EMAIL PROTECTED]) wrote: Hi Marti, Thank you for your answer. I thought to create a temporary copy of matrix RGB profile parameters which has only gamma-table modified

[Lcms-user] ANNOUNCE: LittleCMS 1.16 released

2006-12-16 Thread Marti Maria
Hi, I am pleased to the announce the release 1.16 of LittleCMS open source color engine. LittleCMS intends to be a small-footprint CMM engine, providing cross platform color management based on ICC profiles. It is free under MIT license and for now is being used in many commercial free

Re: [Lcms-user] profile editing procedure

2005-02-14 Thread Marti Maria
that, hopefully. Regards, Marti Maria The little cms project http://www.littlecms.com - Original Message - From: Mike Russell [EMAIL PROTECTED] To: lcms-user@lists.sourceforge.net Sent: Saturday, February 12, 2005 5:54 AM Subject: [Lcms-user] profile editing procedure I want to change

Re: [Lcms-user] Re: [Openicc] Re: GIMP color management

2005-02-14 Thread Marti Maria
¿¿Where is the OpenICC list?? http://lists.freedesktop.org/mailman/listinfo/openicc Regards, Marti Maria The little cms project http://www.littlecms.com - Original Message - From: Francisco Bernal Rosso [EMAIL PROTECTED] To: Robin Rowe [EMAIL PROTECTED]; Sven Neumann [EMAIL

Re: [Lcms-user] Generic question on CMS

2005-02-09 Thread Marti Maria
= cmsCreateLabProfile(WhitePoint); And then use absolute colorimetric intent, but again, you probably don't want that, as it would add a huge yellow/blue cast to your image. Regards, Marti Maria The little cms project http://www.littlecms.com - Original Message - From: Stefan Schadt [EMAIL PROTECTED

Re: [Lcms-user] BOOL - LCMS_BOOL

2005-02-07 Thread Marti Maria
to be 32 bits. But that's non critical. The critical types are computed by autoconf and placed into icc34.h AFAIK there are several ports of lcms running in 64 bit platforms without problems. Has to be seen what happens in XP64 :-) Regards, Marti Maria The little cms project http://www.littlecms.com

<    1   2   3   4   5   >