I have files of data that are either 512x512, 800x800 or 1024x1024 of float values that I'd like to convert to an image format. Using magic++ one of the constructors allows you to specify the storage type as well as geometry. I would like to read the file pass the byte array, data type (storage type) and image size into the constuctor so I could save it as an image.
Pixel storage type (CharPixel, ShortPixel, IntegerPixel, FloatPixel, or DoublePixel)
P.s Thank you for all your effort in making this