AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

1994.06.01 21:54 "Windows DLLs (DIB-TIFF)", by Kevin Clark

Greatings fellow TIFFers,

I have just rejoined this list after 6 months away, so my appologies if what I am asking has been asked before...

I am after a MS-Windows DLL that will enable me to manipulate DIB/DDB images into TIFF images with attributes similar to the following:

FILE NAME=1.tif, BYTE ORDER=II, VERSION=42, ENTRYCOUNT=11
  +--------------> Tag
  |   +----------> Type (1=Byte, 2=Ascii, 3=Short, 4=Long, 5=Rational)
  |   |   +------> Length (in terms of type) 
  |   |   |    +-> Value 
  |   |   |    |
  256 4   1   2496  ImageWidth
  257 4   1   3505  ImageLength

  259 3   1      3  Compression
  262 3   1      0  PhotometricInterpretation
  266 3   1      1  FillOrder
  273 4   1    162  StripOffset
  274 3   1      1  Orientation
  279 4   1  58226  StripByteCounts
  282 5   1    300  XResolution
  283 5   1    300  YResolution
  292 4   1      1  Group3Options

     ------ OR MAYBE IN A MORE FAMILIAR FORMAT ------

TIFF Directory at offset 0x8
    Image Width: 2496 Image Length: 3505
    Resolution: 300, 300
    Compression Scheme: CCITT Group 3 facsimile encoding
    Photometric Interpretation: min-is-white
    FillOrder: msb-to-lsb
    Orientation: row 0 top, col 0 lhs
    Planar Configuration: single image plane
    Group 3 Options: 2-d encoding (1 = 0x1)

aTdHvAaNnKcSe

===========================================================================
 Kevin Clark                             |  Telephone       +64 4 472 7909
 Systems Engineer                        |  Facsimile       +64 4 472 7993
 Electronic Document Management Limited  |  Internet    kevin@eltext.co.nz
===========================================================================