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

Support for Buffer objects containing a base64 encoded string? #40

Closed
FraserThompson opened this issue Jul 10, 2015 · 1 comment
Closed
Milestone

Comments

@FraserThompson
Copy link

Use case: An Express API for taking DOC/PDF/DOCX and returning text.

Rather than uploading a file to the server and then having textract read that off the disk it would be preferable to take a base64 encoded DOC/PDF/DOCX file sent as a string in a POST request, put it in a buffer, and then have textract read that buffer.

@dbashford
Copy link
Owner

Working this now. As an FYI, textract still needs to write it to disk, but since it is uniquely textracts requirement that it be on disk, no reason why textract can't manage that for you.

@dbashford dbashford modified the milestone: 1.0.0 Jul 26, 2015
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

No branches or pull requests

2 participants