InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ICreateLowResImageCmdData::lowResDataStruct Struct Reference

#include <ICreateLowResImageCmdData.h>

Public Attributes

IDataBaselowResImageDB
 
UID lowResImageUID
 
IImageAttributessourceAttributes
 
IImageAttributesdestinationAttributes
 
IPMStreamstream
 
bool8 embedStream
 
int32 embedSize
 
IImageStreamreaderSegment
 
ClassID preferredFormat
 
bool8 showProgressBar
 

Detailed Description

Data structure for passing the parameters that will be used to determine how to construct the proxy image.

Member Data Documentation

IImageAttributes* ICreateLowResImageCmdData::lowResDataStruct::destinationAttributes

source attributes of the image in the stream

int32 ICreateLowResImageCmdData::lowResDataStruct::embedSize

kFalse to force a conversion of the image data to match the destination attributes. kTrue to stuff entire stream in the pub.

bool8 ICreateLowResImageCmdData::lowResDataStruct::embedStream

the read stream

UID ICreateLowResImageCmdData::lowResDataStruct::lowResImageUID

the database containing the UID

ClassID ICreateLowResImageCmdData::lowResDataStruct::preferredFormat

If nil, this command will attempt to locate a reader which believes it can parse and return the pixel data in the stream. If non-nil, this segment will be used to provide the data to the ImageStreamManager.

IImageStream* ICreateLowResImageCmdData::lowResDataStruct::readerSegment

number of bytes from the stream to embed if embedStream is kTrue

bool8 ICreateLowResImageCmdData::lowResDataStruct::showProgressBar

pass the ClassID of the IImageWriteFormat boss you want used to create the low res. If kInvalidClass, the cmd gets to choose (usually JPEG or TIFF).

IImageAttributes* ICreateLowResImageCmdData::lowResDataStruct::sourceAttributes

pregenerated UID of the resulting downsampled image. Must contain an IID_IPERSISTUIDDATA interface and should also contain an IID_IIMAGEATTRIBUTES.

IPMStream* ICreateLowResImageCmdData::lowResDataStruct::stream

desired attributes of the downsampled image