Main Page | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members

tif_msrc.h

Go to the documentation of this file.
00001 /*
00002 /--------------------------------------------------------------------
00003 |
00004 |      $Id: tif_msrc.h,v 1.7 2002/08/07 19:03:58 uzadow Exp $
00005 |
00006 |      Copyright (c) 1996-2002 Ulrich von Zadow
00007 |
00008 \--------------------------------------------------------------------
00009 */
00010 
00011 //! \file
00012 //! Custom data source for libtiff. Assumes all data is in memory at
00013 //! start.
00014 
00015 
00016 #include <tiffio.h>
00017 
00018 extern TIFF* TIFFOpenMem (unsigned char* pData,
00019                             int FileSize,
00020                             int* pCurPos);
00021 
00022 
00023 typedef struct
00024 {
00025   unsigned char* pData;
00026   int    CurPos;
00027   int    MaxFileSize;
00028   // used when open for reading
00029   int    rFileSize;
00030   // not NULL when open for writing
00031   int*   pFileSize;
00032   char   mode[2];
00033 }
00034 MemSrcTIFFInfo;
00035 /*
00036 /--------------------------------------------------------------------
00037 |
00038 |      $Log: tif_msrc.h,v $
00039 |      Revision 1.7  2002/08/07 19:03:58  uzadow
00040 |      no message
00041 |
00042 |      Revision 1.6  2002/08/07 18:33:51  uzadow
00043 |      Removed dependency on internal libtiff header tiffiop.h
00044 |
00045 |      Revision 1.5  2002/02/24 13:00:43  uzadow
00046 |      Documentation update; removed buggy PLFilterRotate.
00047 |
00048 |      Revision 1.4  2000/01/10 23:52:59  Ulrich von Zadow
00049 |      Changed formatting & removed tabs.
00050 |
00051 |      Revision 1.3  1999/10/03 18:50:52  Ulrich von Zadow
00052 |      Added automatic logging of changes.
00053 |
00054 |
00055 --------------------------------------------------------------------
00056 */

Generated on Sun Jun 6 13:42:22 2004 for paintlib by doxygen 1.3.2