v0.3.0
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.
ExcelReadernow extracts images from.xlsxfiles even when they are positioned outside the data area.ExcelToPdfConverterensures images are rendered correctly on the final PDF page.PdfPagegained new image-embedding API surface;PdfWriterupdated to emit image XObject streams.
Benchmark Improvements
- Text extraction and comparison logic in
compare_pdfs.pyimproved 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 README900388c— Add Traditional Chinese README and language selector (#47)
Full Changelog: v0.2.0...v0.3.0