Inline Image Embedding for pdfLaTeX
Perl TeX
Switch branches/tags
Nothing to show
Latest commit 6f52bcf Jan 29, 2012 @zerotoc Initial commit
Failed to load latest commit information.

PdfLaTeX Inline Image

Usually images are included by using \includegraphics{...}. To ease the sharing of LaTeX documents, inline embedding of images has been developed. You no longer have to make an archive (e.g. ZIP or TAR) of all your files. You just integrate all your images in your .tex file.



The following statement shows the usage of this program:

% ...
% ...
% ...


  1. image width (cm)
  2. image height (cm)
  3. image width (px)
  4. image height (px)
  5. data (hex, RGB, 1 byte per component, DEFLATE)

Image Converter

./ hello.jpg

The image converter does read JPG and PNG files and produces a LaTeX statement which can be embedded in your document.


Any help to solve the following issues would be appreciated.

  • The image sometimes does not absolutely cover the underlaying framebox.
  • A scaling value (currently 0.885) has been calculated using trial-and-error. Where does this value come from?