rotate' ( image n -- image )


Vocabulary
images.processing.rotation.private

Inputs
imagean object
nan object


Outputs
imagean object


Definition


:: rotate' ( image n -- image )
n normalize-degree :> n' image image>pixel-rows
:> pixel-table image n' ?reverse-dimensions
pixel-table n' (rotate)
:> table-rotated image table-rotated flatten-table >>bitmap
;