Skip to content

v0.3.0

Choose a tag to compare

@shps951023 shps951023 released this 02 Mar 05:59
· 263 commits to main since this release

v0.3.0

What's New

Image Support in Excel-to-PDF Conversion

  • Added embedded JPEG and PNG image rendering in PDF pages, including correct dimension handling and placement via PDF XObjects.
  • ExcelReader now extracts images from .xlsx files even when they are positioned outside the data area.
  • ExcelToPdfConverter ensures images are rendered correctly on the final PDF page.
  • PdfPage gained new image-embedding API surface; PdfWriter updated to emit image XObject streams.

Benchmark Improvements

  • Text extraction and comparison logic in compare_pdfs.py improved to account for structural differences and produce more accurate similarity scores.
  • Introduced content-coverage penalties in pixel comparison to better reflect visual differences between rendered PDFs.
  • Added 10 new image-heavy reference test cases (classic61–71) covering product cards, company logos, employee directories, inventory photos, invoices, real estate listings, restaurant menus, and multi-sheet layouts.

License Change

  • Switched from MIT to Apache-2.0 license.
  • LICENSE file is now bundled in the NuGet package.

Internationalization

  • Added READMEs in Traditional Chinese (README.zh-TW.md), Simplified Chinese (README.zh-CN.md), Japanese (README.ja.md), Korean (README.ko.md), French (README.fr.md), and Italian (README.it.md).
  • Updated English README.md with language selector and refreshed content.

Commits

  • 4ad587b — Enhance PDF rendering capabilities (image support + benchmark improvements)
  • 7037163 — Add Simplified Chinese README
  • 900388c — Add Traditional Chinese README and language selector (#47)

Full Changelog: v0.2.0...v0.3.0