[plt-scheme] help
Use:
(define the-bitmap (make-object bitmap% <<filename>>))
to create a bitmap and then use a bitmap-dc to poke around with the bitmap:
(define the-bdc (make-object bitmap-dc% the-bitmap))
(send the-bdc get-pixel ...)
Search in Help Desk for "bitmap-dc%" to see how the get-pixel method
works.
Robby
At Tue, 21 Mar 2006 10:02:41 -0800 (PST), Amit Gupta wrote:
> hi
> can somebody please tell if there exists a way to read an image file (format may be .bmp
> .jpg etc) and create its pixel map( a map which contains 0 if that pixxel is white else 1).
>
> Thanks
> Amit Gupta
>
>
>
>
>
> ---------------------------------
> Relax. Yahoo! Mail virus scanning helps detect nasty
> viruses!_________________________________________________
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme