|
PEXPORT int PICAPI | psx_image_init (void) |
| Initialze the library and load resources. More...
|
|
PEXPORT int PICAPI | psx_image_shutdown (void) |
| Release resources and shutdoen. More...
|
|
PEXPORT psx_image *PICAPI | psx_image_create_from_data (ps_byte *data, ps_color_format fmt, int width, int height, int pitch, int *err_code) |
| Create a new psx_image using a copy of given address in memory. More...
|
|
PEXPORT psx_image *PICAPI | psx_image_load (const char *file_name, int *err_code) |
| Create a new psx_image object and load from file. More...
|
|
PEXPORT psx_image *PICAPI | psx_image_load_from_memory (const ps_byte *data, size_t length, int *err_code) |
| Create a new psx_image object and load data from memory. More...
|
|
PEXPORT int PICAPI | psx_image_save (const psx_image *image, image_writer_fn func, void *param, const char *type, float quality) |
| Encoding psx_image to a gaving format and output it. More...
|
|
PEXPORT int PICAPI | psx_image_save_to_file (const psx_image *image, const char *file_name, const char *type, float quality) |
| Encoding psx_image to a gaving format and output to a file. More...
|
|
PEXPORT int PICAPI | psx_image_destroy (psx_image *image) |
| Destroy the psx_image object and release resources. More...
|
|
- Author
- Zhang Ji Peng oneco.nosp@m.olx@.nosp@m.gmail.nosp@m..com
- Date
- 2012/1/31
This file includes all interfaces of picasso extended image decoders.
Copyright (C) 2008 ~ 2024 Zhang Ji Peng
All rights reserved.
Picasso is a vector graphic library.
Definition in file psx_image.h.