LyX 2.3 and 2.4 have troubles displaying EPS images
Thibaut Cuvelier
tcuvelier at lyx.org
Thu Feb 10 01:22:58 UTC 2022
On Wed, 9 Feb 2022 at 22:45, Dr Eberhard Lisse <nospam at lisse.na> wrote:
> Is the issue displaying it on the screen or in the resulting PDF?
>
For me, only the preview in LyX: LaTeX handles the EPS without troubles.
> Try GraphicsMagick :-)-O
>
Isn't there a difference in the number of supported formats? Both are quite
copious (https://imagemagick.org/script/formats.php#supported vs.
http://www.graphicsmagick.org/formats.html), I'm not sure there's any
noticeable difference for a LyX user.
Digging deeper into Photoshop's behaviour, it seems that the TIFF portion
is a low-quality preview of the actual content (by default, using only one
bit per pixel). Among the two images output by ImageMagick (with a simple
magick $$i.eps $$o.png), the preview is the second file ($$o-1.png), while
the expected one is the first ($$o-0.png).
As I understand, the standard behaviour with pdflatex is to go through
epstopdf, which internally uses GhostScript. It doesn't care about the
preview and only outputs the image that corresponds to ImageMagick's
$$o-0.png.
(However, I'm really unfamiliar with TeX and derivatives' code source, so I
could not really triple check this.)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20220210/472d44d0/attachment.html>
More information about the lyx-devel
mailing list