Print

How to write RGB Tiffs from scripts?


Typically you need execute the following steps:

  1. map your 3D or 4D multichannel image to a 2D multichannel 2D image, for instance with the slice or miniMIP commands.
  2. use chan2rgba to map that image to a 2D packed 4channel (RGBA) image of bytes. The chan2rgba command has a lot of options to manipulate contrast, colour and gamma. Syntax:
    source chan2rgba -> dest
  3. use the -type tiffrgb option to the save command, for example:
    foo save foo.tif -type tiffrgb

See also: slice, miniMIP and chan2rgba

Keywords: Tiff RGB chan2rgba
Categories: Faq Visualization, Huygens Faq, Imported Faqs
Platforms: Irix Linux Windows Mac
Related products: Hu Pro Hu Script