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 ImageMagick and EPS files (and any other
> vector-based graphics format)...
>
> ImageMagick is a raster-based system.  When it loads a vector-based
> graphic, it implicitly rasterizes it, performs the requested operations,
> and then outputs the file format.  So, even if you output the result as
> a EPS file, you would have lost all vector-based info (like text and
> lines).  The result looks horrible.
>
> I have been contemplating adding some sort of functionality like this
> for the various formats.  I recently ran into issues like this for an
> IEEE publication and had to resort to obtaining a copy of Adobe Acrobat
> Pro to fix up my images.  It would be nice if I could pass an option to
> .savefig() like 'use_cmyk=True' or something and be done with it.

It's not trivial.  This might help:

http://www.littlecms.com/

See the tutorial for some nice background info.

Eric

>
> Ben Root
>
>
>
> ------------------------------------------------------------------------------
> Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
> Be part of this innovative community and reach millions of netbook users
> worldwide. Take advantage of special opportunities to increase revenue and
> speed time-to-market. Join now, and jumpstart your future.
> http://p.sf.net/sfu/intel-atom-d2d
>
>
>
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users



------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to