[erlang-questions] Looking for Erlang code that handles PDF file attachments
bengt
cean.ebengt@REDACTED
Thu Feb 2 08:10:32 CET 2017
Greetings,
I forgot to thank Joe for this very helpful code/document. I apologise.
The main benefit is that it explains how the PDF magic works, but I would like to ask if it is allowed to copy some of the code?
Keeping the original
%% Module: pdf.erl
%% Author: Joe Armstrong (joe@REDACTED)
%% Date: 2001-12-14
%% Purpose: Manipulate PDF files
%% Pack and unpack files into PDF files
of course.
bengt
> On 26 Jan 2017, at 12:43, Joe Armstrong <erlang@REDACTED> wrote:
>
> I did exactly this a while back.
>
> The enclosed PDF has an erlang program packed inside it.
> The erlang program can be used to pack and unpack things inside PDF.
>
> PDF is after all, just a container format (like a zip file)
>
> Hint take a look at the end of erlpdf.pdf in a text editor.
>
> Actually since I always want to read the documentation first - I thought the
> code should be *inside* the documentation and NOT the other way around.
>
> Cheers
>
> /Joe
>
>
> On Wed, Jan 25, 2017 at 10:06 PM, bengt <cean.ebengt@REDACTED> wrote:
>> Greetings,
>>
>> I would like to attach files (or some sort of binary content, anyway) to PDF
>> files, without destroying the PDF'ness of the file. I would also like to be
>> able to read the created PDF file and be able to tell what is the attachment
>> (and what is the original content). I have found Itext (Java, see
>> http://itextpdf.com/). It seems to be able to do that and everything else
>> too, but is there any other alternative? Preferably in Erlang.
>>
>>
>> bengt
>>
>> _______________________________________________
>> erlang-questions mailing list
>> erlang-questions@REDACTED
>> http://erlang.org/mailman/listinfo/erlang-questions
>>
> <erlpdf.pdf>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20170202/6f437a6e/attachment.htm>
More information about the erlang-questions
mailing list