Mako 8.1.0 API
Loading...
Searching...
No Matches
JawsMako::ITCBFileIO Class Reference

Routines to read the Hybrid Software PACKZ .tcb Color Book format, version 1.0. More...

#include <packzcolorbook.h>

Static Public Member Functions

static JAWSMAKO_API IDOMColorSpaceDeviceN::CColorantInfoVect read (const IJawsMakoPtr &jawsMako, const IInputStreamPtr &tcbStream, U8String &bookName, const IDOMColorSpaceLABPtr &labSpace=IDOMColorSpaceLABPtr(), const IDOMColorSpacePtr &cmykSpace=IDOMColorSpacePtr(), bool preferCMYK=false)
 Read a TCB stream to produce a vector of DeviceN colorant info objects from the contents. Supports reading LAB or CMYK component values.
 

Detailed Description

Routines to read the Hybrid Software PACKZ .tcb Color Book format, version 1.0.

Member Function Documentation

◆ read()

static JAWSMAKO_API IDOMColorSpaceDeviceN::CColorantInfoVect JawsMako::ITCBFileIO::read ( const IJawsMakoPtr & jawsMako,
const IInputStreamPtr & tcbStream,
U8String & bookName,
const IDOMColorSpaceLABPtr & labSpace = IDOMColorSpaceLABPtr(),
const IDOMColorSpacePtr & cmykSpace = IDOMColorSpacePtr(),
bool preferCMYK = false )
static

Read a TCB stream to produce a vector of DeviceN colorant info objects from the contents. Supports reading LAB or CMYK component values.

Parameters
jawsMakoThe IJawsMako object.
tcbStreamA stream from which the TCB data can be read.
bookNameA reference to receive the color book name from the TCB.
labSpaceOptional. A LAB colorspace in which to interpret any LAB colorant values in the file. If no labSpace is supplied, then a simple D50 LAB colorspace will be used.
cmykSpaceOptional. A CMYK colorspace in which to interpret any CMYK colorant values in the file. If no cmykSpace is supplied, then DeviceCMYK will be used.
preferCMYKIf true, the CMYK values in the TCB file will be used in preference to the LAB values, if they are provided.
Returns
IDOMColorSpaceDeviceN::CColorantInfoVect The colorants read from the file.

The documentation for this class was generated from the following file: