imagefmt.png

Undocumented in source.

Members

Aliases

A7Catapult
alias A7Catapult = size_t function(size_t redx, size_t redy, size_t dw, size_t dhi, bool flp)
Undocumented in source.

Enums

CTYPE
enum CTYPE
Undocumented in source.
FILTER
enum FILTER
Undocumented in source.

Functions

a7_init_redh
size_t[7] a7_init_redh(int h)
Undocumented in source. Be warned that the author may not have intended to support it.
a7_init_redw
size_t[7] a7_init_redw(int w)
Undocumented in source. Be warned that the author may not have intended to support it.
a7_red1_to_dst
size_t a7_red1_to_dst(size_t redx, size_t redy, size_t dw, size_t dhi, bool flp)
Undocumented in source. Be warned that the author may not have intended to support it.
a7_red2_to_dst
size_t a7_red2_to_dst(size_t redx, size_t redy, size_t dw, size_t dhi, bool flp)
Undocumented in source. Be warned that the author may not have intended to support it.
a7_red3_to_dst
size_t a7_red3_to_dst(size_t redx, size_t redy, size_t dw, size_t dhi, bool flp)
Undocumented in source. Be warned that the author may not have intended to support it.
a7_red4_to_dst
size_t a7_red4_to_dst(size_t redx, size_t redy, size_t dw, size_t dhi, bool flp)
Undocumented in source. Be warned that the author may not have intended to support it.
a7_red5_to_dst
size_t a7_red5_to_dst(size_t redx, size_t redy, size_t dw, size_t dhi, bool flp)
Undocumented in source. Be warned that the author may not have intended to support it.
a7_red6_to_dst
size_t a7_red6_to_dst(size_t redx, size_t redy, size_t dw, size_t dhi, bool flp)
Undocumented in source. Be warned that the author may not have intended to support it.
a7_red7_to_dst
size_t a7_red7_to_dst(size_t redx, size_t redy, size_t dw, size_t dhi, bool flp)
Undocumented in source. Be warned that the author may not have intended to support it.
channels
ubyte channels(ubyte colortype)
Undocumented in source. Be warned that the author may not have intended to support it.
compress
void compress(PNGEncoder ec, ubyte[] line)
Undocumented in source. Be warned that the author may not have intended to support it.
depalette
void depalette(ubyte[] palette, ubyte[] trns, ubyte[] sline, ubyte[] dst)
Undocumented in source. Be warned that the author may not have intended to support it.
detect_png
bool detect_png(Reader* rc)
Undocumented in source. Be warned that the author may not have intended to support it.
flush_idat
void flush_idat(PNGEncoder ec)
Undocumented in source. Be warned that the author may not have intended to support it.
have_tRNS
bool have_tRNS(Reader* rc)
Undocumented in source. Be warned that the author may not have intended to support it.
line16_from_bytes
void line16_from_bytes(ubyte[] src, ushort[] tgt)
Undocumented in source. Be warned that the author may not have intended to support it.
load_u32be
uint load_u32be(ubyte[4] s)
Undocumented in source. Be warned that the author may not have intended to support it.
paeth
ubyte paeth(ubyte a, ubyte b, ubyte c)
Undocumented in source. Be warned that the author may not have intended to support it.
read_chunks
ubyte read_chunks(PNGDecoder* dc)
Undocumented in source. Be warned that the author may not have intended to support it.
read_idat16
ubyte read_idat16(PNGDecoder* dc)
Undocumented in source. Be warned that the author may not have intended to support it.
read_idat8
ubyte read_idat8(PNGDecoder* dc)
Undocumented in source. Be warned that the author may not have intended to support it.
read_idat_chunks
ubyte read_idat_chunks(PNGDecoder* dc, uint len)
Undocumented in source. Be warned that the author may not have intended to support it.
read_png
ubyte read_png(Reader* rc, IFImage image, int reqchans, int reqbpc)
Undocumented in source. Be warned that the author may not have intended to support it.
read_png_header
ubyte read_png_header(Reader* rc, PNGHeader head)
Undocumented in source. Be warned that the author may not have intended to support it.
read_png_info
IFInfo read_png_info(Reader* rc)
Undocumented in source. Be warned that the author may not have intended to support it.
recon
void recon(ubyte[] cline, const(ubyte)[] pline, size_t fstep)
Undocumented in source. Be warned that the author may not have intended to support it.
sling
void sling(ubyte[] redline, ubyte[] result, A7Catapult cata, size_t redw, size_t j, int dw, int dhi, int tchans, bool flp)
Undocumented in source. Be warned that the author may not have intended to support it.
sling16
void sling16(ushort[] redline, ushort[] result, A7Catapult cata, size_t redw, size_t j, int dw, int dhi, int tchans, bool flp)
Undocumented in source. Be warned that the author may not have intended to support it.
swap
void swap(ubyte[] a, ubyte[] b)
Undocumented in source. Be warned that the author may not have intended to support it.
u32_to_be
ubyte[4] u32_to_be(uint x)
Undocumented in source. Be warned that the author may not have intended to support it.
uncompress
void uncompress(PNGDecoder* dc, ubyte[] dst)
Undocumented in source. Be warned that the author may not have intended to support it.
vf
size_t vf(size_t dy, size_t dhi, bool flp)
Undocumented in source. Be warned that the author may not have intended to support it.
write_idat
ubyte write_idat(PNGEncoder ec)
Undocumented in source. Be warned that the author may not have intended to support it.
write_png
ubyte write_png(Writer* wc, int w, int h, ubyte[] buf, int reqchans)
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

MAXIMUM_CHUNK_SIZE
enum MAXIMUM_CHUNK_SIZE;
Undocumented in source.

Structs

CRC32
struct CRC32
Undocumented in source.
PNGDecoder
struct PNGDecoder
Undocumented in source.
PNGEncoder
struct PNGEncoder
Undocumented in source.
PNGHeader
struct PNGHeader
Undocumented in source.

Variables

CRC32TAB
uint[256] CRC32TAB;
Undocumented in source.
HEAD_CHUNK_SIG
ubyte[8] HEAD_CHUNK_SIG;
Undocumented in source.
SIGNATURE
ubyte[8] SIGNATURE;
Undocumented in source.
a7catapults
A7Catapult[7] a7catapults;
Undocumented in source.

Meta