Re: [Matplotlib-users] CMYK

2013-02-04 Thread Dieter
Thanks everybody, very insightful. I will specifically have a look at the pgf-tikz-backend, sounds great! Dieter -- View this message in context: http://matplotlib.1069221.n5.nabble.com/CMYK-tp40352p40394.html Sent from the matplotlib - users mailing list archive at Nabble.com.

Re: [Matplotlib-users] CMYK

2013-02-02 Thread Thomas Sprinzing
For what it's worth: Take a look at www.littlecms.com, its' python bindings: https://launchpad.net/pylittlecms and http://www.cazabon.com/pyCMS/ which seemingly has been built into PIL. I don't see the big deal in putting properly tagged RGB files into any publication, and then have the RIP

Re: [Matplotlib-users] CMYK

2013-02-02 Thread Thomas Sprinzing
Am 30.01.2013 um 19:38 schrieb Eric Firing: My somewhat vague recollection is that CMYK is fundamentally output-device dependent, As is RGB by the way. Define Red: Fire-Engine-Red? Red-as-your-spouses-lips-red? After a glass-of-red-wine-lips-red? Just in RGB, world and dog settled for the

Re: [Matplotlib-users] CMYK

2013-01-31 Thread Dieter
Thanks everybody for the input. As I see the answer is no, but it could be implemented. I did an extensive search, but I even struggle to find a good and practical solution how to convert a VECTORPLOT RGB to CMYK on a linux system. (One way I often found would be the Adobe suits, which I do not

Re: [Matplotlib-users] CMYK

2013-01-31 Thread Benjamin Root
On Thu, Jan 31, 2013 at 12:08 PM, Dieter dieter.werthmul...@ed.ac.ukwrote: Is there really no practical way to do this? How do others convert RGB plots to CMYK? (Importing my data into Matlab and plotting them there cannot be the only possibility!) Funny story about that. I was

Re: [Matplotlib-users] CMYK

2013-01-31 Thread Alan G Isaac
On 1/31/2013 12:55 PM, Benjamin Root wrote: I was submitting an article to an IEEE journal once. IEEE's submission process for images gives back fairly useful error messages, and it told me that my images (that I generated from matplotlib) needed to be in CMYK format. I had access to Adobe

Re: [Matplotlib-users] CMYK

2013-01-30 Thread Ignas Anikevičius
On 29/01/13 03:37:51 -0800, Dieter wrote: I was wondering if anything changed regarding this within the last 2.5 years since the last thread. Is there a way to produce CMYK with matplotlib? Hello everybody, I would be also interested in how to produce CMYK graphics without external fiddling.

Re: [Matplotlib-users] CMYK

2013-01-30 Thread Michael Droettboom
We don't currently have any support -- and we're still struggling in certain areas supporting RGBA consistently across the system. I think this would take someone writing a MEP (as a preliminary study of all of the changes that would be involved) and then shepherding it through implementation.

Re: [Matplotlib-users] CMYK

2013-01-30 Thread Eric Firing
On 2013/01/30 6:43 AM, Michael Droettboom wrote: We don't currently have any support -- and we're still struggling in certain areas supporting RGBA consistently across the system. I think this would take someone writing a MEP (as a preliminary study of all of the changes that would be

Re: [Matplotlib-users] CMYK

2013-01-30 Thread Paul Kuin
For what it's worth. While the RGB system is native to monitor devices, since they produce light of certain colours, CMYK is the colour system of printer materials etc. since they absorb the colours, but reflect those we see. That means designs must be made in CMYK for pronter materials and in

Re: [Matplotlib-users] CMYK

2013-01-30 Thread Eric Firing
On 2013/01/30 9:13 AM, Paul Kuin wrote: For what it's worth. While the RGB system is native to monitor devices, since they produce light of certain colours, CMYK is the colour system of printer materials etc. since they absorb the colours, but reflect those we see. That means designs must

Re: [Matplotlib-users] CMYK

2013-01-30 Thread Jae-Joon Lee
I agree with Eric that what we need is a backend that support CMYK color space. But matplotlib may need to provide some framework for handling the color profiles etc. My limited experience with ps_myck backend ( https://github.com/leejjoon/mpl_ps_cmyk) suggests that, as far as matplotlib provide

[Matplotlib-users] CMYK

2013-01-29 Thread Dieter
Hi all, I need to produce figures with CMYK colours, preferably vector-based. There are two old threads, one from November 2007 and one from August 2010, regarding this topic: - http://matplotlib.1069221.n5.nabble.com/rgb-versus-cmyk-tp32391.html -

Re: [Matplotlib-users] CMYK images

2010-08-27 Thread Michele De Stefano
Thanks a lot to all of you. First of all, I have to say that I agree with Benjamin Root. I'll try the tools some of you suggested (no problem in installing and trying, as soon as I can ... but it's good to know that there is a way to generate CMYK images using Python ... as I told it will be

[Matplotlib-users] CMYK images

2010-08-26 Thread Michele De Stefano
Is it possible to export EPS images with the CMYK color scheme ? There are several technical journals that require this format (for example Geophysiscs, one of the most important geophysical journals, The Leading Edge, and, I think, Geophysical Prospecting only to cite some of them). -- Michele

Re: [Matplotlib-users] CMYK images

2010-08-26 Thread Michael Droettboom
matplotlib does not have any built-in support for any color spaces other than RGB. You would need to use an external tool (if such a thing exists) to convert color spaces. Mike On 08/26/2010 10:06 AM, Michele De Stefano wrote: Is it possible to export EPS images with the CMYK color scheme ?

Re: [Matplotlib-users] CMYK images

2010-08-26 Thread Daπid
Image Magick and Inkscape seem to work for this. Probably the first one is easier to automatize in batch processing. On Thu, Aug 26, 2010 at 4:21 PM, Michael Droettboom md...@stsci.edu wrote: matplotlib does not have any built-in support for any color spaces other than RGB.  You would need to

Re: [Matplotlib-users] CMYK images

2010-08-26 Thread Michele De Stefano
Thanks. I think it will be useful to have cookbook instructions to perform this task on the Matplotlib web site. Meanwhile, is there anyone that can provide those instructions, please (I've not any of these tools installed yet, and I don't know them). ? 2010/8/26 Daπid davidmen...@gmail.com:

Re: [Matplotlib-users] CMYK images

2010-08-26 Thread Jonathan Slavin
This is starting to get off topic from matplotlib, but it is relevant to creating good EPS figures... When using ImageMagick to transform from to an EPS, your results will be much improved by using the parameter -density 288. This increases the resolution (and thus results in a much bigger

Re: [Matplotlib-users] CMYK images

2010-08-26 Thread Benjamin Root
On Thu, Aug 26, 2010 at 11:27 AM, Jonathan Slavin jsla...@cfa.harvard.eduwrote: This is starting to get off topic from matplotlib, but it is relevant to creating good EPS figures... When using ImageMagick to transform from to an EPS, your results will be much improved by using the parameter

Re: [Matplotlib-users] CMYK images

2010-08-26 Thread Eric Firing
On 08/26/2010 05:49 AM, Benjamin Root wrote: On Thu, Aug 26, 2010 at 9:39 AM, Daπid davidmen...@gmail.com mailto:davidmen...@gmail.com wrote: Image Magick and Inkscape seem to work for this. Probably the first one is easier to automatize in batch processing. Quick warning about

Re: [Matplotlib-users] CMYK images

2010-08-26 Thread Fernando Perez
On Thu, Aug 26, 2010 at 11:39 AM, Eric Firing efir...@hawaii.edu wrote: It's not trivial.  This might help: http://www.littlecms.com/ See the tutorial for some nice background info. And this could be a good start for a python-based workflow: http://www.cazabon.com/pyCMS/ *if* it works (it

Re: [Matplotlib-users] CMYK images

2010-08-26 Thread Christopher Barker
Fernando Perez wrote: http://www.littlecms.com/ PIL optionally uses littlecms -- so it may have what you need built in. -Chris NOTE: I haven't read the rest of this thread, to sorry if this is redundant information. -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division

Re: [Matplotlib-users] CMYK images

2010-08-26 Thread Robert Kern
On 8/26/10 3:26 PM, Fernando Perez wrote: On Thu, Aug 26, 2010 at 11:39 AM, Eric Firingefir...@hawaii.edu wrote: It's not trivial. This might help: http://www.littlecms.com/ See the tutorial for some nice background info. And this could be a good start for a python-based workflow:

Re: [Matplotlib-users] CMYK images

2010-08-26 Thread Jae-Joon Lee
While not a full solution, I have been playing with a ps backend that saves images (and only images) in CMYK color. lcms is required for color transform. http://github.com/leejjoon/mpl_ps_cmyk For example, import mpl_toolkits.ps_cmyk plt.savefig(test_cmyk.eps, format=eps_cmyk) Regards, -JJ