Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Hi i have some question about manipulation of images.
The situation is that we have a plain bitmap image (bmp). We want to
1.-convert it to black & white (monochrome)
2.-Get instead of the common black & white image, a ... hmmm how can i call it "binarized" image , you know having a bidimentional array of 0's and 1's , so we can apply some personalized algorithms.
I have accomplished the first step with imagemagick (mogrify -monochrome file) but i would like to know if there is a program or recommended approach to convert each one of those black/white pixes into 0's and 1's
Ok, basically i need to find a way to access this RGBQUAD array in a monochrome bitmap and check the lower and higher parts of all the bytes... with this info I could decide to turn each byte into a pair of 0 or 1 right?