The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
replacePalette
arsd
png
Replaces the palette data in a
PNG
object.
void
replacePalette
(
PNG
*
p
,
Color
[]
colors
)
See Also
fetchPalette
Meta
Source
See Implementation
arsd
png
enums
PngType
functions
blankPNG
bytesPerPixel
fetchPalette
getANDMask
getHeader
getHeaderFromFile
imageFromPng
pngFromBytes
pngFromImage
readPng
readPngChunks
readPngFromBytes
replacePalette
unfilter
writeImageToPngFile
writePng
writePngLazy
writePngToArray
static variables
PNG_MAGIC_NUMBER
structs
BufferedInputRange
Chunk
LazyPngChunks
LazyPngFile
PNG
PngHeader
templates
isBufferedInputRange
Replaces the palette data in a PNG object.