View Single Post
  #65   Report Post  
Posted to alt.binaries.schematics.electronic,sci.electronics.cad,sci.electronics.design
David Gravereaux David Gravereaux is offline
external usenet poster
 
Posts: 2
Default GhostScript/GhostView ??

Jim Thompson wrote:
Anyone using GhostScript/GhostView?

It's been awhile since I've used it.

I can't remember the way to crop a PostScript image.

I have a schematic that is like 5 transistors in the middle of the
page and would like to crop off all the excess white-space and border
markings before inserting in a Word document.

Thanks!

...Jim Thompson



pstoimg is probably the best tool. Something like this commandline I'm guessing.

$ pstoimg -type png -crop a -out outfile.png infile.ps


pstoimg is a perl script, but you could probably just run it in debug mode to
get the GS calls directly. I don't know how to set to set crop markers, sorry.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG+rSClZadkQh/RmERApJnAJ9bvPjy20HTgowSQrpM+Cw6f6dLwACgm9eR
IKZ8j10gZTPyF5pVHj8GEIM=
=JDKg
-----END PGP SIGNATURE-----