bad "crop" of eps-file

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
nkirov
Posts: 2
Joined: 2013-06-04T12:32:47-07:00
Authentication code: 6789

bad "crop" of eps-file

Post by nkirov »

Hello!
The following simple command:

convert -crop 50%x100% +repage td_093_1_01.eps td.eps

gives a very poor result. You can download the example file from:
http://nikolay.kirov.be/2010/folk/td_093_1_01.eps

Can anyone help me?

Regards,
Nikolay Kirov
User avatar
GreenKoopa
Posts: 457
Joined: 2010-11-04T17:24:08-07:00
Authentication code: 8675308

Re: bad "crop" of eps-file

Post by GreenKoopa »

The argument order should be:
convert td_093_1_01.eps -crop 50%x100% +repage td.eps
http://www.imagemagick.org/Usage/basics/#cmdline

"Very poor result" in what way? You want the original image split into two halves? Does it work if you output to a file format other that eps?

What IM version and platform?
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: bad "crop" of eps-file

Post by snibgo »

The image has vector data. IM converts this to raster, so the "-density" setting (before the input file) may be useful.

The result will be raster data in an EPS wrapper. If you want to retain the data as vector, IM is not the appropriate tool.
snibgo's IM pages: im.snibgo.com
nkirov
Posts: 2
Joined: 2013-06-04T12:32:47-07:00
Authentication code: 6789

Re: bad "crop" of eps-file

Post by nkirov »

Thanks snibo!
Do you know any tool for processing eps as vector data?

Nikolay
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: bad "crop" of eps-file

Post by fmw42 »

You might search google. Perhaps you can convert to SVG and edit the SVG file. See for example http://chrisdown.wordpress.com/2007/12/ ... onversion/
Post Reply