[magick-users] convert -convolve , Convolution problem

mattia mattia.parigiani at gmail.com
Mon Mar 3 09:38:58 PST 2008


Hello,

I have an 8 bit grey scale tiff image; size 1500x4600, 6MB

I am trying to do the following to operate a convolution :

*convert b1.tif -convolve "0,1,0,1,1,1,0,1,0" out1.tif

*Where b1.tif is the original image...

But, out1.tif looks completely unchanged as if no operation happened...

The shell looks like this when I run the command:

*mattia at mattia-laptop:~/Desktop/data/prove$ convert b1.tif -bias 0 -convolve
"0,1,0,1,1,1,0,1,0" out1.tif
convert: b1.tif: unknown field with tag 42112 (0xa480) encountered.
`TIFFReadDirectory'.
mattia at mattia-laptop:~/Desktop/data/prove$ *

The warning I guess can be ignored as the same kind of thing happens if I
invoke the command on a PGM image (but with no Tiff realated warnings)

Final note: the original image is 6MB, the output one is 12MB

I am confused, please help!!
What is happening? How can I get my convolution to run flawless??

Regards


-- 
Mattia


More information about the Magick-users mailing list