tesselate ( image tess-dim -- image-grid )


Vocabulary
images.tessellation

Inputs and outputs
imagean object
tess-diman object
image-gridan object


Definition


:: tesselate ( image tess-dim -- image-grid )
image bytes-per-pixel :> bpp image dim>> { bpp 1 } v*
:> image-dim' tess-dim { bpp 1 } v*
:> tess-dim' image bitmap>> image-dim' tess-dim'
tesselate-bitmap [ [ image <tile-image> ] map ] map ;