Reader and writer for 8-bit RGB and RGBA `TGA` images.

Collection Info

View Source
Collection
core
Path
image/tga
Entries
17

Source Files

Constants

3

IMAGE_DESCRIPTOR_INTERLEAVING_MASK #

Source
IMAGE_DESCRIPTOR_INTERLEAVING_MASK :: (1 << 6) | (1 << 7)

IMAGE_DESCRIPTOR_RIGHT_MASK #

Source
IMAGE_DESCRIPTOR_RIGHT_MASK :: 1 << 4

IMAGE_DESCRIPTOR_TOP_MASK #

Source
IMAGE_DESCRIPTOR_TOP_MASK :: 1 << 5

Types

6

Procedures

6

load_from_context #

Source
load_from_context :: proc(ctx: ^$C, options: Options = Options{}, allocator := context.allocator) -> (img: ^Image, err: Error) {…}

Procedure Groups

2