1
(define pic_bitmap (read-bitmap "res/pencil.png"))
(define pixvec (make-bytes (* 4 (send pic_bitmap get-height) (send pic_bitmap get-width))))
(send pic_bitmap get-argb-pixels 0 0
  (send pic_bitmap get-width)
  (send pic_bitmap get-height)
  pixvec)

For immediate assistance, please email our customer support: [email protected]

Download RAW File