Convert GIF to PNG for OpenCV