Port details on branch 2024Q3 |
- py-img2pdf Convert images to PDF via direct JPEG inclusion
- 0.5.1_2 graphics =3 0.5.1_2Version of this port present on the latest quarterly branch.
- Maintainer: kai@FreeBSD.org
- Port Added: 2019-07-02 07:20:10
- Last Update: 2024-03-01 23:56:15
- Commit Hash: d2f834b
- People watching this port, also watch:: dmenu, bat, autoconf, jetbrains-mono, py39-borgmatic
- Also Listed In: python
- License: LGPL3+
- WWW:
- https://gitlab.mister-muffin.de/josch/img2pdf
- Description:
- 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.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}img2pdf>0:graphics/py-img2pdf@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/graphics/py-img2pdf/ && make install clean
- To add the package, run one of these commands:
- pkg install graphics/py-img2pdf
- pkg install py39-img2pdf
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py39-img2pdf listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-img2pdf
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1702988827
SHA256 (img2pdf-0.5.1.tar.gz) = 73847e47242f4b5bd113c70049e03e03212936c2727cd2a8bf564229a67d0b95
SIZE (img2pdf-0.5.1.tar.gz) = 104241
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- Test dependencies:
-
- py39-packaging>0 : devel/py-packaging@py39
- py39-scipy>0 : science/py-scipy@py39
- exiftool : graphics/p5-Image-ExifTool
- jpegtopnm : graphics/netpbm
- pdftocairo : graphics/poppler-utils
- py39-pytest>=7,1 : devel/py-pytest@py39
- python3.9 : lang/python39
- ImageMagick6>=6 : graphics/ImageMagick6
- Runtime dependencies:
-
- py39-pikepdf>0 : textproc/py-pikepdf@py39
- py39-pillow>0 : graphics/py-pillow@py39
- py39-tkinter>0 : x11-toolkits/py-tkinter@py39
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- This port is required by:
- for Run
-
- textproc/py-ocrmypdf
Configuration Options:
- ===> The following configuration options are available for py39-img2pdf-0.5.1_2:
GUI=on: GUI (Graphical User Interface) support
===> Use 'make config' to modify these settings
- Options name:
- graphics_py-img2pdf
- USES:
- python shebangfix magick:6,test
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|