[PLUG] data array from a black and white graphics image

Steve D... blitters at gmail.com
Wed Aug 17 06:03:35 UTC 2005


On 8/16/05, Keith Lofstrom <keithl at kl-ic.com> wrote:
> 
> Is there any easy-to-use graphics software library with simple
> routines that can be pointed at a two-level black-and-white
> png/jpg/gif/tif/other? bitmap image, then returns an array of
> ones and zeros?  C, C++, or Perl would be acceptable.

  I suspect the "img2txt" utility could be rigged up to do what you
want.  There are several versions, in multiple languages, to choose
from.

Steve D...



More information about the PLUG mailing list