AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

2005.06.29 20:50 "[Tiff] Solved", by James Carroll

Here's how I copied the jpeg tables... Easy... yes.

    // Copy JPEG Tables

    uint16 size;

    //uint32 size;

    unsigned char *tables;

    TIFFGetField(tifIn, TIFFTAG_JPEGTABLES, &size, &tables);

    TIFFSetField(tifOut, TIFFTAG_JPEGTABLES, size, tables);

I've had a great day working with libtiff. Thanks for making it so powerful.

-Jim