Put code in to handle gif's and making sure you don't recompress them.