And this Mathematica code that makes an image and colorizes it from the produced data:
buffer = BinaryReadList["image.bin", "Real32"]; dim = Sqrt[Length@buffer]; shape = Partition[buffer, dim]; bigimg = Image[shape, "Real32"Image[Partition[buffer, ImageSize -> {dimdim], dim}];"Real32"]; pic = Rasterize[bigimgColorize[Rasterize[bigimg, ImageSize -> dim/4]; cf = ColorData["SunsetColors"]; cpic = Colorize[pic4], ColorFunction -> cf]ColorData["SunsetColors"]]