[erlang-questions] Looking for Erlang code that handles PDF file attachments
Thu Feb 2 08:10:32 CET 2017
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 ()
%% Date: 2001-12-14
%% Purpose: Manipulate PDF files
%% Pack and unpack files into PDF files
> On 26 Jan 2017, at 12:43, Joe Armstrong <> 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.
> On Wed, Jan 25, 2017 at 10:06 PM, bengt <> wrote:
>> 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.
>> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions