On Monday 31 July 2006 09:32, JIM MacDonald wrote:
> > I'll look into this soon. I'm hesitant to add another rc option, maybe we
> > can consider using these settings as the defaults. I'll post again after
> > I have had a chance to play with it.
>
> Defaulting to lossless FlateEncode compression seems like a good idea,
> if the file is too big you can always run another distill cycle after
> wards manually.
>
> Another possibility would be to set the option based on the format of
> the image loaded (I'm  sure I read somewhere that it is planned to
> support formats other than PNG). ie FlateEncode for GIF's and PNG's
> and DCTEncode for JPEG's.

[...]

> Sure,
> http://jimmacdonald.co.uk/matplotlib/image.png
> http://jimmacdonald.co.uk/matplotlib/image.eps
> http://jimmacdonald.co.uk/matplotlib/image.py
>
> image.py generates image.eps from image.png. image.png is simple
> enough for ps2pdf not to use DCT encoding. Looking at the postscript
> shows that the image has resolution of 335x230 compared to the
> original of 318x301.

Would you post an example where the ps2pdf flags make a big difference on the 
output? I just tried with the above png, but I cant tell the difference 
between the results with/without the new flags.

Darren

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to