The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
writePng
arsd
png
Turns a
PNG
structure into an array of bytes, ready to be written to a file.
void
writePng
(string filename, MemoryImage mi)
void
writePng
(string filename, ubyte[] data, int width, int height, PngType type, ubyte depth)
ubyte
[]
writePng
(PNG* p)
ubyte
[]
writePng
(
PNG
*
p
)
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
Turns a PNG structure into an array of bytes, ready to be written to a file.