animated gif/png images

Hi All,

Can somebody tell me, how can I open/view any animated gif or png image in QNX? When I m opening any animated image in Photon viewer it is showing “Could not load image file”

Can you post some code? I recall that you have to use some defines to make sure the code for the right format is available.