images vocabulary
Factor documentation > Factor handbook > Vocabulary index


Summary
Bitmap images

Meta-data
Tags:graphics
Authors:Doug Coleman, Daniel Ehrenberg


Words

Tuple classes
ClassSuperclassSlots
image tupledim component-order component-type upside-down? bitmap


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-packed-pixel( component-type -- n )
bytes-per-pixel( image -- n )
component-count( component-order -- n )
has-alpha?( image -- ? )
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 )
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
resource:basis/images/images.factor
resource:basis/images/images-docs.factor
resource:basis/images/images-tests.factor


Children from resource:basis
VocabularySummary
images.bitmapWindows BMP image loader
images.jpegimages.jpeg vocabulary
images.loaderLoading bitmap images from files
images.memoryimages.memory vocabulary
images.normalizationimages.normalization vocabulary
images.pbmImage loading for PBM image files.
images.pgmImage loading for PGM image files.
images.pngimages.png vocabulary
images.ppmImage loading for PPM image files.
images.processingimages.processing vocabulary
images.tesselationimages.tesselation vocabulary
images.tgaimages.tga vocabulary
images.tiffTIFF image loader


Children from resource:extra
VocabularySummary
images.atlasTool for generating an atlas image from an array of images
images.gifGIF image file format
images.httpimages.http vocabulary
images.testingimages.testing vocabulary
images.viewerimages.viewer vocabulary


Children
VocabularySummary
images.privateimages.private vocabulary