mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-10-06 00:30:10 -06:00
plugin/tif updated to version 1.43 (thanks tojocky)
git-svn-id: svn://ultimatepp.org/upp/trunk@3916 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
17ea71ed08
commit
5987030f5e
73 changed files with 7732 additions and 5156 deletions
|
|
@ -1,13 +1,13 @@
|
|||
#include <Draw/Draw.h>
|
||||
#include "tif.h"
|
||||
|
||||
#define int8 tif_int8
|
||||
#define int32 tif_int32
|
||||
#define uint32 tif_uint32
|
||||
#include <plugin/tif/lib/tiffio.h>
|
||||
#include <plugin/tif/lib/tiffiop.h>
|
||||
#undef int32
|
||||
#undef uint32
|
||||
#ifdef PLATFORM_WIN32
|
||||
#define tif_int32 long
|
||||
#define tif_uint32 unsigned long
|
||||
#else
|
||||
#define tif_int32 int
|
||||
#define tif_uint32 unsigned int
|
||||
#endif
|
||||
|
||||
#define LLOG(x) // LOG(x)
|
||||
|
||||
|
|
@ -522,6 +522,17 @@ struct ::tiff *TIFFFileStreamOpen(const char *filename, const char *mode)
|
|||
return NULL;
|
||||
return TIFFStreamOpen(filename, mode, -fs, true);
|
||||
}
|
||||
/*
|
||||
|
||||
struct ::tiff* TIFFWrapOpen(const char *filename, const char *mode){
|
||||
return ::TIFFOpen(filename, mode);
|
||||
}
|
||||
|
||||
int TIFFWrapGetField(::tiff* tif_data, uint32 tag, ...){
|
||||
va_list ap;
|
||||
return ::TIFFGetField(tif_data, tag, ap);
|
||||
}
|
||||
*/
|
||||
|
||||
struct ::tiff *TIFFStreamOpen(const char *filename, const char *mode, Stream *stream, bool destruct)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue