Optional module · pdftoolkit/pdf-images 0.2.3

English | Français

Unreleased

0.2.3 - 2026-11-09

  • Update the locked development dependency symfony/filesystem to 7.4.23, addressing GHSA-6prc-h956-hxjq in the code-style toolchain.
  • Preserve production code, public APIs, PHP requirements and every other locked package version and source reference.

0.2.2 — 2026-11-02

  • Use the canonical Composer package pdftoolkit/pdf:^0.12.2 and migrated stable dependencies. Keep existing PHP namespaces, APIs and behavior.
  • Document migration of application requirements in English and French; preserve previous releases and their evidence.

0.2.1 - 2026-10-29

  • Align English and French architecture-guide sections so the documentation site can pair translated headings. Integrate the French PNG depth, Adam7, ICC and allocation-budget descriptions into PNG processing and complete its object responsibility table.
  • Document the 0.2 series' stable core ^0.12 requirement and preserve the complete parser contracts, limits, oracle precision and backwards-compatible PngScanlineDecoder argument details in both languages. This documentation release leaves code, dependency constraints and the validation lock unchanged.

0.2.0 - 2026-10-28

  • Decode all static PNG colour types at their legal packed, 8-bit and 16-bit depths, including Adam7, palette transparency and separated alpha planes, with bounded allocations and exact sample preservation.
  • Preserve PNG ICC profiles and calibrated gAMA/cHRM colour spaces. Use exact piecewise sRGB profiles and retain the sRGB rendering intent; precedence is iCCP, then sRGB, then gAMA/cHRM, with documented defaults only for absent metadata.
  • Reassemble multipart JPEG ICC profiles and preserve Adobe CMYK/YCCK interpretation without changing the encoded JPEG bytes.
  • Correct PNG tRNS unused high-bit handling and permitted trailing compressed IDAT bytes.
  • Require published core 0.12 for image rendering intents and inverted four-component ICC DCT images; PHP remains 8.3+ on 64-bit platforms.
  • Add independent Pillow, libpng, LittleCMS, ImageMagick, pypdf and Poppler checks, reproducible fixtures, source provenance and English/French guides. Animated PNG and unimplemented HDR metadata remain explicit unsupported mechanisms.

0.1.13 - 2026-10-28

  • Accept stable core ^0.12 alongside previously supported series.
  • Keep the converter API unchanged and validation locked to published dependencies. Verify the existing converter against the core 0.12 candidate separately on PHP 8.3, 8.4 and 8.5.
  • This maintenance release enables stable development dependencies for the core before the independent Images 0.2 feature release.

0.1.12 - 2026-10-15

  • Accept stable core ^0.11 alongside the previous supported series.
  • Validate against published core 0.10.0, preserving every other locked package version and source reference.
  • Keep converter APIs, bounded parsing and PHP requirements unchanged; maintain English/French compatibility documentation.

0.1.11 - 2026-10-15

  • Accept stable core ^0.10 while retaining the previously supported core series.
  • Preserve the published core 0.7.1 validation lock and all dependency versions and source commits; refresh its content hash with Composer.
  • Verify the unchanged module against the core 0.10 candidate on PHP 8.3, 8.4 and 8.5, using an isolated validation copy outside production manifests.
  • Keep the public API, limits and PHP requirements unchanged; update the documented compatibility in English and French.

0.1.10 - 2026-10-15

  • Accept stable core ^0.9 while retaining the previously supported core series.
  • Preserve the published core 0.7.1 validation lock and all dependency versions and source commits; refresh its content hash with Composer.
  • Verify the unchanged module against the actual core 0.9 candidate on PHP 8.3, 8.4 and 8.5, using an explicit validation bootstrap outside production manifests.
  • Keep the public API, parsing limits and PHP requirements unchanged; update English and French installation documentation.

0.1.9 - 2026-10-15

  • Accept stable core ^0.8 while retaining the previously supported releases.
  • Lock validation to published core 0.7.1; verify compatibility with the core 0.8 candidate and retain the existing converter API and bounded parsing.
  • Update installation documentation in English and French; PHP 8.3–8.5.

0.1.8 — 2026-10-14

Compatibility and scope

  • Accepts stable core roukmoute/pdf:^0.2 || ^0.3 || ^0.4 || ^0.5 || ^0.6 || ^0.7.
  • Locks publication checks to released core 0.6.2, retaining stable production dependencies and existing development tool versions.
  • Preserves bounded PNG/JPEG parsing and the existing PDF image objects. PDF 2.0 metadata, tagging and security remain core writer mechanisms.
  • Requires PHP 8.3 or later; CI validates PHP 8.3, 8.4 and 8.5 and the independent PDF oracles.

