sam2p broken (on windows)

Zdenek Wagner zdenek.wagner at
Wed Oct 18 18:38:21 CEST 2023

st 18. 10. 2023 v 17:32 odesílatel Uwe Siart <usenet at> napsal:
> Siep Kroonenberg via tex-live <tex-live at> writes:
> > An alternative is bmeps:
> >
> > bmeps -c file.png file.eps
> For whatever reason bmeps creates a 1 MB eps from an 80 kB jpg. That's
> why I prefer sam2p.
It probably uncompresses the image and makes an uncompressed EPS. You
should request Level 2 postscript which supports DCT filters (the same
compression used in JPG). The conversion should just convert binary
data to ASCII85 without touching the JPEG compression and create the
Level 2 image dictionary, bounding box etc. It can be done just in
ghostscript if you learn Postscript. 80 kB jpg should be convertec to
approximately 110 kB EPS Level 2.

> I'll keep TL22 as a fallback :-)
> --
> Uwe

Zdeněk Wagner

More information about the tex-live mailing list.