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.