ae ~master (2024-01-05T13:09:51Z)
Home
Dub
Repo
fromPixels
ae
utils
graphics
image
Loads a raw COLOR[] into an image of the indicated size.
auto
fromPixels
(INPUT[] input, xy_t w, xy_t h, TARGET target)
auto
fromPixels
(
C
=
InputColor
INPUT
TARGET
)
(
INPUT
[]
input
,
xy_t
w
,
xy_t
h
,
auto
ref
TARGET
target
)
if
(
isWritableView
!
TARGET
&&
is
(
GetInputColor
!(
C
,
INPUT
) ==
ViewColor
!
TARGET
)
)
auto
fromPixels
(INPUT[] input, xy_t w, xy_t h)
Meta
Source
See Implementation
ae
utils
graphics
image
aliases
ElementViewImage
GetInputColor
ViewImage
enums
PNGColourType
PNGCompressionMethod
PNGFilterAdaptive
PNGFilterMethod
PNGInterlaceMethod
bitmapNeedV4HeaderForRead
bitmapNeedV4HeaderForWrite
isTargetColor
functions
bitmapChannelMasks
copy
copyPixels
copyScanline
downscaleTo
fromPixels
hjoin
makePNG
parseBMP
parsePBM
toBMP
toPBM
toPNG
toRef
viewBMP
vjoin
properties
bitmapPixelStride
static variables
pngSignature
structs
Image
ImageRef
InputColor
PNGChunk
PNGChunkFooter
PNGChunkHeader
PNGHeader
TargetColor
templates
BMPStorageType
downscale
Loads a raw COLOR[] into an image of the indicated size.