1 ! Copyright (C) 2009 Daniel Ehrenberg.
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: images tools.test kernel accessors ;
6 { B{ 57 57 57 255 } } [ 1 1 T{ image f { 2 3 } RGBA ubyte-components f f B{
13 } } pixel-at ] unit-test
22 } } [ B{ 57 57 57 255 } 1 1 T{ image f { 2 3 } RGBA ubyte-components f f B{
29 } } [ set-pixel-at ] keep bitmap>> ] unit-test
32 T{ image f { 10 3 } RGBA ubyte-components f f } rowstride
33 T{ image f { 10 3 } RGB ubyte-components f f } rowstride