1.0.0 • Published 10 months ago
@cpp.js/package-tiff v1.0.0
@cpp.js/package-tiff
Precompiled tiff library built with cpp.js for seamless integration in JavaScript, WebAssembly and React Native projects.
Integration
Start by installing these package with the following command:
npm install @cpp.js/package-tiffTo enable the library, modify the cppjs.config.js file as shown below.
+import tiff from '@cpp.js/package-tiff/cppjs.config.js';
export default {
dependencies: [
+ tiff
]
paths: {
config: import.meta.url,
}
};Usage
Below are the steps to use the tiff in your C++ or JavaScript code.
Usage in C++ Code
+#include <tiffio.h>
std::string Native::sample() {
+ return std::string(TIFFGetVersion());
}License
This project includes the precompiled tiff library, which is distributed under the libtiff License.
Tiff Homepage: https://libtiff.gitlab.io/libtiff/index.html
1.0.0
10 months ago
1.0.0-beta.26
10 months ago
1.0.0-beta.25
11 months ago
1.0.0-beta.24
11 months ago
1.0.0-beta.23
11 months ago
1.0.0-beta.22
11 months ago
1.0.0-beta.21
11 months ago