groff
[Top][All Lists]
Advanced

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

Re: [Groff] ps: import of an EPS file with binary data


From: Schindler Patrik
Subject: Re: [Groff] ps: import of an EPS file with binary data
Date: Thu, 5 Jul 2012 23:17:58 +0200

Hi Steve,

Am 05.07.2012 um 20:28 schrieb Steve Izma:

I'm using convert (from imagemagick) to crop and convert pbm
images into encapsulated postscript. When I prefix the output
filename with eps2: I get a very compact EPS file where the image
data is contained as binary like this:

userdict begin
%%BeginData:        72200 Binary Bytes
DisplayImage
[a few lines of integers]
[72200 binary bytes, presumably]
%%EndData
end

The resulting image is displayable (e.g., in okular), but when it
gets imported into groff with either .PSPIC or \X'ps: import ...'
only the first part of the binary gets cleanly imported into the
PostScript output (up to the first newline character) and the
rest becomes a series of ^M's -- which print black.


I observed similar behaviour years ago but I live with that limitation. I never got up to the point to desperately need a fix.


:wq! PoC





reply via email to

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