[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: pdfttotext in pure lua?
- From: Nagaev Boris <bnagaev@...>
- Date: Mon, 24 Oct 2016 00:58:22 +0300
On Sun, Oct 23, 2016 at 10:56 PM, Vadim A. Misbakh-Soloviov
<lua-l@mva.name> wrote:
> > is there a module in pure lua, that converts a pdf-file to a text-file?
>
> 1) Do you know that converting PDF to text (regardless of lua) is only
> possible if it especially contains that source text (which is not always the
> case)?
> 2) as far as I know, there is no such module not only for lua, but for all of
> script languages I know.
JavaScript has one:
https://www.npmjs.com/package/pdftotextjs
> 3) unlike the reverse operation. There is some for text->pdf
> 4) anyway, the purpose of PDF is *not* to provide capability to get text back.
> It is to make document looks similary everywhere (like it was printed on the
> paper).
>
--
Best regards,
Boris Nagaev