From 61333d5f305d156db9fefc025ce5fbb0b8d76a18 Mon Sep 17 00:00:00 2001 From: jeyalakshmit Date: Wed, 29 Nov 2023 15:28:06 +0530 Subject: [PATCH] replaced(PdfBitmap-PdfTiffImage) the code snippet --- File-Formats/PDF/Working-with-OCR/AWS-Textract.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/File-Formats/PDF/Working-with-OCR/AWS-Textract.md b/File-Formats/PDF/Working-with-OCR/AWS-Textract.md index 7554046ce..249f53ffd 100644 --- a/File-Formats/PDF/Working-with-OCR/AWS-Textract.md +++ b/File-Formats/PDF/Working-with-OCR/AWS-Textract.md @@ -91,7 +91,7 @@ class AWSExternalOcrEngine : IOcrEngine stream.Position = 0; MemoryStream memoryStream = new MemoryStream(); stream.CopyTo(memoryStream); - PdfBitmap bitmap = new PdfBitmap(memoryStream); + PdfTiffImage bitmap = new PdfTiffImage(memoryStream); imageHeight = bitmap.Height; imageWidth = bitmap.Width;