images.bitmap vocabulary
Factor handbook ยป Vocabulary index


Summary
Windows BMP image loader

Metadata
Parents:images
Tags:graphics, images
Authors:Doug Coleman


Words

Tuple classes
ClassSuperclassSlots
bmp-not-supported tuplen
file-header tuplemagic size reserved1 reserved2 offset header-length
loading-bitmap tuplefile-header header color-palette color-index bitfields
os2v1-header tuplewidth height planes bit-count
os2v2-header os2v1-headercompression image-size x-resolution y-resolution colors-used colors-important units reserved recording rendering size1 size2 color-encoding identifier
unknown-bitmap-header tuplen
unknown-component-order tuplebitmap
unsupported-bitfield-widths tuplen
unsupported-bitmap-compression tuplecompression
unsupported-bitmap-file tuplemagic
v3-header tuplewidth height planes bit-count compression image-size x-resolution y-resolution colors-used colors-important
v4-header v3-headerred-mask green-mask blue-mask alpha-mask cs-type end-points gamma-red gamma-green gamma-blue
v5-header v4-headerintent profile-data profile-size reserved3


Singleton classes
bmp-image


Union classes
os2-header
v-header


Generic words
WordStack effect
bitmap>component-order*( loading-bitmap header -- object )
parse-color-data*( loading-bitmap header -- loading-bitmap )
uncompress-bitmap*( loading-bitmap header -- loading-bitmap )


Ordinary words
WordStack effect
advanced-bitmap>component-order( loading-bitmap -- object )
alpha-used?( loading-bitmap -- ? )
bitmap>bytes( loading-bitmap -- byte-array )
bitmap>component-order( loading-bitmap -- object )
bmp-not-supported( n -- * )
color-index-length( header -- n )
color-lookup( loading-bitmap -- seq )
color-lookup3( loading-bitmap -- seq )
color-lookup4( loading-bitmap -- seq )
color-palette-length( loading-bitmap -- n )
do-run-length-uncompress( loading-bitmap word -- loading-bitmap )
load-bitmap( stream -- loading-bitmap )
loading-bitmap>bytes( loading-bitmap -- byte-array )
output-bmp( image -- )
output-width-and-height( image -- )
parse-color-data( loading-bitmap -- loading-bitmap )
parse-color-palette( loading-bitmap -- loading-bitmap )
parse-file-header( -- file-header )
parse-header( n -- header )
read-os2v1-header( -- os2v1-header )
read-os2v2-header( -- os2v2-header )
read-os2v2-header-data( os2v2-header -- os2v2-header )
read-v3-header( -- header )
read-v3-header-data( header -- header )
read-v4-header( -- v4-header )
read-v4-header-data( header -- header )
read-v5-header( -- loading-bitmap )
read-v5-header-data( v5-header -- v5-header )
read2( -- n )
read4( -- n )
set-bitfield-widths( loading-bitmap -- loading-bitmap' )
simple-bitmap>component-order( loading-bitamp -- object )
uncompress-bitfield( seq masks -- bytes' )
uncompress-bitfield-widths( loading-bitmap -- loading-bitmap' )
uncompress-bitmap( loading-bitmap -- loading-bitmap )
unknown-bitmap-header( n -- * )
unknown-component-order( bitmap -- * )
unsupported-bitfield-widths( n -- * )
unsupported-bitmap-compression( compression -- * )
unsupported-bitmap-file( magic -- * )
write2( n -- )
write4( n -- )


Class predicate words
WordStack effect
bmp-image?( object -- ? )
bmp-not-supported?( object -- ? )
file-header?( object -- ? )
loading-bitmap?( object -- ? )
os2-header?( object -- ? )
os2v1-header?( object -- ? )
os2v2-header?( object -- ? )
unknown-bitmap-header?( object -- ? )
unknown-component-order?( object -- ? )
unsupported-bitfield-widths?( object -- ? )
unsupported-bitmap-compression?( object -- ? )
unsupported-bitmap-file?( object -- ? )
v-header?( object -- ? )
v3-header?( object -- ? )
v4-header?( object -- ? )
v5-header?( object -- ? )


Files


Metadata files