Fixed bug creating images without textures.
Merge pull request #4 from danielgm/master

Fixed bug creating images without textures.