Handbook
Glossary
component-count ( component-order -- n )
Vocabulary
images
Inputs
component-order
an
object
Outputs
n
an
object
Definition
USING:
combinators
;
IN:
images
:
component-count
( component-order -- n )
{
{
A
[
1
]
}
{
L
[
1
]
}
{
LA
[
2
]
}
{
BGR
[
3
]
}
{
RGB
[
3
]
}
{
BGRA
[
4
]
}
{
RGBA
[
4
]
}
{
ABGR
[
4
]
}
{
ARGB
[
4
]
}
{
RGBX
[
4
]
}
{
XRGB
[
4
]
}
{
BGRX
[
4
]
}
{
XBGR
[
4
]
}
{
INTENSITY
[
1
]
}
{
DEPTH
[
1
]
}
{
DEPTH-STENCIL
[
1
]
}
{
R
[
1
]
}
{
RG
[
2
]
}
}
case
;