|This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.|
Query supported image types
#include <photon/PxImage.h> int PxGetImageExtensions(char *extlist, int len, char const *prefix);
- A buffer the function fills with a space-separated list of image filename extensions supported by the currently loaded image handler plugins.
- The length of the extlist buffer.
- An optional prefix string the function can append to each extension to make it easy to create filter lists.
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.
“Images” in the Raw Drawing and Animation chapter of the Photon Programmer's Guide