The OpenD Programming Language

gamut.codecs

Modules

bc7enc16
module gamut.codecs.bc7enc16

BC7 encoding image loading. D translation of bc7enc16 d3b037f33b8c6df184177a0ae6a0f4cfec1434ad

bmpenc
module gamut.codecs.bmpenc

BMP encoder. Encoder based upon imageformats dub package.

gif
module gamut.codecs.gif

New GIF decoder, to replace gifdec.d.

jpegload
module gamut.codecs.jpegload

Loads a JPEG image from a memory buffer or a file. req_comps can be 1 (grayscale), 3 (RGB), or 4 (RGBA). On return, width/height will be set to the image's dimensions, and actual_comps will be set to the either 1 (grayscale) or 3 (RGB). Requesting a 8 or 32bpp image is currently a little faster than 24bpp because the jpeg_decoder class itself currently always unpacks to either 8 or 32bpp. JPEG image loading.

lz4
module gamut.codecs.lz4
Undocumented in source.
miniz
module gamut.codecs.miniz
Undocumented in source.
msf_gif
module gamut.codecs.msf_gif
Undocumented in source.
qoi
module gamut.codecs.qoi
Undocumented in source.
qoi10b
module gamut.codecs.qoi10b
Undocumented in source.
qoi2avg
module gamut.codecs.qoi2avg
Undocumented in source.
qoiplane
module gamut.codecs.qoiplane
Undocumented in source.
stb_image_write
module gamut.codecs.stb_image_write

stb_image_write.h translations Just the PNG encoder.

stbdec
module gamut.codecs.stbdec

PNG and BMP image loading. D translation of stb_image-2.27 (png) and stb_image-2.29 (bmp). This port only support PNG loading, 8-bit and 16-bit. and BMP loading as in STB.

tga
module gamut.codecs.tga

TGA read/writer from stb_image.h