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/photon/lib_ref/px/pxgetimageextensions.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/photon/lib_ref/px/pxgetimageextensions.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/photon/lib_ref/px/pxgetimageextensions.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/photon/lib_ref/px/pxgetimageextensions.html on line 8

PxGetImageExtensions()

Query supported image types

Synopsis:

#include <photon/PxImage.h>

int PxGetImageExtensions(char *extlist,
                         int len,
                         char const *prefix);

Arguments:

extlist
A buffer the function fills with a space-separated list of image filename extensions supported by the currently loaded image handler plugins.
len
The length of the extlist buffer.
prefix
An optional prefix string the function can append to each extension to make it easy to create filter lists.

Library:

phexlib

Description:

This function creates a space-separated list of image filename extensions supported by the currently loaded image handler plugins, and puts the list into extlist. You can easily create a filter list by passing a string containing an asterisk and period characters ("*.") as the prefix. This will create, for example, a list such as: *.jpg *.gif *.bmp.

Returns:

0
Success
1
Failure

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PxLoadImage().

Images in the Raw Drawing and Animation chapter of the Photon Programmer's Guide


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/photon/lib_ref/px/pxgetimageextensions.html on line 121

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/photon/lib_ref/px/pxgetimageextensions.html on line 121