[magick-users] converting black and white TIFF image into a matrix of 1s and 0s
Johnson Lau
johnsonlau at cuhk.edu.hk
Wed May 7 02:56:02 PDT 2008
Dear all,
I need to convert some black and white TIFF images into a matrix of 1s and 0s.
For example, there is a black and white TIFF with 4x4 pixels (a square
represents a pixel):
http://www.comminn.net/ftp/4x4.JPG
I would like to convert it into a plaintext matrix like this:
0011
1001
1101
1110
Could imagemagick help? Or I need other software? Thanks for your help!
Regards,
Johnson Lau
More information about the Magick-users
mailing list