CVE and update status of the FreeBSD ports tree3,864 unaddressed CVEs in 671 portsAll times are CET
Port details

graphics/py-img2pdf 0.6.3_2

Convert images to PDF via direct JPEG inclusion

Port info

Maintainer
kai@FreeBSD.org
Packages
latest: 0.6.3_2
Upstream
up to date
Last update
to 0.6.3_2 · 7ddc6804bf
Quarterly
2026Q4: 0.6.3_2
WWW
https://gitlab.mister-muffin.de/josch/img2pdf
Links
cgit · VuXML

Install

Package
# pkg install py312-img2pdf
installs 0.6.3_2 from latest; from quarterly (2026Q4) 0.6.3_2
Port
# cd /usr/ports/graphics/py-img2pdf && make install clean
# make -C /usr/ports/graphics/py-img2pdf config  # change options first
Size
100 KiB download · 541 KiB installed
Depends on
graphics/py-pillow 12.3.0, lang/python312 3.12.15, textproc/py-pikepdf 9.11.0, x11-toolkits/py-tkinter 3.12.15_11
License
LGPL3+
Options
1 of 1 on in the package: GUI

Packages by version and architecture

latest

FreeBSD versionamd64aarch64i386
FreeBSD 160.6.3_20.6.3_2–
FreeBSD 150.6.3_20.6.3_2–
FreeBSD 140.6.3_20.6.3_20.6.3_2

quarterly (2026Q4)

FreeBSD versionamd64aarch64i386
FreeBSD 150.6.3_20.6.3_2–
FreeBSD 140.6.3_20.6.3_20.6.3_2

version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.

Unaddressed and VuXML only (0)

No unaddressed CVE and nothing reported by pkg audit for the packaged version 0.6.3_2.

Fixed (0)

No VuXML entries for this package.

Problem reports (0) · open in Bugzilla, most recently changed first

None.

Commits (28)

Gleb Popov (arrowd) · 0.6.3_2
*: Bump PORTREVISION on Poppler's consumers
7ddc6804bf
Loïc Bartoletti (lbartoletti) · 0.6.3_1
graphics/poppler: bump consumers of graphics/poppler

PR:		291277
Exp-run by:	antoine
3076d31cda
Kai Knoblich (kai) · 0.6.3
graphics/py-img2pdf: Update to 0.6.3

Changelog since 0.6.1:

https://gitlab.mister-muffin.de/josch/img2pdf/compare/0.6.1...62b58e81cbb0
cc574e9130
Rene Ladan (rene) · 0.6.1_1
all: bump PORTREVISION after updating graphics/libyuv

Using the Tools/scripts/bump_revision.pl script
b304d8ab18
Kai Knoblich (kai) · 0.6.1
graphics/py-img2pdf: Update to 0.6.1

* This release contains some changes and fixes of the testsuite, adapt
  the changes accordingly.

* Also switch to the PEP517 build framework while I'm here.

Changelog:

https://gitlab.mister-muffin.de/josch/img2pdf/src/tag/0.6.1/CHANGES.rst
b9d8accaa1
Loïc Bartoletti (lbartoletti) · 0.6.0_3
graphics/poppler: bump dependent ports
78c4bd4996
Loïc Bartoletti (lbartoletti) · 0.6.0_2
graphics/ImageMagicks*: bump dependent ports
9a9c1ba205
Charlie Li (vishwin) · 0.6.0_1
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal

Any missed ports, feel free to bump.

Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details.
06a08e69f3
Kai Knoblich (kai) · 0.6.0
graphics/py-img2pdf: Update to 0.6.0

Changelog:

https://gitlab.mister-muffin.de/josch/img2pdf/releases/tag/0.6.0
d2d4d73669
Tobias C. Berner (tcberner) · 0.5.1_2
graphics/poppler: bump consumers of graphics/poppler

Bump after rupdate in 478df79a3071b399f648107456cf371587e84a3f
d2f834ba51
Tobias C. Berner (tcberner) · 0.5.1_1
graphics/poppler: bump revision of consumers
672f0463c7
Kai Knoblich (kai) · 0.5.1
graphics/py-img2pdf: Update to 0.5.1

Changelog:

https://github.com/josch/img2pdf/blob/0.5.1/CHANGES.rst
c6d93fa389
Kai Knoblich (kai) · 0.5.0
graphics/py-img2pdf: Update to 0.5.0

Changelog:

https://github.com/josch/img2pdf/blob/0.5.0/CHANGES.rst
608775544e
Rene Ladan (rene) · 0.4.4_3
all: remove explicit versions in USES=python for "3.x+"

