Jaggy edges
-
- Posts: 24
- Joined: 2018-06-17T12:09:46-07:00
- Authentication code: 1152
Jaggy edges
Hi, When we convert an EPS to Jpeg, some edges become jaggy/rough.
Please see sample in the link below.
https://postimg.cc/image/8w29uf8bl/
Imagemagick version: 6.8
The code we are using: PHP CLI
OS/platform: Linux
Command we use for this: convert -density 1200 -units pixelsperinch -colorspace sRGB 74296.eps -resize 25% tmp.jpg
Link to the original image: https://www.dropbox.com/s/fq4gjzvsnm1nu0v/395.eps?dl=0
Your help would be highly appreciated. Thanks!
Please see sample in the link below.
https://postimg.cc/image/8w29uf8bl/
Imagemagick version: 6.8
The code we are using: PHP CLI
OS/platform: Linux
Command we use for this: convert -density 1200 -units pixelsperinch -colorspace sRGB 74296.eps -resize 25% tmp.jpg
Link to the original image: https://www.dropbox.com/s/fq4gjzvsnm1nu0v/395.eps?dl=0
Your help would be highly appreciated. Thanks!
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Jaggy edges
I do not see any jaggy edges in your output. Can you point them out better? When I run your command on IM 6.9.10.1 Q16 Mac OSX, it looks fine to me. Perhaps I am missing what you call "jaggy edges"?
What is your exact ImageMagick version, i.e. 6.8.x.x
You can get that from
convert -version
What is your exact ImageMagick version, i.e. 6.8.x.x
You can get that from
convert -version
-
- Posts: 24
- Joined: 2018-06-17T12:09:46-07:00
- Authentication code: 1152
Re: Jaggy edges
I mean rough edges, I tried putting arrows where it can be better seen.
https://postimg.cc/image/ftfa9g7f5/
I'll find out the imagemagick version.
https://postimg.cc/image/ftfa9g7f5/
I'll find out the imagemagick version.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Jaggy edges
I still do not see that issue on the image you posted using ImageMagick 6.9.10.1. The latest image is not the same as the one you are showing nor the one in your command line. Your 6.8 version is very old. Perhaps you should upgrade.
-
- Posts: 24
- Joined: 2018-06-17T12:09:46-07:00
- Authentication code: 1152
Re: Jaggy edges
Fred, You tried converting using your IM version 6.9.10.1. and the output was not like ours? the edges/lines are smooth?
Our current version is: Version: ImageMagick 6.7.7-10 2017-07-31 Q16 http://www.imagemagick.org Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC
Our current version is: Version: ImageMagick 6.7.7-10 2017-07-31 Q16 http://www.imagemagick.org Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Jaggy edges
Here is my result.
Code: Select all
convert -density 1200 -units pixelsperinch -colorspace sRGB 395.eps -resize 25% 395.jpg
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Jaggy edges
That is very very old. I suggest you upgrade. Is your Ghostscript also old? If before about v9.19, I suggest you also upgrade that.stockphotos wrote:Our current version is: Version: ImageMagick 6.7.7-10
snibgo's IM pages: im.snibgo.com
-
- Posts: 24
- Joined: 2018-06-17T12:09:46-07:00
- Authentication code: 1152
Re: Jaggy edges
We are having a very hard time doing any upgrades with DreamHost.
Can anyone recommend a good hosting company that will allow us to upgrade Imagemagick?
Can anyone recommend a good hosting company that will allow us to upgrade Imagemagick?
-
- Posts: 24
- Joined: 2018-06-17T12:09:46-07:00
- Authentication code: 1152
Re: Jaggy edges
BlueHost has ImageMagick 6.7.2-7 2017-03-22 Q16 installed on their servers. is this better?
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Jaggy edges
IM 6.7.2.7 is ancient, though on Linux, the date of the last patch is more important, since they keep patching old versions. The patch does not show the proper version of the patch and could be buggy. If possible you should try to find a host that will install a private version of ImageMagick on your server.
I believe I have heard of host supporting 6.7.8.9. But that is ancient also. I do not know of any Linux distribution including a proper modern version of ImageMagick.
See this link and the host company. https://help.dreamhost.com/hc/en-us/art ... ed-hosting
Also see https://www.whoishostingthis.com/compare/imagemagick/
A more thorough search of "versions of Imagemagick on hosted servers" on Google may uncover more relevant links.
I believe I have heard of host supporting 6.7.8.9. But that is ancient also. I do not know of any Linux distribution including a proper modern version of ImageMagick.
See this link and the host company. https://help.dreamhost.com/hc/en-us/art ... ed-hosting
Also see https://www.whoishostingthis.com/compare/imagemagick/
A more thorough search of "versions of Imagemagick on hosted servers" on Google may uncover more relevant links.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Jaggy edges
If you are not getting the same results as I did with the same version of ImageMagick, then check your version of Ghostscript and upgrade to the latest version. I was using 9.23
-
- Posts: 24
- Joined: 2018-06-17T12:09:46-07:00
- Authentication code: 1152
Re: Jaggy edges
BlueHost just told me that with their VPS hosting they provide access to the root folder, so I'm thinking of asking my developer to have the newest version of IM installed.
-
- Posts: 24
- Joined: 2018-06-17T12:09:46-07:00
- Authentication code: 1152
Re: Jaggy edges
Fred, Thanks so much! I'll keep you guys posted. I highly appreciate your assistance!
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Jaggy edges
Did you check your version of Ghostscript? That could just be the issue.
-
- Posts: 24
- Joined: 2018-06-17T12:09:46-07:00
- Authentication code: 1152