Hi,
I'm trying to make a script to automatically increases the canevas of one image, resize another and merge one into another. All my images are in .eps and I would want to have the result in .eps but when I resize (or simply convert) one .eps into .eps, .jpg or .png, the result is blurred or even worst.
When I do it with GIMP, I have a nice result but I try differents commands found on different forums and the result is still the same. (convert SED33.eps -resize -quality 100 2.png for example)
Is it even possible to do what I want to do with IM ? or do I need to use Scheme or Python for this ?
OS : Mac OSX Yosemite
ImageMagick 6.9.1-0
GPL Ghostscript 9.16 (2015-03-30)
Thank you for your answers
Skops
Converted .eps is blurred
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Converted .eps is blurred
The EPS probably contains vector elements, which IM rasterises. Try it with a "-density" setting before reading the eps file.
snibgo's IM pages: im.snibgo.com
Re: Converted .eps is blurred
Following viewtopic.php?t=23272 , I used the "-density" settings.
I want to convert the image from 590*421 to 425*303, how I compute the best value for the density ?
Skops
I want to convert the image from 590*421 to 425*303, how I compute the best value for the density ?
Skops
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Converted .eps is blurred
I wouldn't. I would choose the density setting that gave the quality I needed, then resize afterwards.
snibgo's IM pages: im.snibgo.com
Re: Converted .eps is blurred
MMM I think I don't follow you, what should I change in this command :
convert -density 1200 SED33.eps -resize 425x303 -quality 100 essai.eps
?
Skops
convert -density 1200 SED33.eps -resize 425x303 -quality 100 essai.eps
?
Skops
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Converted .eps is blurred
Why do you want to change it? What does it do that you don't like?
snibgo's IM pages: im.snibgo.com
Re: Converted .eps is blurred
The resulting image was blurried (when it was included in the PDF) but I manage to have a good final image with -density 300 so it is ok now
Thanks
Skops
Thanks
Skops