The logic in USES=python will automatically convert this to 3.8+ by
itself.

Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.

finance/quickfix: mark BROKEN with PYTHON

libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++ -DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable -Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi -Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings -Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x -MT _quickfix_la-QuickfixPython.lo -MD -MP -MF .deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp  -fPIC -DPIC -o .libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
          ^~~~~~~~~~
1 warning and 1 error generated.

Reviewed by:	portmgr, vishwin, yuri
Differential Revision:	<https://reviews.freebsd.org/D40568>
3d9a815d9c
Tobias C. Berner (tcberner) · 0.4.4_3
graphics/poppler: bump dependencies
edbe24d784
Felix Palmen (zirias) · 0.4.4_2
Mk/Uses/magick.mk: Bump all consumers

Bump all consumers of ImageMagick ports after flavorizing them.

Approved by:	tcberner (mentor, implicit)
a6bb2f8c5e
Felix Palmen (zirias) · 0.4.4_1
graphics/py-img2pdf: Convert to USES=magick

Approved by:		kai (maintainer), tcberner (mentor, implicit)
Differential Revision:	https://reviews.freebsd.org/D39605
42ac413c8c
Tobias C. Berner (tcberner) · 0.4.4_1
graphics/poppler: bump consumers after update to 23.04

graphics/poppler was updated in 06339c451266f5843e53bd6406c81a89eedd4ab1
32edee2a20
Kai Knoblich (kai) · 0.4.4
graphics/py-img2pdf: Update to 0.4.4

* Add GUI option to reflect the requirements given in setup.py and
  to make use of the graphical frontend script.

* Simplify "do-test" target by switching to USE_PYTHON=pytest.

Changelog since 0.3.5 :

https://gitlab.mister-muffin.de/josch/img2pdf/src/tag/0.4.4/CHANGES.rst
47216afd72
Dmitry Marakasov (amdmi3) · 0.3.5
*/*: rename CHEESESHOP to PYPI in MASTER_SITES

PR:			267994
Differential revision:	D37518
Approved by:		bapt
77d68471ad
Stefan Eßer (se) · 0.3.5
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
fb16dfecae
Stefan Eßer (se) · 0.3.5
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.

This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.

There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.

The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.

Approved by:		portmgr (tcberner)
b7f05445c0
Mathieu Arnold (mat) · 0.3.5
One more small cleanup, forgotten yesterday. Reported by:	lwhsu
cf118ccf87
Mathieu Arnold (mat) · 0.3.5
Remove # $FreeBSD$ from Makefiles.
305f148f48
Kai Knoblich (kai) · 0.3.5
graphics/py-img2pdf: Update to 0.3.5

* Drop Python 2.7 support because it was removed with this version.

Changelog:

https://gitlab.mister-muffin.de/josch/img2pdf/blob/0.3.5/CHANGES.rst
edfd6cdbb9
Antoine Brodin (antoine) · 0.3.3_1
Convert the tree to use PY_PILLOW

With hat:	portmgr
Originally submitted by:	kai
1bf9457272
Kai Knoblich (kai) · 0.3.3_1
graphics/py-pillow: Update to 7.0.0

* Repo-Copy the Pillow 6.2.2 release to graphics/py-pillow6 to retain
  backwards compatibility for Python 2 consumers as the Pillow 7.0.0 release
  dropped the support for Python 2.

* Apply conditional statements to use either Pillow 7.x or Pillow 6.x for
  consumers that can be built for Python 2 or newer.

* Exceptions are ports that can be built only for either Python 2 or
  Python 3.  For the first case, consumers are just assigned to the
  repo-copied graphics/py-pillow6.

* Also remove Pillow from BUILD_DEPENDS of math/py-PyWavelets as it is not
  listed in setup.py as a build dependency [1] and relax the version
  requirements of Pillow for www/py-wagtail.

Release Notes:

* https://pillow.readthedocs.io/en/latest/releasenotes/index.html

Backward Incompatible Changes (7.0.0):

* https://pillow.readthedocs.io/en/latest/releasenotes/7.0.0.html#backwards-incompatible-changes

Detailed Changelog:

* https://github.com/python-pillow/Pillow/blob/7.0.0/CHANGES.rst

PR:		243665
Submitted by:	sunpoet (patch for 7.0.0 and repo-copied version)
Reviewed by:	koobs [1], sunpoet
Approved by:	koobs (maintainer)
Differential Revision:	https://reviews.freebsd.org/D23713
74174b2661
Kai Knoblich (kai) · 0.3.3
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
a7be37217d