PICTools Programmer's Reference
TIFF_EDIT

TIFF_EDIT: OP_TIFEDIT

 
Copy Code
typedef struct {
   DWORD          Reserved0;
   BYTE PICHUGE   *Reserved1;
   BYTE PICHUGE   *Reserved2;
   BYTE PICHUGE   *Reserved3;
   BYTE PICHUGE   *Reserved4;
   BYTE PICHUGE   *Reserved5;
   BYTE PICHUGE   *Reserved6;
   BYTE PICHUGE   *Reserved7;
   BYTE PICHUGE   *Reserved8;
   PICFLAGS       PicFlags;
   PICFLAGS       PicFlags2;
   DWORD          TiffReq_Op;
   WORD           Get_Page;
   WORD           Put_Page;
   DWORD          ImageSize;
   DWORD          NumPages;
} TIFF_EDIT;

Fields:

Name Description

Reserved0

Reserved1

Reserved2

Reserved3

Reserved4

Reserved5

Reserved6

Reserved7

Reserved8

PicFlags

PicFlags2

 

These fields are not currently used and must be set to 0.

TiffReq_Op

TIFFReq_Op

Operation

TF_DELETE_PAGE

Deletes one or more TIFF IFD pages.

TF_INSERT_PAGE

Inserts one or more TIFF IFD pages.

TF_REPLACE_PAGE

Replaces an existing TIFF IFD page.

TF_EXTRACT_PAGE

Extracts a designated IFD page.

TF_COMPACT

Removes all unused space from a Tiff stream.

TF_EDIT_TAGS

Acquires, edits, and sets the Tiff Tags.

Get_Page

Typically the source page.Used as relevant in each of the operations.

Put_Page

Typically the destination page.Used as relevant in each of the operations.

ImageSize

Not currently used.

NumPages

Number of pages to delete or insert.

 

 


©2022. Accusoft Corporation. All Rights Reserved.

Send Feedback