Support for saving gif images