Skip to content

Conversation

@khustup2
Copy link
Contributor

🚀 🚀 Pull Request

Impact

  • Bug fix (non-breaking change which fixes expected existing functionality)
  • Enhancement/New feature (adds functionality without impacting existing logic)
  • Breaking change (fix or feature that would cause existing functionality to change)

Description

Things to be aware of

Things to worry about

Additional Context

Copy link

Copilot AI left a 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");
Copy link

Copilot AI Nov 30, 2025

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'.

Suggested change
"Invalig horizontal/vertical sampling value");
"Invalid horizontal/vertical sampling value");

Copilot uses AI. Check for mistakes.
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
4 Security Hotspots
D Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants