[magick-users] jpg to eps keeping all pixels [Fixed]
luis
luis at itaapy.com
Tue Jan 2 08:23:27 CST 2007
luis at itaapy.com a écrit :
> I have a jpg file::
>
> $ identify test.jpg
> test.jpg JPEG 809x588 DirectClass 98kb
> I need to convert it to eps file keeping 809x588
>
> right now i get 613x441::
>
> $ convert test.jpg test.eps; identify test.eps
> test.eps PS 613x441 613x441+0+0 DirectClass 792kb
>
> Does any convert option can help me ?
""" convert -units PixelsPerInch -density 72 x.jpg x.eps """
Seams to work, at least for my jpegs collection.
$ for i in `ls *.jpg`; do
> convert -units PixelsPerInch -density 72 $i $i.eps
> identify -verbose $i* | grep -E '^Ima|Geo|Res|Uni'
> done
Image: bugzilla_choose_product.jpg
Geometry: 800x600
Units: PixelsPerCentimeter
Image: bugzilla_choose_product.jpg.eps
Geometry: 800x600
Resolution: 72x72
Units: Undefined
Image: bugzilla_enter_bug.jpg
Geometry: 809x588
Resolution: 95x96
Units: PixelsPerInch
Image: bugzilla_enter_bug.jpg.eps
Geometry: 809x588
Resolution: 72x72
Units: Undefined
Image: bugzilla.jpg
Geometry: 800x600
Units: PixelsPerCentimeter
Image: bugzilla.jpg.eps
Geometry: 800x600
Resolution: 72x72
Units: Undefined
$
Luis
PS: I still have not a clear understanding of all that, and some
problems to keep all pixels in png -> eps.
--
Luis Belmar-Letelier
More information about the Magick-users
mailing list