Last change
on this file since 13 was 2, checked in by Dmitry A. Kuminov, 16 years ago |
Initially imported qt-all-opensource-src-4.5.1 from Trolltech.
|
File size:
443 bytes
|
Line | |
---|
1 | #include <tiffio.h>
|
---|
2 |
|
---|
3 | #if !defined(TIFF_VERSION)
|
---|
4 | # error "Required libtiff not found"
|
---|
5 | #elif TIFF_VERSION < 42
|
---|
6 | # error "unsupported tiff version"
|
---|
7 | #endif
|
---|
8 |
|
---|
9 | int main(int, char **)
|
---|
10 | {
|
---|
11 | tdata_t buffer = _TIFFmalloc(128);
|
---|
12 | _TIFFfree(buffer);
|
---|
13 |
|
---|
14 | // some libtiff implementations where TIFF_VERSION >= 42 do not
|
---|
15 | // have TIFFReadRGBAImageOriented(), so let's check for it
|
---|
16 | TIFFReadRGBAImageOriented(0, 0, 0, 0, 0, 0);
|
---|
17 |
|
---|
18 | return 0;
|
---|
19 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.