Skip to content

Conversation

encamina-hramos
Copy link
Contributor

  • Updated the BinaryData.FromStream method in SKVisionImageExtractor.cs to a more robust custom implementation called CreateImageBinaryData implemented in ImageHelper.cs.
  • Added two new methods to the ImageHelper.cs class:
    • Added the CreateImageBinaryData method that allows you to transform a Stream into BinaryData, taking into account that the image bytes may be compressed.
    • Added TryDecompressZlib method that attempts to decompress compressed bytes from images.

… false with `SkVisionStrictFormatCleanPdfDocumentConnector`

- The `SkVisionImageExtractor` has been updated to support images extracted from older PDFs containing interop = false, so that the `SkVisionStrictFormatCleanPdfDocumentConnector` connector can describe the images.
@encamina-hramos encamina-hramos self-assigned this Jul 11, 2025
@Hiunkeru Hiunkeru self-requested a review July 11, 2025 12:19
@encamina-hramos encamina-hramos requested a review from vmunoz96 July 11, 2025 12:22
@encamina-hramos encamina-hramos merged commit 8e2faf4 into Encamina:main Jul 14, 2025
2 checks passed
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.

5 participants