images vocabulary
Factor handbook ยป Vocabulary index


Summary
Bitmap images

Metadata
Tags:graphics, images
Authors:Doug Coleman, Daniel Ehrenberg


Words

Tuple classes
ClassSuperclassSlots
image tupledim component-order component-type upside-down? premultiplied-alpha? bitmap 2x?


Singleton classes
A
ABGR
ARGB
BGR
BGRA
BGRX
DEPTH
DEPTH-STENCIL
INTENSITY
L
LA
R
RG
RGB
RGBA
RGBX
XBGR
XRGB
byte-integer-components
float-11-11-10-components
float-32-u-8-components
float-components
half-components
int-integer-components
short-integer-components
u-10-10-10-2-components
u-24-8-components
u-24-components
u-5-5-5-1-components
u-5-6-5-components
u-9-9-9-e5-components
ubyte-components
ubyte-integer-components
uint-components
uint-integer-components
ushort-components
ushort-integer-components


Union classes
alpha-channel
alpha-channel-precedes-colors
component-order
component-type
packed-components
signed-unnormalized-integer-components
unnormalized-integer-components
unsigned-unnormalized-integer-components


Ordinary words
WordStack effect
(bytes-per-pixel)( component-order component-type -- n )
<image>( -- image )
bytes-per-component( component-type -- n )
bytes-per-image( image -- n )
bytes-per-packed-pixel( component-type -- n )
bytes-per-pixel( image -- n )
component-count( component-order -- n )
each-pixel( ... image quot: ( ... x y pixel -- ... ) -- ... )
has-alpha?( image -- ? )
image-dim( image -- dim )
pixel-at( x y image -- pixel )
pixel-row-at( x y w image -- pixels )
pixel-row-slice-at( x y w image -- pixels )
pixel-slice-at( x y image -- pixels )
rowstride( image -- n )
set-pixel-at( pixel x y image -- )
set-pixel-row-at( pixel x y w image -- )


Class predicate words
WordStack effect
A?( object -- ? )
ABGR?( object -- ? )
ARGB?( object -- ? )
BGR?( object -- ? )
BGRA?( object -- ? )
BGRX?( object -- ? )
DEPTH-STENCIL?( object -- ? )
DEPTH?( object -- ? )
INTENSITY?( object -- ? )
L?( object -- ? )
LA?( object -- ? )
R?( object -- ? )
RG?( object -- ? )
RGB?( object -- ? )
RGBA?( object -- ? )
RGBX?( object -- ? )
XBGR?( object -- ? )
XRGB?( object -- ? )
alpha-channel-precedes-colors?( object -- ? )
alpha-channel?( object -- ? )
byte-integer-components?( object -- ? )
component-order?( object -- ? )
component-type?( object -- ? )
float-11-11-10-components?( object -- ? )
float-32-u-8-components?( object -- ? )
float-components?( object -- ? )
half-components?( object -- ? )
image?( object -- ? )
int-integer-components?( object -- ? )
packed-components?( object -- ? )
short-integer-components?( object -- ? )
signed-unnormalized-integer-components?( object -- ? )
u-10-10-10-2-components?( object -- ? )
u-24-8-components?( object -- ? )
u-24-components?( object -- ? )
u-5-5-5-1-components?( object -- ? )
u-5-6-5-components?( object -- ? )
u-9-9-9-e5-components?( object -- ? )
ubyte-components?( object -- ? )
ubyte-integer-components?( object -- ? )
uint-components?( object -- ? )
uint-integer-components?( object -- ? )
unnormalized-integer-components?( object -- ? )
unsigned-unnormalized-integer-components?( object -- ? )
ushort-components?( object -- ? )
ushort-integer-components?( object -- ? )


Files


Metadata files


Children from resource:basis
VocabularySummary
images.loaderLoading bitmap images from files
images.memory
images.normalization
images.processing
images.tessellation


Children from resource:extra
VocabularySummary
images.atlasTool for generating an atlas image from an array of images
images.bitmapWindows BMP image loader
images.gifGIF image file format
images.http
images.jpeg
images.pbmImage loading for PBM image files.
images.pgmImage loading for PGM image files.
images.png
images.ppmImage loading for PPM image files.
images.processing
images.testing
images.tga
images.tiffTIFF image loader
images.viewer


Children
VocabularySummary
images.private