Re: [Lcms-user] error handling in lcms

2008-03-05 Thread Guy K. Kloss
On Wed, 05 Mar 2008 6:36:20 pm Guy K. Kloss wrote: > The input and output profiles are both TYPE_RGB_8 type, but I'm setting the > output profile to TYPE_Lab_8 to provoke an error. Therefore aTransform > should be NULL. But it isn't ... it's 134559216F :-( Sorry, that error is solved. Was the stup

[Lcms-user] error handling in lcms

2008-03-04 Thread Guy K. Kloss
Hi, I know there have been plenty of mails on this topic already, but still ... I'm quite a bit confused, and the suggested solutions all didn't work for me :-/ In unit tests I want to cover the case that e. g. incompatible colour spaces are used for a transform. But, of course within my appli

Re: [Lcms-user] Error handling

2008-02-18 Thread Frédéric
Le 17/2/2008, "Louis Solomon [SteelBytes]" <[EMAIL PROTECTED]> a écrit: > how about cmsSetErrorHandler() (and have the handler return anything other > then 0) I works :o) Thank you very much! -- Frédéric - This SF.net

Re: [Lcms-user] Error handling

2008-02-17 Thread Louis Solomon [SteelBytes]
how about cmsSetErrorHandler() (and have the handler return anything other then 0) Louis Solomon www.SteelBytes.com - Original Message - From: "Frédéric Mantegazza" <[EMAIL PROTECTED]> To: Sent: Monday, February 18, 2008 4:13 AM Subject: [Lcms-user] Error handling T

[Lcms-user] Error handling

2008-02-17 Thread Frédéric Mantegazza
There are 3 error levels: LCMS_ERROR_ABORT Aborts whole application LCMS_ERROR_SHOW Displays a message, but does not abort application LCMS_ERROR_IGNORE Does not show any message, however, operation is aborted. But is there a way to continue without printing any message (but still call the ha

Re: [Lcms-user] error handling

2007-06-25 Thread Marti.Maria
ROTECTED]> To: "Marti.Maria" <[EMAIL PROTECTED]> Sent: Monday, June 25, 2007 4:26 AM Subject: Re: [Lcms-user] error handling > If you have code dealing with those errors I don't. I just have code the causes these errors here's the experimental test harness I was using to crea

Re: [Lcms-user] error handling

2007-06-23 Thread Marti.Maria
at failure that I am finding by doing a little fuzzing Louis Solomon www.SteelBytes.com - Original Message - From: "Louis Solomon [SteelBytes]" <[EMAIL PROTECTED]> To: "lcms-user" Sent: Wednesday, June 13, 2007 4:39 PM Subject: [Lcms-user] error handling > Is

Re: [Lcms-user] error handling

2007-06-20 Thread Louis Solomon [SteelBytes]
ing a little fuzzing Louis Solomon www.SteelBytes.com - Original Message - From: "Louis Solomon [SteelBytes]" <[EMAIL PROTECTED]> To: "lcms-user" Sent: Wednesday, June 13, 2007 4:39 PM Subject: [Lcms-user] error handling > Is LCMS supposed to be able t

[Lcms-user] error handling

2007-06-12 Thread Louis Solomon [SteelBytes]
Is LCMS supposed to be able to recover from all errors if I use cmsSetErrorHandler and have my handler return 1? It doesn't. It recovers from most/many. eg, in cmsBuildOutputMatrixShaper, cmsReadICCGammaReversed does call the error handler on bad data, but cmsBuildOutputMatrixShaper still cal