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
Collaborator

Cherry pick to beta success

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