You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Pierre-Yves Landure <py...@dorigo.fr> on 2006/01/11 11:34:01 UTC

Cmyk and FOP 0.91

Hello,

i'm currently using FOP 0.20.5 and having issue with RGB / CMYK. Can someone
tell me if CMYK is supported in FOP 0.91 (using rgb-icc) ?

Thanx

Pierre-Yves Landure

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: Cmyk and FOP 0.91

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
I think there is some pseudo-standard in the FO world to specify CMYK
colors: http://www.xslfo.info/examples/colors_1.htm shows that. The
"pseudo" part is that I think "#CMYK" is a convention, not an actual
ICC Color Profile. I'm not sure, though.

So it would be better to properly implement the rgb-icc() function and
to extend FOP's color support which BTW can't be extended using an
extension function. FOP is completely focused on sRGB at the moment.

Every now and then CMYK comes up as a topic. I'd wish someone would
finally sit down and do the necessary changes. It can't be that
difficult if you know a little bit about color management. The
infrastructure is there, it just needs to be extended to accomodate
non-sRGB colors. But it's not a one-hour job. The changes will go
through the whole codebase.

If the latter is not an option, there are several tools on the net that
allow conversion of PDFs from RGB to CMYK.

On 11.01.2006 22:47:46 Andreas L Delmelle wrote:
> On Jan 11, 2006, at 14:38, Pierre-Yves Landuré wrote:
> 
> > Ok, thanx for your reply.
> >
> > Now, given that i know :
> >
> > wanted CMYK.
> > used RGB.
> >
> > and that color is only use by text elements.
> >
> > Is there a way to "manualy" convert pdf colorspace ? By manualy, i  
> > mean writing a script that find elements having for color a given  
> > RGB value, and that translate them to CMYK.
> 
> Not that I know of immediately... but it might be a nice idea, if  
> possible and anyone is willing to invest time in it, to add an  
> extension function, fox:cmyk()
> Come to think of it, I don't really know how easy extension functions  
> would be to implement...?


Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: Cmyk and FOP 0.91

Posted by Andreas L Delmelle <a_...@pandora.be>.
On Jan 11, 2006, at 14:38, Pierre-Yves Landuré wrote:

> Ok, thanx for your reply.
>
> Now, given that i know :
>
> wanted CMYK.
> used RGB.
>
> and that color is only use by text elements.
>
> Is there a way to "manualy" convert pdf colorspace ? By manualy, i  
> mean writing a script that find elements having for color a given  
> RGB value, and that translate them to CMYK.

Not that I know of immediately... but it might be a nice idea, if  
possible and anyone is willing to invest time in it, to add an  
extension function, fox:cmyk()
Come to think of it, I don't really know how easy extension functions  
would be to implement...?


Cheers,

Andreas

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: Cmyk and FOP 0.91

Posted by Pierre-Yves Landuré <py...@dorigo.fr>.
Ok, thanx for your reply.

Now, given that i know :

wanted CMYK.
used RGB.

and that color is only use by text elements.

Is there a way to "manualy" convert pdf colorspace ? By manualy, i mean 
writing a script that find elements having for color a given RGB value, 
and that translate them to CMYK.

Thanx.

Pierre-Yves

Dirk Bromberg a écrit :

> Hi,
>
> i think it is not supported.
>
> you can only use rgb() and hex.
>
> Dirk
>
> Pierre-Yves Landure wrote:
> > Hello,
> >
> > i'm currently using FOP 0.20.5 and having issue with RGB / CMYK. Can 
> someone
> > tell me if CMYK is supported in FOP 0.91 (using rgb-icc) ?
> >
> > Thanx
> >
> > Pierre-Yves Landure
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> > For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
> >
> >  
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>


Re: Cmyk and FOP 0.91

Posted by Dirk Bromberg <br...@tzi.de>.
Hi,

i think it is not supported.

you can only use rgb() and hex.

Dirk

Pierre-Yves Landure wrote:
> Hello,
>
> i'm currently using FOP 0.20.5 and having issue with RGB / CMYK. Can someone
> tell me if CMYK is supported in FOP 0.91 (using rgb-icc) ?
>
> Thanx
>
> Pierre-Yves Landure
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
>   

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org