How do I convert a .RAW terrain file without PhotoShop?

I want to use my preferred photo editor to edit terrain in Unity, but I can’t find anything that will read or write Unity’s .RAW files for free (Unity’s .RAW files seem to be different from, say, Nikon’s which these converters expect).

Google GIMP

Someone recommended the program “Fiji” I haven’t tried it yet but quite a few people seem to recommend it, give that a try. Fiji Downloads

I use GDAL: Importing DEM Terrain Heightmaps for Unity using GDAL | Alastair Aitchison

You can also put the data into a texture and use EncodeToPNG

http://docs.unity3d.com/ScriptReference/Texture2D.EncodeToPNG.html

I finally found an online converter for that !

http://rawpixels.net/

Pixel format: Grayscale
bpp1: 16, others at 0.
Check Little Endian.

Then right click on the image → save image as …

I created a Python script that converts the 16-bit raw file into a 16-bit EXR.

The EXR can then be used as a Texture2D.

git repo

Python Package