0.1.7 — 2026-10-14

Compatibility

  • Accepts stable core roukmoute/pdf:^0.2 || ^0.3 || ^0.4 || ^0.5 || ^0.6.
  • Locks release validation to published core 0.5.5 without changing development tool versions or commits.
  • Checks the unchanged module against the core 0.6 candidate on PHP 8.3, 8.4 and 8.5.
  • Preserves the image conversion API, supported formats and limits; output PDF version rules remain in the core.

0.1.6 — 2026-10-14

Bilingual documentation

  • Makes English the default language for the README, guides and complete release history.
  • Adds complete French counterparts with reciprocal language links and French documentation entrypoints.
  • Translates explanatory example comments while preserving executable tokens and output data.
  • Locks validation to published core 0.5.4 without changing other dependency versions or commits.
  • Preserves API identifiers, original fixtures and runtime behaviour.

0.1.5 — 2026-10-14

Installation and publication

  • Publishes the package on Packagist and reduces installation to one composer require command in an application.
  • Uses default Composer repositories and connects package metadata to its documentation at https://pdftoolkit.github.io/.
  • Locks checks to stable core roukmoute/pdf:0.5.3 without changing development tool versions.
  • Verifies indexing of published versions and installation without VCS or local repositories. Preserves the PHP API, existing mechanisms and limits.

0.1.4 — 2026-10-14

Documentation

  • Connects shared documentation to https://pdftoolkit.github.io/ and adds the stable images entrypoint at /modules/images/.
  • Entrusts shared guides and site publication to PDFToolkit/pdftoolkit.github.io, with module sources pinned to their published versions and exact commits.
  • Corrects README compatibility information to reflect the existing roukmoute/pdf:^0.2 || ^0.3 || ^0.4 || ^0.5 constraint.
  • Preserves the API, conversions, dependencies and their locked versions; this release changes documentation only.

0.1.3 — 2026-10-13

Compatibility

  • Accepts stable core roukmoute/pdf:^0.2 || ^0.3 || ^0.4 || ^0.5.
  • Locks checks to published core 0.4.0 under PHP 8.3, 8.4 and 8.5.
  • Preserves the images API and limits; no additional image-format processing is added by this compatibility patch.

0.1.2 — 2026-10-13

Compatibility

  • Accepts stable core roukmoute/pdf:^0.2 || ^0.3 || ^0.4.
  • Preserves the module API and external-data processing boundary.
  • Checks stable core 0.3.0 and new core 0.4 objects in development under PHP 8.3, 8.4 and 8.5.

0.1.1 — 2026-10-13

Compatibility

  • Accepts core roukmoute/pdf:^0.2 || ^0.3, allowing installation with new PDF objects in the 0.3 series without changing the module API.
  • Revalidates tests and independent PDFs with stable core 0.2.1. No reading or conversion mechanism is added by this patch.

0.1.0 — 2026-10-13

First release of pdftoolkit/pdf-images, under PDF\Images. The module depends on core roukmoute/pdf:^0.2, which retains normalised PDF image objects; the core does not depend on image converters.

Added

  • Nine components to convert PNG or JPEG bytes into SampledImage and DCTImage, without implicit file or URL access.
  • Decoding of static non-interlaced PNGs with eight bits per component: greyscale, RGB, palette, greyscale with alpha and RGBA.
  • PNG signature, chunk order, size and CRC validation; reconstruction of all five scanline filters and palette expansion.
  • Alpha separation, including tRNS, to construct the /SMask explicitly using core objects.
  • Reading of markers, tables, frames and components in baseline or progressive eight-bit Huffman DCT JPEGs: greyscale, RGB and Adobe CMYK with transform zero.
  • Preservation of original JPEG bytes and determination of PDF colour, transformation and inversion parameters.
  • Per-instance limits for encoded and decoded data, dimensions, pixels and chunk or marker count; bounded PNG inflation.
  • Four-image transparency example and original fixtures under the MIT licence.
  • Tests of samples, alpha, preserved bytes, invalid structures and limits; checks on PHP 8.3, 8.4 and 8.5.

Animated or interlaced PNGs, other bit depths, embedded ICC profiles, YCCK JPEGs and ambiguous colour semantics are rejected. EXIF metadata does not trigger automatic rotation. The module does not perform entropy decoding of JPEG coefficients; the PDF viewer renders them.

Guide source at the documented commit ↗