Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/gf/dev_guide/img/img_codec_list.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/gf/dev_guide/img/img_codec_list.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/gf/dev_guide/img/img_codec_list.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/gf/dev_guide/img/img_codec_list.html on line 8
Enumerate codecs
#include <img.h>
size_t img_codec_list( img_lib_t ilib,
img_codec_t* buf,
size_t nbuf,
img_codec_t* exclude,
size_t nexclude );
- ilib
- The handle for the image library, returned by img_lib_attach().
- buf
- The address of an array that the function populates with handles for available codecs.
- nbuf
- The number of items in the buf array.
- exclude
- The address of an array of codec handles that you'd like the function to exclude from the list.
- nexclude
- The number of items in the exclude array.
img
This function lists all codecs installed, except for those specified by exclude.
The function copies up to nbuf handles into the array specified by buf. No copying is done if nbuf is 0.
This function returns the total number of matching codecs, which may be larger than nbuf if your buffer was not big enough to store all the matched codecs.
The the total number of matching codecs.
Image library
Safety: | |
Interrupt handler |
No |
Signal handler |
No |
Thread |
No |
img_codec_list_byext(),
img_codec_list_bymime(),
img_lib_attach()
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/gf/dev_guide/img/img_codec_list.html on line 126
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/gf/dev_guide/img/img_codec_list.html on line 126