From 7293949336d73f0a4c21c9e6c4710f81b2a00759 Mon Sep 17 00:00:00 2001 From: josch Date: Thu, 29 Mar 2012 11:11:23 +0200 Subject: [PATCH] restructure readme --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d280e41..8693942 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,12 @@ -== img2pdf == +img2pdf +======= Lossless conversion of images to PDF without unnecessarily re-encoding JPEG files. Thus, no loss of quality and no unnecessary large output file. +background +---------- + PDF is able to embed JPEG images as they are without re-encoding them (and hence loosing quality) but I was missing a tool to do this automatically, thus I wrote this piece of python code. @@ -11,6 +15,9 @@ If you know how to embed JPEG images into a PDF container without recompression, using existing tools, please contact me so that I can put this code into the garbage bin :D +functionality +------------- + The program will take image filenames from commandline arguments and output a PDF file with them embedded into it. If the input image is a JPEG file, it will be included as-is without any processing. If it is in any other format, the @@ -33,6 +40,9 @@ image is given, losslessly embed JPEGs into a PDF container without adding more overhead than the PDF structure itself and will save all other graphics formats using lossless zip-compression. +bugs +---- + If you find a JPEG that, when embedded can not be read by the Adobe Acrobat Reader, please contact me.