Jagged edges for converted .ai files

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
thisisjohnbrown
Posts: 4
Joined: 2011-02-24T15:34:21-07:00
Authentication code: 8675308

Jagged edges for converted .ai files

Post by thisisjohnbrown »

Using IM 6.6.6-3 Q16, Mac, through Terminal

When I convert an .ai file, I get super aliased lines.
Original:
http://cl.ly/0a2343181E0d2s0W1V2s
Converted:
http://cl.ly/2W0k0A1o322U0s1V3x1B

I have tried high -density and then resizing it, as well as a couple of random option, but I always get these jagged lines.

Is it possible to get these smoothed out, or is it just a product of the conversion that I will have to deal with?

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

Re: Jagged edges for converted .ai files

Post by fmw42 »

post your ai file and the exact command line.

you may also want to upgrade as your output is PNG and there have been many changes to PNG processing over the last number of release. see the changelog http://www.imagemagick.org/script/changelog.php
thisisjohnbrown
Posts: 4
Joined: 2011-02-24T15:34:21-07:00
Authentication code: 8675308

Re: Jagged edges for converted .ai files

Post by thisisjohnbrown »

Yeah, I have tried both png and jpeg with the same problem. I will update anyway.

The file is here:
http://ge.tt/4TFLdjz

It's a single artboard file.

Thanks.
thisisjohnbrown
Posts: 4
Joined: 2011-02-24T15:34:21-07:00
Authentication code: 8675308

Re: Jagged edges for converted .ai files

Post by thisisjohnbrown »

Sorry, forgot to post command:

Code: Select all

convert -channel RGBA -colorspace RGB /Users/johnbrown/Desktop/singleBadge.ai[0] -density 1000 -resize 700 /Users/johnbrown/Desktop/singleBadge.jpg
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Jagged edges for converted .ai files

Post by anthony »

Set density BEFORE reading the AI file.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
thisisjohnbrown
Posts: 4
Joined: 2011-02-24T15:34:21-07:00
Authentication code: 8675308

Re: Jagged edges for converted .ai files

Post by thisisjohnbrown »

You're a peach, anthony. Thanks for the quick reply.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Jagged edges for converted .ai files

Post by anthony »

thisisjohnbrown wrote:You're a peach, anthony.
Oooo... I hope not. I shave too much as it is!
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply