Thanks Robin, I'm including this in 2.2 master sources. 

Regards
Marti

Original Message:
-----------------
From: Robin Watts robin.wa...@artifex.com
Date: Mon, 04 Apr 2011 16:26:11 +0100
To: lcms-user@lists.sourceforge.net
Subject: [Lcms-user] Small API addition to lcms v2


Gents,

I have recently started the process of modifying Ghostscript to be
able to use lcms v2 rather than v1 as is currently the case.

In so doing, I have found a couple of things I've had to tweak within
the library. I plan to start to feed these back in the hopes that
either they will be adopted within the release versions of the
library, or that you can inform me how to get the same effects
without such modifications.

I'll break these submissions down into 1 per email for simplicity. So
the first one...

In lcms v1, the profile structure type was public, so we could read
the current input and output types for a given transform directly. In
lcms v2 you have taken the (very reasonable) step of hiding the
structure away as an opaque type. In order to easily use our code
that calls cmsChangeBuffersFormat, we'd like the ability to get the
current input and output format for a transform.

I have therefore added 2 trivial functions to the API to achieve
this. Patch attached below.

Thanks,

Robin
-- 


--------------------------------------------------------------------
mail2web.com – What can On Demand Business Solutions do for you?
http://link.mail2web.com/Business/SharePoint



------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to