Skip to content

Instantly share code, notes, and snippets.

@simonwagner
Created January 28, 2019 14:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save simonwagner/209f14446989f4c9d617f02778ca5b97 to your computer and use it in GitHub Desktop.
Save simonwagner/209f14446989f4c9d617f02778ca5b97 to your computer and use it in GitHub Desktop.
Convert raw float32 RGBA bytes to TIFF
convert -endian LSB -depth 32 -define quantum:format=floating-point -size 512x512 -alpha on rgba:/tmp/rgba.dat /tmp/rgb.tiff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment