Pink 0.9

long2byte.c File Reference

converts a "int32_t" image to a "byte" image More...


Detailed Description

converts a "int32_t" image to a "byte" image

converts a "int32_t" image to a "ushort" image

Usage: long2byte in.pgm [mode] [n] out.pgm

Description:

Depending on the value given for the (optional) parameter mode:

Types supported: int32_t 2d, int32_t 3d

Category: convert

Author:
Michel Couprie

Usage: long2byte in.pgm [mode] out.pgm

Description:

Depending on the value given for the (optional) parameter mode:

Types supported: short_image (any D)

Category: convert

Author:
Laszlo Marak, 2011