Table of Contents

NAME

icptoraw - converts image component to raw file

SYNOPSIS

icptoraw [-bpp bits_per_pixel] [-bend] [-lend] icpfile rawfile

OPTIONS

-bpp
Indicates the number of bits per each pixel (sample) value. Default is 16.
-bend
Indicates raw file contains integers stored in big-endian format. This is the default.
-lend
Indicates raw file contains integers stored in little-endian format.

DESCRIPTION

icptoraw converts an image component (ICP-format) into a raw-format file consisting of a 2D array of integer pixels.

The option -bpp specifies the number of bits that each pixel value contains. bits_per_pixel must be between 1 and 32. If bits_per_pixel is <= 8, then each sample is stored in rawfile as the least significant bits in a single byte; otherwise, if bits_per_pixel is <= 16, then each sample is stored in rawfile as the least significant bits of two consecutive bytes (the default); otherwise, if bits_per_pixel is <= 32, then each sample is stored in rawfile as the least significant bits of four consecutive bytes. -bend and -lend indicate whether the raw file is to be written in big-endian or little-endian format, respectively. If neither is specified, big-endian is assumed.

rawfile is stored in row-major order.

SEE ALSO

rawtoicp(1) , QccHYPRaw(3) , QccPackHYP(3) , QccPack(3)

AUTHOR

Copyright (C) 1997-2021 James E. Fowler


Table of Contents



Get QccPack at SourceForge.net. Fast, secure and Free Open Source software downloads