Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

layerutil(1) [mojave man page]

layerutil(1)						    BSD General Commands Manual 					      layerutil(1)

NAME
layerutil create compiled layered image stack SYNOPSIS
layerutil [-Vlhogspf] inputfile DESCRIPTION
Creates a compiled layered image stack (lcr) file from a layered input file source, such as an lsr or suitably structured Photoshop (psd) file. If the psd file's basename ends with @Yx Y will be treated as the scale factor of the psd file. If gpu compression is not specified then lossy compression is used. OPTIONS
The following options are available: -c Convert to lcr format. -f s, --flattened-image Saves the flattened image as a jpeg to the output path given by the -o flag. if the output filename doesn't end with .jpeg or .jpg then the file extension that was given will be removed and jpeg will get added. If the file that gets written out is a JPEG image, the resulting image will be compressed with the default compression options. -g s, --gpu-compression=s Sets program to use gpu optimized compression. You can choose either best or smallest. GPU Compression is only supported on iOS 10.0/AppleTV 10.0 or greater. -l n, --lossy-compression=n Set the lossy compression factor used for image content to a value between 0 and 1.0, default is 0.75. The smaller the value, the smaller the compressed file size. A value of 1.0 creates a lossless image. -s n, --scale=v Used to specify the scale factor used in the generated lcr file. When used with a PSD file it indicates the scale factor of the PSD file. When used with an LSR file indicates which scale factor of images should be kept. If scale is not specified 1 is assumed. -p n, --display-gamut=v v can be one of srgb/p3. Selecting p3 processes the image and if it contains wide gamut data will be treated as such. -g s, --palette-image Turn on palette image compression (Defaults to off). -o, --output Output file name. If you are converting an input lsr/psd file then if no output file is given, the basename of the input file is used as the output file name with an appended .lcr extension. unless you are -h, --help Prints out usage information. -V, --version Prints out version information. Darwin November 13, 2017 Darwin

Check Out this Related Man Page

pal2rgb(1)							   User Commands							pal2rgb(1)

NAME
pal2rgb - convert a palette color TIFF image to a full color image SYNOPSIS
pal2rgb [options] input.tif output.tif DESCRIPTION
pal2rgb converts a palette color TIFF image to a full color image by applying the colormap of the palette image to each sample to generate a full color RGB image. OPTIONS
Input Data Options The following input data options are supported: -C Override the default behavior of pal2rgb to determine whether or not colormap entries contain 16-bit or 8-bit values. By default, the colormap is inspected and if no colormap entry greater than 255 is found, the colormap is assumed to have only 8-bit values. Otherwise, 16-bit values, as required by the TIFF specification, are assumed. The -C option can be used to explicitly specify the number of bits for colormap entries: -C 8 for 8-bit values, -C 16 for 16-bit values. Output File Options The following output file options are supported: -c Specify a compression scheme to use when writing image data: -c lzw Lempel-Ziv and Welch algorithm. -c none No compression. -c packbits PackBits compression algorithm. -c zip Deflate compression algorithm. If no compression-related option is specified, the input-file compression algorithm is used. -p Explicitly select the planar configuration used to organize data samples in the output image: -p contig Samples are packed contiguously. This is the default. -p separate Samples are stored separately. -r Write data with a specified number of rows per strip. By default, the number of rows per strip is selected so that each strip is approximately 8 kilobytes. OPERANDS
The following operands are supported: input.tif The name of the input TIFF file. output.tif The name of the output file. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWTiff | +-----------------------------+-----------------------------+ |Interface stability |External | +-----------------------------+-----------------------------+ SEE ALSO
tiffinfo(1), tiffcp(1), tiffmedian(1), libtiff(3) NOTES
Only 8-bit images are supported. Updated by Breda McColgan, Sun Microsystems Inc., 2004. SunOS 5.10 26 Mar 2004 pal2rgb(1)
Man Page