Skip to content

Preview ThumbGen 0.1.4 PSD composite support - #4

Merged
mogurt merged 4 commits into
mainfrom
preview/psd-composite-0.1.4
Nov 25, 2026
Merged

mogurt merged 4 commits into
mainfrom
preview/psd-composite-0.1.4

Conversation

@mogurt

@mogurt mogurt commented Nov 24, 2026

Copy link
Copy Markdown
Owner

Summary

  • Read the stored RGB composite from 8-bit and 16-bit PSD v1, including declared merged transparency and embedded RGB ICC profiles.
  • Support Raw, PackBits RLE, ZIP, and ZIP with prediction. Reuse bounded row decoding and admission for dual-size previews, with checked limits for the full-image path.
  • Keep existing invocation and result formats. Document composite selection and format coverage and bump the version to 0.1.4.

Validation

  • Independently rebuilt the Windows x64 and CentOS 7.9 (glibc 2.17) packages from the candidate commit and verified clean package and dependency closure.
  • Passed 158 Windows and 161 CentOS CTest targets.
  • Generated two JPEG previews for eight synthetic 12K and 16K PSD cases on each platform under 512 MiB decode and 2048 MiB shared budgets. The matrix covers all four compression modes.
  • Verified synthetic pixel and clipping cases, merged transparency, non-sRGB ICC and OCIO precedence, malformed input, and budget refusal without partial previews.

支持 RGB 8 位和 16 位合成图的原始、PackBits、ZIP 与 ZIP 预测编码。
跳过图层像素,并在解码预算内报告透明度、ICC 和 EXIF 方向。

通过锁定的 OpenImageIO 3.2.1.2 Windows SDK 验证 75 组读取用例,
并以分批行缓冲读取展开后为 816 MB 的 ZIP 预测合成图。
@mogurt
mogurt marked this pull request as ready for review November 25, 2026 02:30
@mogurt
mogurt merged commit 75f3fef into main Nov 25, 2026
4 checks passed
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.

1 participant