Hello all,
I know this question might have been asked before, and I've gone through most of the answers, but there is one aspect of the conversion that I can't get to work.
I am interested in converting a bunch of jpg images to eps. I do this by:
mogrify -format eps *.jpg -quality 100
As far as I know 100 is the highest for quality, but the resulting eps file is a bit pixelated still compared to the original jpg file. Is there anyway to make it come out with better quality?
(the original jpg image is 72dpi, 288x192 pixels)
Thank you in advance ^_^
[Solved] Convert jpg to eps, but control quality
[Solved] Convert jpg to eps, but control quality
Last edited by Leiko on 2008-08-27T11:16:31-07:00, edited 1 time in total.
Re: Convert jpg to eps, but control quality
Add the quality option before the format option.
Re: Convert jpg to eps, but control quality
Ah thanks. I think I just left off -quality last time I did it, and it seems to be default 100 quality.
The image with -quality 100 still comes out a bit pixilated.
I'm wondering if it's because the original jpg image is only 72 dpi, but I'd think that the eps file would come out at least as good as the jpg file.
If anyone has any ideas i'd appreciate it
Thanks again.
The image with -quality 100 still comes out a bit pixilated.
I'm wondering if it's because the original jpg image is only 72 dpi, but I'd think that the eps file would come out at least as good as the jpg file.
If anyone has any ideas i'd appreciate it
Thanks again.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Convert jpg to eps, but control quality
the default quality, according to the documentation, is 85 not 100.
However, I am not sure why that would do anything as you are converting from jpg to eps. So I would think you need to specify the density you want for the eps. but I am no expert on vector format files such as pdf, eps, ps, etc.
However, I am not sure why that would do anything as you are converting from jpg to eps. So I would think you need to specify the density you want for the eps. but I am no expert on vector format files such as pdf, eps, ps, etc.
Re: Convert jpg to eps, but control quality
Thanks for the help everyone
Turns out that
mogrify -quality 100 -format eps *.jpg
works just fine. For some reason when I was opening the eps images with GSView they looked pixelated, but when I took them into LaTeX and compiled they turn out looking good. Hehe who knew!
Turns out that
mogrify -quality 100 -format eps *.jpg
works just fine. For some reason when I was opening the eps images with GSView they looked pixelated, but when I took them into LaTeX and compiled they turn out looking good. Hehe who knew!
Re: [Solved] Convert jpg to eps, but control quality
Haven't tried this conversion yet,
however, when creating an EPS with photoshop, you can embed a low res TIFF in it. I wonder if you were seeing the low res preview, instead of the actual postscript?
Am about to try ImageMagick, and will see how I get on myself, =). I just came across this thread when searching to see if jpg to eps was possible using ImageMagick, =). Great to hear you had success! =)
however, when creating an EPS with photoshop, you can embed a low res TIFF in it. I wonder if you were seeing the low res preview, instead of the actual postscript?
Am about to try ImageMagick, and will see how I get on myself, =). I just came across this thread when searching to see if jpg to eps was possible using ImageMagick, =). Great to hear you had success! =)
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: [Solved] Convert jpg to eps, but control quality
Note that raster to vector conversion such as you are doing from jpg to eps is not going to give a small vector file. I think each pixel will become a small circle in the vector output file.