Skip to content

Fix GxDrawBitMap aspectRatio and image format detection in PDFPig#1264

Open
claudiamurialdo wants to merge 1 commit into
masterfrom
fix/pdfpig-aspect-ratio-and-image-format
Open

Fix GxDrawBitMap aspectRatio and image format detection in PDFPig#1264
claudiamurialdo wants to merge 1 commit into
masterfrom
fix/pdfpig-aspect-ratio-and-image-format

Conversation

@claudiamurialdo

Copy link
Copy Markdown
Collaborator

Issue:93067

  • Fix aspectRatio parameter: implement ScaleToFit logic (matching iText8 behavior) instead of incorrectly multiplying dimensions by the aspectRatio value
  • Fix JPEG detection: handle both .jpg and .jpeg extensions
  • Fix fallback: prevent calling AddImageFromURL with local file paths
  • Extract LoadImageBytes helper for cleaner image byte loading

@claudiamurialdo claudiamurialdo had a problem deploying to external-storage-tests April 5, 2026 13:23 — with GitHub Actions Failure
@claudiamurialdo claudiamurialdo temporarily deployed to kafka-integration-tests April 5, 2026 13:23 — with GitHub Actions Inactive
@genexusbot

Copy link
Copy Markdown
Contributor
Cherry pick to beta success

@repo-mirror-sync-public-ops

Copy link
Copy Markdown

Thanks for your contribution! We're processing it internally as pub-1264. Once it's merged, this PR will be closed and the change will appear in master.

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.

2 participants