fix(SmartPdf): Fix buffer handling for PDF conversion and text extraction

This commit is contained in:
2025-02-25 18:22:06 +00:00
parent 29d3cbb0b6
commit 9908897aa2
3 changed files with 32 additions and 11 deletions

View File

@@ -1,5 +1,12 @@
# Changelog
## 2025-02-25 - 3.2.2 - fix(SmartPdf)
Fix buffer handling for PDF conversion and text extraction
- Ensure Uint8Array is converted to Node Buffer for PDF conversion.
- Correct the PDF page viewport handling by using document dimensions.
- Fix extractTextFromPdfBuffer argument type from Uint8Array to Buffer.
## 2025-02-25 - 3.2.1 - fix(SmartPdf)
Fix type for extractTextFromPdfBuffer function