7

Is there a way to include (or "inline") raw image data or pdf data inside the tex document itself, such that it becomes stand-alone? Something like this:

\inlinedata[base64]{theimage}{AJDeafg82asd34z8BNFKW(...more base64...)SKJWKUFr=}
...
\includegraphics[width=0.5\linewidth]{theimage}

That would sure come very handy for some super-portable documents, where two or three small external images would too easily get lost. (Please try to keep the lectures why external resources are always so much better as brief as possible ;)

2
  • Yes, thank you! The solution (at least for png and jpg) is: github.com/zerotoc/pdfinlimg
    – DerManu
    Dec 9, 2013 at 20:03
  • Good find! Would you mind posting that as a self-answer to your question?
    – Jake
    Dec 9, 2013 at 20:06

1 Answer 1

4

The solution for png and jpg is: https://github.com/zerotoc/pdfinlimg. haven't found one for pdf (yet).

(Thanks for pointing me into the correct direction, Jake!)

Not the answer you're looking for? Browse other questions tagged .