Query supported image types
#include <photon/PxImage.h> int PxGetImageExtensions(char *extlist, int len, char const *prefix);
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