home *** CD-ROM | disk | FTP | other *** search
- { J P G D E C . P A S -------------------------------------------------*
- * Include-File to be usied in Cunjunction with JPANI.DLL *
- * to use JPANI.DLL as an Import-Library for JPG-Compressed *
- * Bitmap-Data Files *
- * *
- * *
- * (C) 1995-1996 *
- * Dipl. Ing. Bernd Herd *
- * Rudolf-Virchow-Str. 8 *
- * 68642 Bⁿrstadt *
- * Tel. 06206/79222 *
- * EMail: herdsoft@aol.com *
- * *
- *----------------------------------------------------------------------}
-
- Unit JpgDec;
-
- interface
-
- uses WinTypes;
-
- Function JPDecJpgDib(lpJpgData : Pchar; dwBlkSize : LongInt; Dummy1, Dummy2 : LongInt) : THandle; far;
- { Usage: Include this File in your Application. with "uses JPGDEC".
-
- Parameters:
-
- lpJpgData: Pointer to a Data Block containing the JPG-Compressed Image
- dwBlkSize: Size of this Data Block in Bytes
- Dummy1, Dummy1: Currently not used, reserved for future Defintion Applications should.
- se Zero here.
-
- Returns:
-
- A Handle to a Global memory Block allocated with GlobalAlloc in CF_DIB-Data-Format.
- Use GlobalLock to retrieve a Pointer to BITMAPINFOHEADER or in OWL 2.5
- use TDib ADib(Handle); to Create a TDib-Object from it.
-
- The Return value will be NULL, if the Function does not Succeed.
-
- Note that illegal Input Data may Result in abnormal Program Termination without
- returning from DecJpgDib.
- }
-
- implementation
-
- Function JPDecJpgDib(lpJpgData : Pchar; dwBlkSize : LongInt; Dummy1, Dummy2 : LongInt) : THandle; external 'JPANI';
-
- Begin
- End.
-