aboutsummaryrefslogtreecommitdiff
path: root/graphics/Makefile
diff options
context:
space:
mode:
authorKai Knoblich <kai@FreeBSD.org>2019-07-02 07:19:56 +0000
committerKai Knoblich <kai@FreeBSD.org>2019-07-02 07:19:56 +0000
commita7be37217df984d59a04798e121ceee2a7f26141 (patch)
treec8c905e15196c91153ea5ad96f397c5a96c114c9 /graphics/Makefile
parent4cb63e145e01f408badd3861e8c463408181d72b (diff)
downloadports-a7be37217df984d59a04798e121ceee2a7f26141.tar.gz
ports-a7be37217df984d59a04798e121ceee2a7f26141.zip
New port: graphics/py-img2pdf
This Python package provides lossless conversion of raster images to PDF. You should use img2pdf if your priorities are (in this order): 1. "always lossless": The image embedded in the PDF will always have the exact same color information for every pixel as the input. 2. "small": If possible, the difference in filesize between the input image and the output PDF will only be the overhead of the PDF container itself. 3. "fast": If possible, the input image is just pasted into the PDF document as-is without any CPU hungry re-encoding of the pixel data. Conventional conversion software (like ImageMagick) would either: 1. Not be lossless because lossy re-encoding to JPEG. 2. Not be small because using wasteful flate encoding of raw pixel data. 3. Not be fast because input data gets re-encoded. Another advantage of not having to re-encode the input (in most common situations) is, that img2pdf is able to handle much larger input than other software, because the raw pixel data never has to be loaded into memory. WWW: https://gitlab.mister-muffin.de/josch/img2pdf
Notes
Notes: svn path=/head/; revision=505661
Diffstat (limited to 'graphics/Makefile')
-rw-r--r--graphics/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index 7ba946d3e36d..79871c46e022 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -842,6 +842,7 @@
SUBDIR += py-imageio-ffmpeg
SUBDIR += py-imageio24
SUBDIR += py-imagesize
+ SUBDIR += py-img2pdf
SUBDIR += py-imgurpython
SUBDIR += py-leather
SUBDIR += py-mapclassify