Perturbatio #1 You would either need to study the appropriate GIF format carefully and read the information from the file, or if you know beforehand (i.e. you created the GIF), you could create a simple info file for each GIF that stores the info you need.