Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transform document should be async #405

Open
Soremwar opened this issue May 22, 2024 · 0 comments
Open

Transform document should be async #405

Soremwar opened this issue May 22, 2024 · 0 comments

Comments

@Soremwar
Copy link

Soremwar commented May 22, 2024

I want to extract the images from a document and replace the original image with a regular paragraph (which I can't do with convertImage), however transformDocument being sync is a big hurdle to extract the data from the image

Update: Using packages like deasync to read the image data synchronously hangs the process, so there is something at the core of it that just prevents an image from being read at transform time (but "convertion" time is ok)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants