-
Notifications
You must be signed in to change notification settings - Fork 694
Open Source C++ api #3083
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Open Source C++ api #3083
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds open source C++ API support by introducing several third-party libraries and supporting files to the codebase, specifically libtiff (TIFF image library) and boost json functionality.
Key changes:
- Added comprehensive libtiff implementation including multiple compression codecs (JPEG, JBIG, LERC, LogLuv)
- Added supporting utilities (hash set, error handling, flush operations, extension support)
- Added boost json library integration as header-only
Reviewed changes
Copilot reviewed 34 out of 735 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| cpp/3rd_party/libtiff/tif_luv.c | Implements LogLuv compression for high dynamic range images |
| cpp/3rd_party/libtiff/tif_lerc.c | Implements LERC compression codec |
| cpp/3rd_party/libtiff/tif_jpeg_12.c | Implements 12-bit JPEG support |
| cpp/3rd_party/libtiff/tif_jpeg.c | Implements JPEG compression/decompression |
| cpp/3rd_party/libtiff/tif_jbig.c | Implements JBIG compression |
| cpp/3rd_party/libtiff/tif_hash_set.h | Defines hash set data structure interface |
| cpp/3rd_party/libtiff/tif_hash_set.c | Implements hash set functionality |
| cpp/3rd_party/libtiff/tif_flush.c | Implements TIFF flush operations |
| cpp/3rd_party/libtiff/tif_extension.c | Implements tag extension support |
| cpp/3rd_party/libtiff/tif_error.c | Implements error handling |
| cpp/3rd_party/libtiff/tif_dumpmode.c | Implements null compression mode |
| cpp/3rd_party/libtiff/snprintf.c | Provides snprintf workaround for Visual Studio |
| cpp/3rd_party/libtiff/libport.h | Declares portability functions |
| cpp/3rd_party/json/src.cpp | Includes boost json as single compilation unit |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| if (sp->h_sampling == 0 || sp->v_sampling == 0) | ||
| { | ||
| TIFFErrorExtR(tif, module, | ||
| "Invalig horizontal/vertical sampling value"); |
Copilot
AI
Nov 30, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Corrected spelling of 'Invalig' to 'Invalid'.
| "Invalig horizontal/vertical sampling value"); | |
| "Invalid horizontal/vertical sampling value"); |
|




🚀 🚀 Pull Request
Impact
Description
Things to be aware of
Things to worry about
Additional Context