[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Texmacs-dev] Conversion question

From: Norbert Nemec
Subject: Re: [Texmacs-dev] Conversion question
Date: Thu, 30 Jun 2005 09:35:10 +0200
User-agent: Mozilla Thunderbird 1.0.2 (X11/20050404)

Joris van der Hoeven wrote:

>Hi *,
>Someone knows what is the most standard way to convert a jpeg image
>to postscript? The current way TeXmacs does this is not fully correct.
Actually, the conversion of tif/gif/png and other lossless formats is
both incorrect and inefficient as well.

PostScript 3 allows to embed tif in a compressed form. The debian
package libtiff-tools
contains a program tiff2ps, which exploits this possibility. (options -e
-3 -y)

Furthermore, be aware that the current way of conversion, using pnmtops
(which should certainly be continued to be used as fallback) handles the
image-size and DPI information incorrectly.

Ideally, the conversion should respect the DPI information from the
original picture. I have not managed yet, though, to write a script that
does this reliably.

Also be aware, that changing the bitmap conversion may render existing
documents broken, if they rely on some picture size, based on the
current (incorrect and unpredictable) conversion.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]