Skip to content

Fix: iccTiffDump Reporting for pixel conversions - #3141

Merged
xsscx merged 3 commits into
masterfrom
ci-qa-pr-issue-3140
Dec 6, 2026
Merged

xsscx merged 3 commits into
masterfrom
ci-qa-pr-issue-3140

Conversation

@xsscx

@xsscx xsscx commented Dec 6, 2026

Copy link
Copy Markdown
Member

PR Summary

#3140

Checklist

  • Signed all Commits in PR
  • Built locally according to docs/build.md
  • Followed the guidelines in Contributing document
  • Ran relevant CTest/profile tests from docs/ctest.md
  • Updated documentation for user-visible behavior changes
  • Ran sanitizer coverage for memory-safety or parser changes
  • Added or updated regression coverage for behavior changes
  • Reviewed active and suppressed automated findings from review threads and summaries
  • For Python package changes, followed docs/python-packaging-release.md for PR and merge requirements
  • Did not change maintainer-owned workflow, CTest, CPack, sanitizer, release, or security infrastructure unless requested by an iccDEV maintainer
  • New source files include the ICC copyright and BSD 3-Clause license header
  • Code style matches nearby code: 2-space indent, K&R braces, m_ members

Legal Requirements

All official software projects hosted by the International Color Consortium (ICC)
follows the open source software best practice policies. The International Color Consortium IP policy governs ICC specification development and contributions to ICC open source software. Software contributions are also covered by the Contributor License Agreement (CLA).

Contributor License Agreements

Developers who wish to contribute code to be considered for inclusion
in ICC software must first complete a Contributor License Agreement
(CLA)
.

There is no cost or membership requirement to sign the ICC Contributor License Agreement (CLA). Please note that this is different from membership in the International Color Consortium (ICC). If your organization relies on our projects, please become a member. Membership dues are an essential source of funding and investment for these projects.

  • If you are an individual writing the code on your own time and you are SURE you are the sole owner of any intellectual property you contribute, you can sign the CLA as an individual contributor.

  • If you are writing the code as part of your job, or if there is any possibility that your employer might think they own any intellectual property you create, then you should use the Corporate Contributor Licence Agreement

License

ICC software is licensed under the BSD 3-Clause "New" or "Revised" License. Contributions to ICC software projects should abide by that license unless otherwised specified or approved by the ICC.

Copyright Notices

All new source files must begin with the ICC Copyright notice and include or reference the BSD 3-Clause "New" or "Revised" License.

INTELLECTUAL PROPERTY & PATENTS

Participation in ICC's development activities is subject to ICC's Patent Policy.

Maintainer Review Required

If you have questions, contact a listed Maintainer.

@xsscx xsscx added this to the v2.5.0.0 milestone Dec 6, 2026
@xsscx xsscx self-assigned this Dec 6, 2026
@github-actions github-actions Bot added Tools Command-line tool or GUI tool changes Source C or C++ source code changes pending CI checks still running labels Dec 6, 2026
@xsscx xsscx changed the title Ci qa pr issue 3140 Fix: iccTiffDump Reporting for pixel conversions Dec 6, 2026
@github-actions github-actions Bot added passed All CI checks passed Merge Ready Approved, mergeable, and all CI checks passed and removed pending CI checks still running labels Dec 6, 2026
@xsscx
xsscx requested an adaptive review from Copilot December 6, 2026 17:50

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

There are no active review issues requiring changes.

No open issues 🎉

What changed in this PR

Fixes #3140 by preserving meaningful precision for tiny physical dimensions in iccTiffDump, while retaining two-decimal formatting for ordinary sizes.

Changes:

  • Uses six significant digits for dimensions that would otherwise display as 0.00.
  • Clarifies resolution, compression, and stripped-image reporting.
  • Adds -- support to end option parsing.

No actionable findings remain.

File Description
Tools/​CmdLine/​IccTiffDump/​iccTiffDump.cpp Improves physical-size precision, TIFF reporting, and argument handling.

Review effort: Balanced (adaptive)

@xsscx
xsscx merged commit 532d4c1 into master Dec 6, 2026
46 checks passed
@xsscx
xsscx deleted the ci-qa-pr-issue-3140 branch December 6, 2026 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Merge Ready Approved, mergeable, and all CI checks passed passed All CI checks passed Source C or C++ source code changes Tools Command-line tool or GUI tool changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

QA Report: iccTiffDump reports a 1-pixel TIFF at 1200 ppi as 0.00 inches wide

2 participants