i'm trying to read an image from a ms-sql database. Unfortunately, when I read it in, it gets saved as ascii into the scalar, instead of hex or binary to write out to the file. Has anyone else had similar problems? I need to know how to do this.
Also, is there a way to just simply create a gif image from an actual integer value or whatever? imagegif or something?