]> gitweb.factorcode.org Git - factor.git/commitdiff
images.processing.rotation: fix "separate" typo.
authorJohn Benediktsson <mrjbq7@gmail.com>
Mon, 3 Jan 2022 04:57:12 +0000 (20:57 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Mon, 3 Jan 2022 04:57:12 +0000 (20:57 -0800)
extra/images/processing/rotation/rotation.factor

index 0e2d998a7c2c4f9bb190a5a3f4bb1fc344a9c755..07331b85fc1003382152d16549c78e3a7f9a82f1 100644 (file)
@@ -31,11 +31,11 @@ ERROR: unsupported-rotation degrees ;
 : image>byte-rows ( image -- byte-rows )
     [ bitmap>> ] [ row-length ] bi group rows-remove-pad ;
 
-: (seperate-to-pixels) ( byte-rows image -- pixel-rows )
+: (separate-to-pixels) ( byte-rows image -- pixel-rows )
     bytes-per-pixel '[ _ group ] map ;
 
 : image>pixel-rows ( image -- pixel-rows )
-    [ image>byte-rows ] keep (seperate-to-pixels) ;
+    [ image>byte-rows ] keep (separate-to-pixels) ;
  
 : flatten-table ( seq^3 -- seq )
     [ concat ] map concat ;