Handbook
Glossary
bytes-per-packed-pixel ( component-type -- n )
Vocabulary
images
Inputs
component-type
an
object
Outputs
n
an
object
Definition
USING:
combinators
;
IN:
images
:
bytes-per-packed-pixel
( component-type -- n )
{
{
u-5-5-5-1-components
[
2
]
}
{
u-5-6-5-components
[
2
]
}
{
u-10-10-10-2-components
[
4
]
}
{
u-24-components
[
4
]
}
{
u-24-8-components
[
4
]
}
{
u-9-9-9-e5-components
[
4
]
}
{
float-11-11-10-components
[
4
]
}
{
float-32-u-8-components
[
8
]
}
}
case
;