stringdata->bitmap

Synopsis

(stringdata->bitmap bitmap width height)

Parameters

  • bitmap
  • width
  • height

Description

Side Effects

Return Value

A bitmap with the desired dimensions is returned containing the pixel data.

Example

> (define a (bitmap-create 100 20))
a
> (define b (bitmap->stringdata a))
b
> (define c (stringdata->bitmap b 100 20))
c
> (bitmap-equal? a c)
#t
>