[magick-users] More antialiasing ?
magickusers.domain.thewild at spamgourmet.org
magickusers.domain.thewild at spamgourmet.org
Tue Sep 4 23:27:53 PDT 2007
Hi Claus ! Thanks for your help !
Claus Cyrny - claus.cyrny at web.de a écrit :
>> I am converting an eps file to a tiff raster with this command line :
>> convert.ext -antialias -density 100 -compress LZW -depth 8 -colorspace
>> RGB my.eps my.tif
>
> what does '.ext' mean? Is this a typo? And why did you set '-depth' to
> '100'?
Yes, its a typo, I meant convert.exe (I'm running this on Win32).
In fact, I am generating GeoTiff images. That is why I need a specify resolution for the output (100 in that case, but I also render rasters in other resolutions).
> Is this the resolution of the output device? Btw, you don't need to specify
> 'RGB', because this is the default value.
OK, I did not know what the default was, so I thought it would not hurt.
>> It works fine, but I find that the antialiasing is quite bad.
>> You can look at the result here :
>> http://img513.imageshack.us/img513/7528/convertvs8.png
>
> Is this image representative for the images you have to convert?
> Why don't you convert them to indexed (palette-based) images,
> say, 64 colors? Thus, the TIFFs will become visibly smaller in file size.
> (I wouldn't recommend '-dither', though; you'll only be getting
> much noise in the images that way.)
Yes, it is very representative. As I mentionned above, I render GeoTiff images. That means they are tiles of a bigger map.
If I use a palette base image, I fear that there could be some palette changes from one tile to another and that this would make two neighboring tiles look very different.
Anyway, file size is not really the big problem here (even though smaller files would not hurt).
Thanks for your advices !
Regards
--
Arnaud
More information about the Magick-users
mailing list