Functions in
img.h
Functions that are available for working with the Image Library
img_cfg_read()
Read a configuration file and load codecs
img_codec_get_criteria()
Get the extension and mime information for a given codec
img_codec_list()
Enumerate codecs
img_codec_list_byext()
Enumerate codecs by file extension
img_codec_list_bymime()
Enumerate codecs by MIME type
img_convert_data()
Convert data from one image format to another
img_convert_getfunc()
Get a function to convert one image format to another
img_crop()
Crop an image
img_decode_begin()
Prepare to decode one or more frames from a stream
img_decode_finish()
Release decode resources
img_decode_frame()
Decode a frame
img_decode_frame_resize()
Decode and resize a frame from a stream
img_decode_get_frame_count()
Get the total number of frames in the image stream
img_decode_set_frame_index()
Set the current frame index in the image decoder
img_decode_validate()
Find a codec for decoding
img_dtransform()
Convert an image from one format to another
img_dtransform_apply()
Apply a data transform
img_dtransform_create()
Prepare to transform an image
img_dtransform_free()
Free a transform structure
img_encode_begin()
Prepare to encode one or more frames to a stream
img_encode_finish()
Release encode resources
img_encode_frame()
Encode a frame
img_encode_set_value()
Set the value of an encoding property for animated images
img_expand_getfunc()
Get a function to convert a palette format to a direct format
IMG_FMT_BPL()
Calculate the minimum number of bytes required to represent a pixel run
IMG_FMT_BPP()
Determine the number of bits per pixel for the specified format
img_lib_attach()
Initialize the image library
img_lib_detach()
Detach from the library
img_load()
Decode a frame from a stream
img_load_file()
Decode a frame from a file on the filesystem
img_load_resize()
Decode and resize a frame from a stream
img_load_resize_file()
Decode and resize a frame from a file on the filesystem
img_reset()
Clear an image structure and release any library-allocated memory
img_resize_fs()
Resize an image
img_rotate_ortho()
Rotate an image by 90-degree increments
img_write()
Encode a frame to an output stream on the filesystem
img_write_file()
Encode a frame to a file on the filesystem
io_close()
Release an input stream
io_open()
Initialize an IO stream
Parent topic:
Image Library