BSD Ports

wip/py-img2pdf 0.6.3 NetBSD

Lossless conversion of raster images to PDF

System
NetBSD
Repository
pkgsrc-wip
Maintainer
[email protected]
Port added
Last update
Commit
9bb15e01c2
License
gnu-lgpl-v3
Categories
wip, graphics, python

Description

Lossless conversion of raster images to PDF. You should use img2pdf if your priorities are (in this order):

always lossless: the image embedded in the PDF will always have the exact same color information for every pixel as the input

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

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

In the other systems

The newest version among them is 0.6.3, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
NetBSDwip/py-img2pdf0.6.3 newestnone known-[email protected]2026-09-05
OpenBSDgraphics/img2pdf by name0.6.3p0 newestno data-The OpenBSD ports mailing-list <[email protected]>-

Compare across BSDs

Version history 1

  1. 0.6.3 3cc75a8588

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

From pkgsrc-wip (no binary package):

cd /usr/pkgsrc/wip/py-img2pdf && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Build dependencies 1
Run dependencies 2

No port depends on this one.

Commit history 5

DateCommitCreditsLog message
9bb15e01c2 Leonardo Taccari py-img2pdf: Remove pkg-config tool dependency
Not needed.
b974e86bad Leonardo Taccari py-img2pdf: Add support for ALTERNATIVES
Permit to coexists with different Python versions.
f07ee23f75 Leonardo Taccari py-img2pdf: Add *DEPENDS
a9a033dcf6 Leonardo Taccari py-img2pdf: Use REPLACE_PYTHON
lang/python/application.mk defines REPLACE_PYTHON that we can reuse instead of redefining it. NFCI.
3cc75a8588 Martin Husemann Add py-img2pdf, a tool (and python library) to add image files to PDFs without recoding them.