How to write RGB Tiffs from scripts?
Typically you need execute the following steps:
- map your 3D or 4D multichannel image to a 2D multichannel 2D image, for instance with the
sliceorminiMIPcommands. - use
chan2rgbato map that image to a 2D packed 4channel (RGBA) image of bytes. Thechan2rgbacommand has a lot of options to manipulate contrast, colour and gamma. Syntax:source chan2rgba -> dest
- use the
-type tiffrgboption to thesavecommand, for example:foo save foo.tif -type tiffrgb
See also:
slice, miniMIP and chan2rgbaKeywords: Tiff RGB chan2rgba
Categories: Faq Visualization, Huygens Faq, Imported Faqs
Platforms: Irix Linux Windows Mac
Related products: Hu Pro Hu Script
