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

How to retrieve text from pdPageExtractText(stdout, page)? #82

Closed
flalom opened this issue Dec 11, 2019 · 1 comment
Closed

How to retrieve text from pdPageExtractText(stdout, page)? #82

flalom opened this issue Dec 11, 2019 · 1 comment

Comments

@flalom
Copy link

flalom commented Dec 11, 2019

I am new in Julia and I am very interested in PDFIO.jl.
I am trying to save the text output from the pdPageExtractText(stdout, page) in the text variable but I can't because I get this object:
IJulia.IJuliaStdio{Base.PipeEndpoint} IOContext(Base.PipeEndpoint(Base.Libc.WindowsRawSocket(0x0000000000000384) open, 0 bytes waiting))).

Thank you for your help!
Can I contribute?

@sambitdash
Copy link
Owner

String(take!(pdPageExtractText(IOBuffer(), page)))) should work.

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