@cpp.js/package-tiff 1.0.0-beta.23 → 1.0.0-beta.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -0
- package/cppjs-package-tiff.podspec +1 -1
- package/dist/prebuilt/Android-arm64-v8a/include/tiffio.h +11 -11
- package/dist/prebuilt/Android-arm64-v8a/include/tiffvers.h +4 -4
- package/dist/prebuilt/Android-arm64-v8a/lib/cmake/tiff/TiffConfig.cmake +2 -3
- package/dist/prebuilt/Android-arm64-v8a/lib/cmake/tiff/TiffConfigVersion.cmake +3 -3
- package/dist/prebuilt/Android-arm64-v8a/lib/libtiff.so +0 -0
- package/dist/prebuilt/Android-arm64-v8a/lib/pkgconfig/libtiff-4.pc +1 -1
- package/dist/prebuilt/CMakeLists.txt +1 -1
- package/dist/prebuilt/Emscripten-x86_64/include/tiffio.h +11 -11
- package/dist/prebuilt/Emscripten-x86_64/include/tiffvers.h +4 -4
- package/dist/prebuilt/Emscripten-x86_64/lib/cmake/tiff/TiffConfig.cmake +2 -3
- package/dist/prebuilt/Emscripten-x86_64/lib/cmake/tiff/TiffConfigVersion.cmake +3 -3
- package/dist/prebuilt/Emscripten-x86_64/lib/libtiff.a +0 -0
- package/dist/prebuilt/Emscripten-x86_64/lib/pkgconfig/libtiff-4.pc +1 -1
- package/dist/prebuilt/iOS-iphoneos/include/tiffio.h +11 -11
- package/dist/prebuilt/iOS-iphoneos/include/tiffvers.h +4 -4
- package/dist/prebuilt/iOS-iphoneos/lib/cmake/tiff/TiffConfig.cmake +2 -3
- package/dist/prebuilt/iOS-iphoneos/lib/cmake/tiff/TiffConfigVersion.cmake +3 -3
- package/dist/prebuilt/iOS-iphoneos/lib/libtiff.a +0 -0
- package/dist/prebuilt/iOS-iphoneos/lib/libtiffxx.a +0 -0
- package/dist/prebuilt/iOS-iphoneos/lib/pkgconfig/libtiff-4.pc +1 -1
- package/dist/prebuilt/iOS-iphonesimulator/include/tiffio.h +11 -11
- package/dist/prebuilt/iOS-iphonesimulator/include/tiffvers.h +4 -4
- package/dist/prebuilt/iOS-iphonesimulator/lib/cmake/tiff/TiffConfig.cmake +2 -3
- package/dist/prebuilt/iOS-iphonesimulator/lib/cmake/tiff/TiffConfigVersion.cmake +3 -3
- package/dist/prebuilt/iOS-iphonesimulator/lib/libtiff.a +0 -0
- package/dist/prebuilt/iOS-iphonesimulator/lib/libtiffxx.a +0 -0
- package/dist/prebuilt/iOS-iphonesimulator/lib/pkgconfig/libtiff-4.pc +1 -1
- package/package.json +8 -6
- package/{dist/prebuilt/tiff.xcframework/ios-arm64_arm64e_x86_64-simulator → tiff.xcframework/ios-arm64_arm64e}/Headers/tiffio.h +11 -11
- package/{dist/prebuilt/tiffxx.xcframework → tiff.xcframework}/ios-arm64_arm64e/Headers/tiffvers.h +4 -4
- package/tiff.xcframework/ios-arm64_arm64e/libtiff.a +0 -0
- package/{dist/prebuilt/tiffxx.xcframework/ios-arm64_arm64e → tiff.xcframework/ios-arm64_arm64e_x86_64-simulator}/Headers/tiffio.h +11 -11
- package/{dist/prebuilt/tiff.xcframework/ios-arm64_arm64e → tiff.xcframework/ios-arm64_arm64e_x86_64-simulator}/Headers/tiffvers.h +4 -4
- package/{dist/prebuilt/tiff.xcframework → tiff.xcframework}/ios-arm64_arm64e_x86_64-simulator/libtiff.a +0 -0
- package/{dist/prebuilt/tiffxx.xcframework/ios-arm64_arm64e_x86_64-simulator → tiffxx.xcframework/ios-arm64_arm64e}/Headers/tiffio.h +11 -11
- package/{dist/prebuilt/tiffxx.xcframework/ios-arm64_arm64e_x86_64-simulator → tiffxx.xcframework/ios-arm64_arm64e}/Headers/tiffvers.h +4 -4
- package/{dist/prebuilt/tiffxx.xcframework → tiffxx.xcframework}/ios-arm64_arm64e/libtiffxx.a +0 -0
- package/{dist/prebuilt/tiff.xcframework/ios-arm64_arm64e → tiffxx.xcframework/ios-arm64_arm64e_x86_64-simulator}/Headers/tiffio.h +11 -11
- package/{dist/prebuilt/tiff.xcframework → tiffxx.xcframework}/ios-arm64_arm64e_x86_64-simulator/Headers/tiffvers.h +4 -4
- package/{dist/prebuilt/tiffxx.xcframework → tiffxx.xcframework}/ios-arm64_arm64e_x86_64-simulator/libtiffxx.a +0 -0
- package/dist/prebuilt/tiff.xcframework/ios-arm64_arm64e/libtiff.a +0 -0
- package/{dist/prebuilt/tiff.xcframework → tiff.xcframework}/Info.plist +5 -5
- package/{dist/prebuilt/tiff.xcframework → tiff.xcframework}/ios-arm64_arm64e/Headers/tiff.h +0 -0
- package/{dist/prebuilt/tiff.xcframework → tiff.xcframework}/ios-arm64_arm64e/Headers/tiffconf.h +0 -0
- package/{dist/prebuilt/tiff.xcframework → tiff.xcframework}/ios-arm64_arm64e/Headers/tiffio.hxx +0 -0
- package/{dist/prebuilt/tiff.xcframework → tiff.xcframework}/ios-arm64_arm64e_x86_64-simulator/Headers/tiff.h +0 -0
- package/{dist/prebuilt/tiff.xcframework → tiff.xcframework}/ios-arm64_arm64e_x86_64-simulator/Headers/tiffconf.h +0 -0
- package/{dist/prebuilt/tiff.xcframework → tiff.xcframework}/ios-arm64_arm64e_x86_64-simulator/Headers/tiffio.hxx +0 -0
- package/{dist/prebuilt/tiffxx.xcframework → tiffxx.xcframework}/Info.plist +5 -5
- /package/{dist/prebuilt/tiffxx.xcframework → tiffxx.xcframework}/ios-arm64_arm64e/Headers/tiff.h +0 -0
- /package/{dist/prebuilt/tiffxx.xcframework → tiffxx.xcframework}/ios-arm64_arm64e/Headers/tiffconf.h +0 -0
- /package/{dist/prebuilt/tiffxx.xcframework → tiffxx.xcframework}/ios-arm64_arm64e/Headers/tiffio.hxx +0 -0
- /package/{dist/prebuilt/tiffxx.xcframework → tiffxx.xcframework}/ios-arm64_arm64e_x86_64-simulator/Headers/tiff.h +0 -0
- /package/{dist/prebuilt/tiffxx.xcframework → tiffxx.xcframework}/ios-arm64_arm64e_x86_64-simulator/Headers/tiffconf.h +0 -0
- /package/{dist/prebuilt/tiffxx.xcframework → tiffxx.xcframework}/ios-arm64_arm64e_x86_64-simulator/Headers/tiffio.hxx +0 -0
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cpp.js/package-tiff",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
4
|
-
"nativeVersion": "4.
|
|
3
|
+
"version": "1.0.0-beta.25",
|
|
4
|
+
"nativeVersion": "4.7.0",
|
|
5
5
|
"description": "This package provides the Tiff library compiled with Cpp.js, enabling fast and efficient image processing using the TIFF format. It is built with Cpp.js to provide cross-platform support, leveraging both WebAssembly (WASM) for web applications and native code for mobile platforms. Ideal for developers looking to handle TIFF images with high performance in JavaScript environments.",
|
|
6
6
|
"homepage": "https://github.com/bugra9/cpp.js/tree/main/packages/cppjs-package-tiff#readme",
|
|
7
7
|
"repository": "https://github.com/bugra9/cpp.js.git",
|
|
8
8
|
"license": "libtiff",
|
|
9
9
|
"type": "module",
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@cpp.js/package-zlib": "1.0.0-beta.
|
|
11
|
+
"@cpp.js/package-zlib": "^1.0.0-beta.28"
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
|
-
"cpp.js": "1.0.0-beta.
|
|
14
|
+
"cpp.js": "^1.0.0-beta.29"
|
|
15
15
|
},
|
|
16
16
|
"keywords": [
|
|
17
17
|
"tiff",
|
|
@@ -22,7 +22,9 @@
|
|
|
22
22
|
],
|
|
23
23
|
"scripts": {
|
|
24
24
|
"build": "cppjs build",
|
|
25
|
-
"
|
|
26
|
-
"
|
|
25
|
+
"build:wasm": "cppjs build -p WebAssembly",
|
|
26
|
+
"build:android": "cppjs build -p Android",
|
|
27
|
+
"build:ios": "cppjs build -p iOS",
|
|
28
|
+
"clear": "rm -rf .cppjs dist *.xcframework"
|
|
27
29
|
}
|
|
28
30
|
}
|
|
@@ -77,10 +77,6 @@ typedef tstrile_t ttile_t; /* tile number */
|
|
|
77
77
|
typedef tmsize_t tsize_t; /* i/o size in bytes */
|
|
78
78
|
typedef void *tdata_t; /* image data ref */
|
|
79
79
|
|
|
80
|
-
#if !defined(__WIN32__) && (defined(_WIN32) || defined(WIN32))
|
|
81
|
-
#define __WIN32__
|
|
82
|
-
#endif
|
|
83
|
-
|
|
84
80
|
/*
|
|
85
81
|
* On windows you should define USE_WIN32_FILEIO if you are using tif_win32.c
|
|
86
82
|
* or AVOID_WIN32_FILEIO if you are using something else (like tif_unix.c).
|
|
@@ -88,7 +84,7 @@ typedef void *tdata_t; /* image data ref */
|
|
|
88
84
|
* By default tif_unix.c is assumed.
|
|
89
85
|
*/
|
|
90
86
|
|
|
91
|
-
#if defined(
|
|
87
|
+
#if defined(_WIN32)
|
|
92
88
|
#if !defined(__CYGWIN) && !defined(AVOID_WIN32_FILEIO) && \
|
|
93
89
|
!defined(USE_WIN32_FILEIO)
|
|
94
90
|
#define AVOID_WIN32_FILEIO
|
|
@@ -98,11 +94,11 @@ typedef void *tdata_t; /* image data ref */
|
|
|
98
94
|
#if defined(USE_WIN32_FILEIO)
|
|
99
95
|
#define VC_EXTRALEAN
|
|
100
96
|
#include <windows.h>
|
|
101
|
-
#ifdef
|
|
97
|
+
#ifdef _WIN32
|
|
102
98
|
DECLARE_HANDLE(thandle_t); /* Win32 file handle */
|
|
103
99
|
#else
|
|
104
100
|
typedef HFILE thandle_t; /* client data handle */
|
|
105
|
-
#endif /*
|
|
101
|
+
#endif /* _WIN32 */
|
|
106
102
|
#else
|
|
107
103
|
typedef void *thandle_t; /* client data handle */
|
|
108
104
|
#endif /* USE_WIN32_FILEIO */
|
|
@@ -311,14 +307,15 @@ extern "C"
|
|
|
311
307
|
/*
|
|
312
308
|
* Auxiliary functions.
|
|
313
309
|
*/
|
|
314
|
-
|
|
310
|
+
#ifndef TIFF_DO_NOT_USE_NON_EXT_ALLOC_FUNCTIONS
|
|
315
311
|
extern void *_TIFFmalloc(tmsize_t s);
|
|
316
312
|
extern void *_TIFFcalloc(tmsize_t nmemb, tmsize_t siz);
|
|
317
313
|
extern void *_TIFFrealloc(void *p, tmsize_t s);
|
|
314
|
+
extern void _TIFFfree(void *p);
|
|
315
|
+
#endif
|
|
318
316
|
extern void _TIFFmemset(void *p, int v, tmsize_t c);
|
|
319
317
|
extern void _TIFFmemcpy(void *d, const void *s, tmsize_t c);
|
|
320
318
|
extern int _TIFFmemcmp(const void *p1, const void *p2, tmsize_t c);
|
|
321
|
-
extern void _TIFFfree(void *p);
|
|
322
319
|
|
|
323
320
|
/*
|
|
324
321
|
** Stuff, related to tag handling and creating custom tags.
|
|
@@ -508,6 +505,9 @@ extern int TIFFReadRGBAImageOriented(TIFF *, uint32_t, uint32_t, uint32_t *,
|
|
|
508
505
|
TIFFOpenOptionsSetMaxSingleMemAlloc(TIFFOpenOptions *opts,
|
|
509
506
|
tmsize_t max_single_mem_alloc);
|
|
510
507
|
extern void
|
|
508
|
+
TIFFOpenOptionsSetMaxCumulatedMemAlloc(TIFFOpenOptions *opts,
|
|
509
|
+
tmsize_t max_cumulated_mem_alloc);
|
|
510
|
+
extern void
|
|
511
511
|
TIFFOpenOptionsSetErrorHandlerExtR(TIFFOpenOptions *opts,
|
|
512
512
|
TIFFErrorHandlerExtR handler,
|
|
513
513
|
void *errorhandler_user_data);
|
|
@@ -518,11 +518,11 @@ extern int TIFFReadRGBAImageOriented(TIFF *, uint32_t, uint32_t, uint32_t *,
|
|
|
518
518
|
|
|
519
519
|
extern TIFF *TIFFOpen(const char *, const char *);
|
|
520
520
|
extern TIFF *TIFFOpenExt(const char *, const char *, TIFFOpenOptions *opts);
|
|
521
|
-
#ifdef
|
|
521
|
+
#ifdef _WIN32
|
|
522
522
|
extern TIFF *TIFFOpenW(const wchar_t *, const char *);
|
|
523
523
|
extern TIFF *TIFFOpenWExt(const wchar_t *, const char *,
|
|
524
524
|
TIFFOpenOptions *opts);
|
|
525
|
-
#endif /*
|
|
525
|
+
#endif /* _WIN32 */
|
|
526
526
|
extern TIFF *TIFFFdOpen(int, const char *, const char *);
|
|
527
527
|
extern TIFF *TIFFFdOpenExt(int, const char *, const char *,
|
|
528
528
|
TIFFOpenOptions *opts);
|
package/{dist/prebuilt/tiffxx.xcframework → tiff.xcframework}/ios-arm64_arm64e/Headers/tiffvers.h
RENAMED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* Furthermore, configure_file variables of type "" are
|
|
9
9
|
* modified by clang-format and won't be substituted by CMake.
|
|
10
10
|
*/
|
|
11
|
-
#define TIFFLIB_VERSION_STR "LIBTIFF, Version 4.
|
|
11
|
+
#define TIFFLIB_VERSION_STR "LIBTIFF, Version 4.7.0\nCopyright (c) 1988-1996 Sam Leffler\nCopyright (c) 1991-1996 Silicon Graphics, Inc."
|
|
12
12
|
/*
|
|
13
13
|
* This define can be used in code that requires
|
|
14
14
|
* compilation-related definitions specific to a
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
* version checking should be done based on the
|
|
17
17
|
* string returned by TIFFGetVersion.
|
|
18
18
|
*/
|
|
19
|
-
#define TIFFLIB_VERSION
|
|
19
|
+
#define TIFFLIB_VERSION 20240911
|
|
20
20
|
|
|
21
21
|
/* The following defines have been added in 4.5.0 */
|
|
22
22
|
#define TIFFLIB_MAJOR_VERSION 4
|
|
23
|
-
#define TIFFLIB_MINOR_VERSION
|
|
23
|
+
#define TIFFLIB_MINOR_VERSION 7
|
|
24
24
|
#define TIFFLIB_MICRO_VERSION 0
|
|
25
|
-
#define TIFFLIB_VERSION_STR_MAJ_MIN_MIC "4.
|
|
25
|
+
#define TIFFLIB_VERSION_STR_MAJ_MIN_MIC "4.7.0"
|
|
26
26
|
|
|
27
27
|
/* Macro added in 4.5.0. Returns TRUE if the current libtiff version is
|
|
28
28
|
* greater or equal to major.minor.micro
|
|
Binary file
|
|
@@ -77,10 +77,6 @@ typedef tstrile_t ttile_t; /* tile number */
|
|
|
77
77
|
typedef tmsize_t tsize_t; /* i/o size in bytes */
|
|
78
78
|
typedef void *tdata_t; /* image data ref */
|
|
79
79
|
|
|
80
|
-
#if !defined(__WIN32__) && (defined(_WIN32) || defined(WIN32))
|
|
81
|
-
#define __WIN32__
|
|
82
|
-
#endif
|
|
83
|
-
|
|
84
80
|
/*
|
|
85
81
|
* On windows you should define USE_WIN32_FILEIO if you are using tif_win32.c
|
|
86
82
|
* or AVOID_WIN32_FILEIO if you are using something else (like tif_unix.c).
|
|
@@ -88,7 +84,7 @@ typedef void *tdata_t; /* image data ref */
|
|
|
88
84
|
* By default tif_unix.c is assumed.
|
|
89
85
|
*/
|
|
90
86
|
|
|
91
|
-
#if defined(
|
|
87
|
+
#if defined(_WIN32)
|
|
92
88
|
#if !defined(__CYGWIN) && !defined(AVOID_WIN32_FILEIO) && \
|
|
93
89
|
!defined(USE_WIN32_FILEIO)
|
|
94
90
|
#define AVOID_WIN32_FILEIO
|
|
@@ -98,11 +94,11 @@ typedef void *tdata_t; /* image data ref */
|
|
|
98
94
|
#if defined(USE_WIN32_FILEIO)
|
|
99
95
|
#define VC_EXTRALEAN
|
|
100
96
|
#include <windows.h>
|
|
101
|
-
#ifdef
|
|
97
|
+
#ifdef _WIN32
|
|
102
98
|
DECLARE_HANDLE(thandle_t); /* Win32 file handle */
|
|
103
99
|
#else
|
|
104
100
|
typedef HFILE thandle_t; /* client data handle */
|
|
105
|
-
#endif /*
|
|
101
|
+
#endif /* _WIN32 */
|
|
106
102
|
#else
|
|
107
103
|
typedef void *thandle_t; /* client data handle */
|
|
108
104
|
#endif /* USE_WIN32_FILEIO */
|
|
@@ -311,14 +307,15 @@ extern "C"
|
|
|
311
307
|
/*
|
|
312
308
|
* Auxiliary functions.
|
|
313
309
|
*/
|
|
314
|
-
|
|
310
|
+
#ifndef TIFF_DO_NOT_USE_NON_EXT_ALLOC_FUNCTIONS
|
|
315
311
|
extern void *_TIFFmalloc(tmsize_t s);
|
|
316
312
|
extern void *_TIFFcalloc(tmsize_t nmemb, tmsize_t siz);
|
|
317
313
|
extern void *_TIFFrealloc(void *p, tmsize_t s);
|
|
314
|
+
extern void _TIFFfree(void *p);
|
|
315
|
+
#endif
|
|
318
316
|
extern void _TIFFmemset(void *p, int v, tmsize_t c);
|
|
319
317
|
extern void _TIFFmemcpy(void *d, const void *s, tmsize_t c);
|
|
320
318
|
extern int _TIFFmemcmp(const void *p1, const void *p2, tmsize_t c);
|
|
321
|
-
extern void _TIFFfree(void *p);
|
|
322
319
|
|
|
323
320
|
/*
|
|
324
321
|
** Stuff, related to tag handling and creating custom tags.
|
|
@@ -508,6 +505,9 @@ extern int TIFFReadRGBAImageOriented(TIFF *, uint32_t, uint32_t, uint32_t *,
|
|
|
508
505
|
TIFFOpenOptionsSetMaxSingleMemAlloc(TIFFOpenOptions *opts,
|
|
509
506
|
tmsize_t max_single_mem_alloc);
|
|
510
507
|
extern void
|
|
508
|
+
TIFFOpenOptionsSetMaxCumulatedMemAlloc(TIFFOpenOptions *opts,
|
|
509
|
+
tmsize_t max_cumulated_mem_alloc);
|
|
510
|
+
extern void
|
|
511
511
|
TIFFOpenOptionsSetErrorHandlerExtR(TIFFOpenOptions *opts,
|
|
512
512
|
TIFFErrorHandlerExtR handler,
|
|
513
513
|
void *errorhandler_user_data);
|
|
@@ -518,11 +518,11 @@ extern int TIFFReadRGBAImageOriented(TIFF *, uint32_t, uint32_t, uint32_t *,
|
|
|
518
518
|
|
|
519
519
|
extern TIFF *TIFFOpen(const char *, const char *);
|
|
520
520
|
extern TIFF *TIFFOpenExt(const char *, const char *, TIFFOpenOptions *opts);
|
|
521
|
-
#ifdef
|
|
521
|
+
#ifdef _WIN32
|
|
522
522
|
extern TIFF *TIFFOpenW(const wchar_t *, const char *);
|
|
523
523
|
extern TIFF *TIFFOpenWExt(const wchar_t *, const char *,
|
|
524
524
|
TIFFOpenOptions *opts);
|
|
525
|
-
#endif /*
|
|
525
|
+
#endif /* _WIN32 */
|
|
526
526
|
extern TIFF *TIFFFdOpen(int, const char *, const char *);
|
|
527
527
|
extern TIFF *TIFFFdOpenExt(int, const char *, const char *,
|
|
528
528
|
TIFFOpenOptions *opts);
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* Furthermore, configure_file variables of type "" are
|
|
9
9
|
* modified by clang-format and won't be substituted by CMake.
|
|
10
10
|
*/
|
|
11
|
-
#define TIFFLIB_VERSION_STR "LIBTIFF, Version 4.
|
|
11
|
+
#define TIFFLIB_VERSION_STR "LIBTIFF, Version 4.7.0\nCopyright (c) 1988-1996 Sam Leffler\nCopyright (c) 1991-1996 Silicon Graphics, Inc."
|
|
12
12
|
/*
|
|
13
13
|
* This define can be used in code that requires
|
|
14
14
|
* compilation-related definitions specific to a
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
* version checking should be done based on the
|
|
17
17
|
* string returned by TIFFGetVersion.
|
|
18
18
|
*/
|
|
19
|
-
#define TIFFLIB_VERSION
|
|
19
|
+
#define TIFFLIB_VERSION 20240911
|
|
20
20
|
|
|
21
21
|
/* The following defines have been added in 4.5.0 */
|
|
22
22
|
#define TIFFLIB_MAJOR_VERSION 4
|
|
23
|
-
#define TIFFLIB_MINOR_VERSION
|
|
23
|
+
#define TIFFLIB_MINOR_VERSION 7
|
|
24
24
|
#define TIFFLIB_MICRO_VERSION 0
|
|
25
|
-
#define TIFFLIB_VERSION_STR_MAJ_MIN_MIC "4.
|
|
25
|
+
#define TIFFLIB_VERSION_STR_MAJ_MIN_MIC "4.7.0"
|
|
26
26
|
|
|
27
27
|
/* Macro added in 4.5.0. Returns TRUE if the current libtiff version is
|
|
28
28
|
* greater or equal to major.minor.micro
|
|
Binary file
|
|
@@ -77,10 +77,6 @@ typedef tstrile_t ttile_t; /* tile number */
|
|
|
77
77
|
typedef tmsize_t tsize_t; /* i/o size in bytes */
|
|
78
78
|
typedef void *tdata_t; /* image data ref */
|
|
79
79
|
|
|
80
|
-
#if !defined(__WIN32__) && (defined(_WIN32) || defined(WIN32))
|
|
81
|
-
#define __WIN32__
|
|
82
|
-
#endif
|
|
83
|
-
|
|
84
80
|
/*
|
|
85
81
|
* On windows you should define USE_WIN32_FILEIO if you are using tif_win32.c
|
|
86
82
|
* or AVOID_WIN32_FILEIO if you are using something else (like tif_unix.c).
|
|
@@ -88,7 +84,7 @@ typedef void *tdata_t; /* image data ref */
|
|
|
88
84
|
* By default tif_unix.c is assumed.
|
|
89
85
|
*/
|
|
90
86
|
|
|
91
|
-
#if defined(
|
|
87
|
+
#if defined(_WIN32)
|
|
92
88
|
#if !defined(__CYGWIN) && !defined(AVOID_WIN32_FILEIO) && \
|
|
93
89
|
!defined(USE_WIN32_FILEIO)
|
|
94
90
|
#define AVOID_WIN32_FILEIO
|
|
@@ -98,11 +94,11 @@ typedef void *tdata_t; /* image data ref */
|
|
|
98
94
|
#if defined(USE_WIN32_FILEIO)
|
|
99
95
|
#define VC_EXTRALEAN
|
|
100
96
|
#include <windows.h>
|
|
101
|
-
#ifdef
|
|
97
|
+
#ifdef _WIN32
|
|
102
98
|
DECLARE_HANDLE(thandle_t); /* Win32 file handle */
|
|
103
99
|
#else
|
|
104
100
|
typedef HFILE thandle_t; /* client data handle */
|
|
105
|
-
#endif /*
|
|
101
|
+
#endif /* _WIN32 */
|
|
106
102
|
#else
|
|
107
103
|
typedef void *thandle_t; /* client data handle */
|
|
108
104
|
#endif /* USE_WIN32_FILEIO */
|
|
@@ -311,14 +307,15 @@ extern "C"
|
|
|
311
307
|
/*
|
|
312
308
|
* Auxiliary functions.
|
|
313
309
|
*/
|
|
314
|
-
|
|
310
|
+
#ifndef TIFF_DO_NOT_USE_NON_EXT_ALLOC_FUNCTIONS
|
|
315
311
|
extern void *_TIFFmalloc(tmsize_t s);
|
|
316
312
|
extern void *_TIFFcalloc(tmsize_t nmemb, tmsize_t siz);
|
|
317
313
|
extern void *_TIFFrealloc(void *p, tmsize_t s);
|
|
314
|
+
extern void _TIFFfree(void *p);
|
|
315
|
+
#endif
|
|
318
316
|
extern void _TIFFmemset(void *p, int v, tmsize_t c);
|
|
319
317
|
extern void _TIFFmemcpy(void *d, const void *s, tmsize_t c);
|
|
320
318
|
extern int _TIFFmemcmp(const void *p1, const void *p2, tmsize_t c);
|
|
321
|
-
extern void _TIFFfree(void *p);
|
|
322
319
|
|
|
323
320
|
/*
|
|
324
321
|
** Stuff, related to tag handling and creating custom tags.
|
|
@@ -508,6 +505,9 @@ extern int TIFFReadRGBAImageOriented(TIFF *, uint32_t, uint32_t, uint32_t *,
|
|
|
508
505
|
TIFFOpenOptionsSetMaxSingleMemAlloc(TIFFOpenOptions *opts,
|
|
509
506
|
tmsize_t max_single_mem_alloc);
|
|
510
507
|
extern void
|
|
508
|
+
TIFFOpenOptionsSetMaxCumulatedMemAlloc(TIFFOpenOptions *opts,
|
|
509
|
+
tmsize_t max_cumulated_mem_alloc);
|
|
510
|
+
extern void
|
|
511
511
|
TIFFOpenOptionsSetErrorHandlerExtR(TIFFOpenOptions *opts,
|
|
512
512
|
TIFFErrorHandlerExtR handler,
|
|
513
513
|
void *errorhandler_user_data);
|
|
@@ -518,11 +518,11 @@ extern int TIFFReadRGBAImageOriented(TIFF *, uint32_t, uint32_t, uint32_t *,
|
|
|
518
518
|
|
|
519
519
|
extern TIFF *TIFFOpen(const char *, const char *);
|
|
520
520
|
extern TIFF *TIFFOpenExt(const char *, const char *, TIFFOpenOptions *opts);
|
|
521
|
-
#ifdef
|
|
521
|
+
#ifdef _WIN32
|
|
522
522
|
extern TIFF *TIFFOpenW(const wchar_t *, const char *);
|
|
523
523
|
extern TIFF *TIFFOpenWExt(const wchar_t *, const char *,
|
|
524
524
|
TIFFOpenOptions *opts);
|
|
525
|
-
#endif /*
|
|
525
|
+
#endif /* _WIN32 */
|
|
526
526
|
extern TIFF *TIFFFdOpen(int, const char *, const char *);
|
|
527
527
|
extern TIFF *TIFFFdOpenExt(int, const char *, const char *,
|
|
528
528
|
TIFFOpenOptions *opts);
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* Furthermore, configure_file variables of type "" are
|
|
9
9
|
* modified by clang-format and won't be substituted by CMake.
|
|
10
10
|
*/
|
|
11
|
-
#define TIFFLIB_VERSION_STR "LIBTIFF, Version 4.
|
|
11
|
+
#define TIFFLIB_VERSION_STR "LIBTIFF, Version 4.7.0\nCopyright (c) 1988-1996 Sam Leffler\nCopyright (c) 1991-1996 Silicon Graphics, Inc."
|
|
12
12
|
/*
|
|
13
13
|
* This define can be used in code that requires
|
|
14
14
|
* compilation-related definitions specific to a
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
* version checking should be done based on the
|
|
17
17
|
* string returned by TIFFGetVersion.
|
|
18
18
|
*/
|
|
19
|
-
#define TIFFLIB_VERSION
|
|
19
|
+
#define TIFFLIB_VERSION 20240911
|
|
20
20
|
|
|
21
21
|
/* The following defines have been added in 4.5.0 */
|
|
22
22
|
#define TIFFLIB_MAJOR_VERSION 4
|
|
23
|
-
#define TIFFLIB_MINOR_VERSION
|
|
23
|
+
#define TIFFLIB_MINOR_VERSION 7
|
|
24
24
|
#define TIFFLIB_MICRO_VERSION 0
|
|
25
|
-
#define TIFFLIB_VERSION_STR_MAJ_MIN_MIC "4.
|
|
25
|
+
#define TIFFLIB_VERSION_STR_MAJ_MIN_MIC "4.7.0"
|
|
26
26
|
|
|
27
27
|
/* Macro added in 4.5.0. Returns TRUE if the current libtiff version is
|
|
28
28
|
* greater or equal to major.minor.micro
|
package/{dist/prebuilt/tiffxx.xcframework → tiffxx.xcframework}/ios-arm64_arm64e/libtiffxx.a
RENAMED
|
Binary file
|
|
@@ -77,10 +77,6 @@ typedef tstrile_t ttile_t; /* tile number */
|
|
|
77
77
|
typedef tmsize_t tsize_t; /* i/o size in bytes */
|
|
78
78
|
typedef void *tdata_t; /* image data ref */
|
|
79
79
|
|
|
80
|
-
#if !defined(__WIN32__) && (defined(_WIN32) || defined(WIN32))
|
|
81
|
-
#define __WIN32__
|
|
82
|
-
#endif
|
|
83
|
-
|
|
84
80
|
/*
|
|
85
81
|
* On windows you should define USE_WIN32_FILEIO if you are using tif_win32.c
|
|
86
82
|
* or AVOID_WIN32_FILEIO if you are using something else (like tif_unix.c).
|
|
@@ -88,7 +84,7 @@ typedef void *tdata_t; /* image data ref */
|
|
|
88
84
|
* By default tif_unix.c is assumed.
|
|
89
85
|
*/
|
|
90
86
|
|
|
91
|
-
#if defined(
|
|
87
|
+
#if defined(_WIN32)
|
|
92
88
|
#if !defined(__CYGWIN) && !defined(AVOID_WIN32_FILEIO) && \
|
|
93
89
|
!defined(USE_WIN32_FILEIO)
|
|
94
90
|
#define AVOID_WIN32_FILEIO
|
|
@@ -98,11 +94,11 @@ typedef void *tdata_t; /* image data ref */
|
|
|
98
94
|
#if defined(USE_WIN32_FILEIO)
|
|
99
95
|
#define VC_EXTRALEAN
|
|
100
96
|
#include <windows.h>
|
|
101
|
-
#ifdef
|
|
97
|
+
#ifdef _WIN32
|
|
102
98
|
DECLARE_HANDLE(thandle_t); /* Win32 file handle */
|
|
103
99
|
#else
|
|
104
100
|
typedef HFILE thandle_t; /* client data handle */
|
|
105
|
-
#endif /*
|
|
101
|
+
#endif /* _WIN32 */
|
|
106
102
|
#else
|
|
107
103
|
typedef void *thandle_t; /* client data handle */
|
|
108
104
|
#endif /* USE_WIN32_FILEIO */
|
|
@@ -311,14 +307,15 @@ extern "C"
|
|
|
311
307
|
/*
|
|
312
308
|
* Auxiliary functions.
|
|
313
309
|
*/
|
|
314
|
-
|
|
310
|
+
#ifndef TIFF_DO_NOT_USE_NON_EXT_ALLOC_FUNCTIONS
|
|
315
311
|
extern void *_TIFFmalloc(tmsize_t s);
|
|
316
312
|
extern void *_TIFFcalloc(tmsize_t nmemb, tmsize_t siz);
|
|
317
313
|
extern void *_TIFFrealloc(void *p, tmsize_t s);
|
|
314
|
+
extern void _TIFFfree(void *p);
|
|
315
|
+
#endif
|
|
318
316
|
extern void _TIFFmemset(void *p, int v, tmsize_t c);
|
|
319
317
|
extern void _TIFFmemcpy(void *d, const void *s, tmsize_t c);
|
|
320
318
|
extern int _TIFFmemcmp(const void *p1, const void *p2, tmsize_t c);
|
|
321
|
-
extern void _TIFFfree(void *p);
|
|
322
319
|
|
|
323
320
|
/*
|
|
324
321
|
** Stuff, related to tag handling and creating custom tags.
|
|
@@ -508,6 +505,9 @@ extern int TIFFReadRGBAImageOriented(TIFF *, uint32_t, uint32_t, uint32_t *,
|
|
|
508
505
|
TIFFOpenOptionsSetMaxSingleMemAlloc(TIFFOpenOptions *opts,
|
|
509
506
|
tmsize_t max_single_mem_alloc);
|
|
510
507
|
extern void
|
|
508
|
+
TIFFOpenOptionsSetMaxCumulatedMemAlloc(TIFFOpenOptions *opts,
|
|
509
|
+
tmsize_t max_cumulated_mem_alloc);
|
|
510
|
+
extern void
|
|
511
511
|
TIFFOpenOptionsSetErrorHandlerExtR(TIFFOpenOptions *opts,
|
|
512
512
|
TIFFErrorHandlerExtR handler,
|
|
513
513
|
void *errorhandler_user_data);
|
|
@@ -518,11 +518,11 @@ extern int TIFFReadRGBAImageOriented(TIFF *, uint32_t, uint32_t, uint32_t *,
|
|
|
518
518
|
|
|
519
519
|
extern TIFF *TIFFOpen(const char *, const char *);
|
|
520
520
|
extern TIFF *TIFFOpenExt(const char *, const char *, TIFFOpenOptions *opts);
|
|
521
|
-
#ifdef
|
|
521
|
+
#ifdef _WIN32
|
|
522
522
|
extern TIFF *TIFFOpenW(const wchar_t *, const char *);
|
|
523
523
|
extern TIFF *TIFFOpenWExt(const wchar_t *, const char *,
|
|
524
524
|
TIFFOpenOptions *opts);
|
|
525
|
-
#endif /*
|
|
525
|
+
#endif /* _WIN32 */
|
|
526
526
|
extern TIFF *TIFFFdOpen(int, const char *, const char *);
|
|
527
527
|
extern TIFF *TIFFFdOpenExt(int, const char *, const char *,
|
|
528
528
|
TIFFOpenOptions *opts);
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* Furthermore, configure_file variables of type "" are
|
|
9
9
|
* modified by clang-format and won't be substituted by CMake.
|
|
10
10
|
*/
|
|
11
|
-
#define TIFFLIB_VERSION_STR "LIBTIFF, Version 4.
|
|
11
|
+
#define TIFFLIB_VERSION_STR "LIBTIFF, Version 4.7.0\nCopyright (c) 1988-1996 Sam Leffler\nCopyright (c) 1991-1996 Silicon Graphics, Inc."
|
|
12
12
|
/*
|
|
13
13
|
* This define can be used in code that requires
|
|
14
14
|
* compilation-related definitions specific to a
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
* version checking should be done based on the
|
|
17
17
|
* string returned by TIFFGetVersion.
|
|
18
18
|
*/
|
|
19
|
-
#define TIFFLIB_VERSION
|
|
19
|
+
#define TIFFLIB_VERSION 20240911
|
|
20
20
|
|
|
21
21
|
/* The following defines have been added in 4.5.0 */
|
|
22
22
|
#define TIFFLIB_MAJOR_VERSION 4
|
|
23
|
-
#define TIFFLIB_MINOR_VERSION
|
|
23
|
+
#define TIFFLIB_MINOR_VERSION 7
|
|
24
24
|
#define TIFFLIB_MICRO_VERSION 0
|
|
25
|
-
#define TIFFLIB_VERSION_STR_MAJ_MIN_MIC "4.
|
|
25
|
+
#define TIFFLIB_VERSION_STR_MAJ_MIN_MIC "4.7.0"
|
|
26
26
|
|
|
27
27
|
/* Macro added in 4.5.0. Returns TRUE if the current libtiff version is
|
|
28
28
|
* greater or equal to major.minor.micro
|
|
Binary file
|
|
Binary file
|
|
@@ -10,19 +10,16 @@
|
|
|
10
10
|
<key>HeadersPath</key>
|
|
11
11
|
<string>Headers</string>
|
|
12
12
|
<key>LibraryIdentifier</key>
|
|
13
|
-
<string>ios-
|
|
13
|
+
<string>ios-arm64_arm64e</string>
|
|
14
14
|
<key>LibraryPath</key>
|
|
15
15
|
<string>libtiff.a</string>
|
|
16
16
|
<key>SupportedArchitectures</key>
|
|
17
17
|
<array>
|
|
18
18
|
<string>arm64</string>
|
|
19
19
|
<string>arm64e</string>
|
|
20
|
-
<string>x86_64</string>
|
|
21
20
|
</array>
|
|
22
21
|
<key>SupportedPlatform</key>
|
|
23
22
|
<string>ios</string>
|
|
24
|
-
<key>SupportedPlatformVariant</key>
|
|
25
|
-
<string>simulator</string>
|
|
26
23
|
</dict>
|
|
27
24
|
<dict>
|
|
28
25
|
<key>BinaryPath</key>
|
|
@@ -30,16 +27,19 @@
|
|
|
30
27
|
<key>HeadersPath</key>
|
|
31
28
|
<string>Headers</string>
|
|
32
29
|
<key>LibraryIdentifier</key>
|
|
33
|
-
<string>ios-
|
|
30
|
+
<string>ios-arm64_arm64e_x86_64-simulator</string>
|
|
34
31
|
<key>LibraryPath</key>
|
|
35
32
|
<string>libtiff.a</string>
|
|
36
33
|
<key>SupportedArchitectures</key>
|
|
37
34
|
<array>
|
|
38
35
|
<string>arm64</string>
|
|
39
36
|
<string>arm64e</string>
|
|
37
|
+
<string>x86_64</string>
|
|
40
38
|
</array>
|
|
41
39
|
<key>SupportedPlatform</key>
|
|
42
40
|
<string>ios</string>
|
|
41
|
+
<key>SupportedPlatformVariant</key>
|
|
42
|
+
<string>simulator</string>
|
|
43
43
|
</dict>
|
|
44
44
|
</array>
|
|
45
45
|
<key>CFBundlePackageType</key>
|
|
File without changes
|
package/{dist/prebuilt/tiff.xcframework → tiff.xcframework}/ios-arm64_arm64e/Headers/tiffconf.h
RENAMED
|
File without changes
|
package/{dist/prebuilt/tiff.xcframework → tiff.xcframework}/ios-arm64_arm64e/Headers/tiffio.hxx
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -10,19 +10,16 @@
|
|
|
10
10
|
<key>HeadersPath</key>
|
|
11
11
|
<string>Headers</string>
|
|
12
12
|
<key>LibraryIdentifier</key>
|
|
13
|
-
<string>ios-
|
|
13
|
+
<string>ios-arm64_arm64e</string>
|
|
14
14
|
<key>LibraryPath</key>
|
|
15
15
|
<string>libtiffxx.a</string>
|
|
16
16
|
<key>SupportedArchitectures</key>
|
|
17
17
|
<array>
|
|
18
18
|
<string>arm64</string>
|
|
19
19
|
<string>arm64e</string>
|
|
20
|
-
<string>x86_64</string>
|
|
21
20
|
</array>
|
|
22
21
|
<key>SupportedPlatform</key>
|
|
23
22
|
<string>ios</string>
|
|
24
|
-
<key>SupportedPlatformVariant</key>
|
|
25
|
-
<string>simulator</string>
|
|
26
23
|
</dict>
|
|
27
24
|
<dict>
|
|
28
25
|
<key>BinaryPath</key>
|
|
@@ -30,16 +27,19 @@
|
|
|
30
27
|
<key>HeadersPath</key>
|
|
31
28
|
<string>Headers</string>
|
|
32
29
|
<key>LibraryIdentifier</key>
|
|
33
|
-
<string>ios-
|
|
30
|
+
<string>ios-arm64_arm64e_x86_64-simulator</string>
|
|
34
31
|
<key>LibraryPath</key>
|
|
35
32
|
<string>libtiffxx.a</string>
|
|
36
33
|
<key>SupportedArchitectures</key>
|
|
37
34
|
<array>
|
|
38
35
|
<string>arm64</string>
|
|
39
36
|
<string>arm64e</string>
|
|
37
|
+
<string>x86_64</string>
|
|
40
38
|
</array>
|
|
41
39
|
<key>SupportedPlatform</key>
|
|
42
40
|
<string>ios</string>
|
|
41
|
+
<key>SupportedPlatformVariant</key>
|
|
42
|
+
<string>simulator</string>
|
|
43
43
|
</dict>
|
|
44
44
|
</array>
|
|
45
45
|
<key>CFBundlePackageType</key>
|
/package/{dist/prebuilt/tiffxx.xcframework → tiffxx.xcframework}/ios-arm64_arm64e/Headers/tiff.h
RENAMED
|
File without changes
|
/package/{dist/prebuilt/tiffxx.xcframework → tiffxx.xcframework}/ios-arm64_arm64e/Headers/tiffconf.h
RENAMED
|
File without changes
|
/package/{dist/prebuilt/tiffxx.xcframework → tiffxx.xcframework}/ios-arm64_arm64e/Headers/tiffio.hxx
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|