First of all: Thanks for your help! 2009/2/20 Ross Presser <[email protected]>
> See http://www.imagemagick.org/Usage/quantize/#two_color for some more > information and possibilities. > > > On Fri, Feb 20, 2009 at 2:39 PM, Ross Presser <[email protected]> wrote: > >> Grayscale is not a 1-bit colorspace, it is an 8-bit colorspace. If you >> really want black and white, you probably want it dithered. Try this: >> convert -monochrome -density 200 -depth 1 source.eps dest.png >> > This is what I already tries before. The quality is not enough for me. > Systems will still report your PNG as 8 bits per pixel; PNG doesn't have >> a 1-bit-per-pixel depth as I recall. TIFF does, though: >> > I wrote a small program in Delphi to scan pictures and save them in the PNG-format. As I do so, the pictures will be shown with an 1 bit depth. But I'm using a unit that I don't really understand. Maybe it's not conform with th specification of PNG ... > $ convert -monochrome -density 200 -depth 1 logo: test.tiff >> $ identify test.tiff >> test.tiff TIFF 640x480 640x480+0+0 DirectClass 1-bit 7.74219kb >> > I tested almost the whole day and right now I'm using this command line: convert -quality 100 -density 200 -colors 255 -colorspace Gray +dither -depth 8 source.eps dest.png This makes good results. Good enought for me. But now I have another problem/question: Is it possible to tell convert how to name the ouput files? I use convert to realize a PNG-printer. If I print more than 9 pages convert names the files to name1.png name10.png name2.png ... I need to make changes to this files and it's almost impossible until the files are sorted in the way shown below. I would need to have the output files with a leading zero like name01.png name02.png ... name10.png Can you help me with this, too? Or should I open a new Thread? If you speed german, conversation would be easier. If not, don't matter. Greeting and have a nice weekend, Alex > On Fri, Feb 20, 2009 at 10:47 AM, Rechtsanwalt A. Winzer < >> [email protected]> wrote: >> >>> Hello, >>> >>> I'm not that good in english but I have a problem with convert and I'm >>> willing to solve it. I use convert with the following command-line: >>> >>> convert -colorspace Gray -density 200 -depth 1 source.eps dest.png >>> >>> The quality of the result is quite poor and the bit depth in some graphic >>> prograns (windows xp) is shown as 32 bit. >>> How can I make the picture with a depth of only one single bit and get a >>> better quality? >>> >>> Thanks >>> Alex >>> _______________________________________________ >>> Magick-users mailing list >>> [email protected] >>> http://studio.imagemagick.org/mailman/listinfo/magick-users >>> >>> >> > _______________________________________________ Magick-users mailing list [email protected] http://studio.imagemagick.org/mailman/listinfo/magick-users
