Adds support for images in gif and png image formats.