Technically, you could do it with a text editor, although you'd probably loose the non-printable characters. It really depends on what the format is. You need to know how many bits are used per pixel, if it stores alpha information or any other info, what kind of compression schemes it uses, etc... What is the image format?