[Image] Improve error messages, add a save method, and fix wrong depth of image when using create method
[ImageAtlas] Improve tests