Quoting Praedor Atrebates <[EMAIL PROTECTED]>: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I am having a major problem trying to edit a postscript image. I have a > journal article, pdf format, that I've converted to postscript. There is a > > figure in this paper that I need. I cannot extract it with tools like > pdfimages (don't know why this particular figure is immune but it will not > come out with that tool). The only way I can get it is to open up the > postscript page that the figure is on and crop it down to just the figure. > > I have tried and tried to use Gimp but quite honestly, the output/results > from > the Gimp or horrible and unusable. The image, on the page in postscript > form, produced with pdf2ps, is beautiful. The lines are smooth and the text > > is sharp and readable. Run it through the Gimp, however, and the figure is > > rendered into trash. The text becomes stairstepped with gaps, and finer > lines vanish. I don't understand why pdf2ps can create such a beautiful > postscript image of a page (text AND figures) but the Gimp butchers it so > badly. I NEED this figure. Is there another tool available to linux that > can edit postscript images? All I need to do is crop the ps image/file to be > > just the figure.
I don't know of any tool that lets you edit postscript files. However, if you only need the figure, and you don't mind going into a pixel based format, why not use gs? gs -sDEVICE=ppmraw -r200 -q -dNOPAUSE -sOutputFile=pic.ppm -- pic.ps converts pic.ps into a ppm file. Change -r200 if you need a higher resolution. If you have a multipage postscript file, you can use pic%d.ppm as the template for the output filenames. Then there is also the 'convert' command from the ImageMagick package, but I didn't see at a glance how to control the resolution of the output images. I hope this helps, Narfi.
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
