Improve snippets/image-reader.go