Picasso API
2.2
|
Functions | |
PEXPORT int | psx_image_register_operator (const char *type, const ps_byte *signature, size_t sig_len, psx_priority_level level, psx_image_operator*coder) |
Register the image operator. | |
PEXPORT int | psx_image_unregister_operator (psx_image_operator*coder) |
Unregister the image operator. |
int psx_image_register_operator | ( | const char * | type, |
const ps_byte * | signature, | ||
size_t | sig_len, | ||
psx_priority_level | level, | ||
psx_image_operator* | coder | ||
) |
Register the image operator.
type | The image operator short name. (i.e "png" "jpg" "bmp") |
signature | The image signature. |
sig_len | The image signature length. |
level | The image operator priority level. |
coder | The pointer to a image_operator object. |
int psx_image_unregister_operator | ( | psx_image_operator* | coder | ) |
Unregister the image operator.
coder | The image operator which will be unregister. |