Adds png support for thumbnail creating