Summary
Losslessly convert raster images to PDF. The file size will not unnecessarily increase. It can for example be used to create a PDF document from a number of scans that are only available in JPEG format. Existing solutions would either re-encode the input JPEG files (leading to quality loss) or store them in the zip/flate format which results in the PDF becoming unnecessarily large in terms of its file size.
Versions
v0.5.1 :: 0 :: gentoo
- Modified
- License
- LGPL-3+
- Keywords
- amd64 x86 ~ppc64
- USE flags
- gui test
v0.4.4-r1 :: 0 :: gentoo
- Modified
- License
- LGPL-3+
- Keywords
- amd64 ppc64 x86
- USE flags
- gui test
USE flags
General
- gui
- Enable support for a graphical user interface
- test
- Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)
python_targets
- python3_10
- Build with Python 3.10
- python3_11
- Build with Python 3.11
- python3_12
- Build with Python 3.12
Runtime Dependencies
dev-lang / python : Freethreading (no-GIL) version of Python programming language
dev-python / pikepdf : Python library to work with pdf files based on qpdf
dev-python / pillow : Python Imaging Library (fork)
media-libs / icc-profiles-openicc : ICC color profiles by OpenICC
Bugs
Change logs
- Repository mirror & CI · gentoo
Merge updates from master - Joonas Niilola · gentoo
media-gfx/img2pdf: Stabilize 0.5.1 x86, #944682
Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Joonas Niilola · gentoo
media-gfx/img2pdf: Stabilize 0.5.1 amd64, #944682
Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Arthur Zamarin · gentoo
media-gfx/img2pdf: Keyword 0.5.1 ppc64, #933505
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Michał Górny · gentoo
media-gfx/img2pdf: Speed testing up
Signed-off-by: Michał Górny <mgorny@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Florian Schmaus · gentoo
media-gfx/img2pdf: enable py3.12
Closes: https://bugs.gentoo.org/929621 Signed-off-by: Florian Schmaus <flow@gentoo.org> - Marcin Deranek · gentoo
media-gfx/img2pdf: Version bump to 0.5.1
Signed-off-by: Marcin Deranek <marcin.deranek@slonko.net> Co-authored-by: Michał Górny <mgorny@gentoo.org> Closes: https://bugs.gentoo.org/921240 Closes: https://bugs.gentoo.org/929621 Closes: https://github.com/gentoo/gentoo/pull/36678 Signed-off-by: Michał Górny <mgorny@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Arthur Zamarin · gentoo
media-gfx/img2pdf: Stabilize 0.4.4-r1 ppc64, #904289
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Joonas Niilola · gentoo
media-gfx/img2pdf: Stabilize 0.4.4-r1 x86, #904289
Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Joonas Niilola · gentoo
media-gfx/img2pdf: Stabilize 0.4.4-r1 amd64, #904289
Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Florian Schmaus · gentoo
media-gfx/img2pdf: revbump due to PEP517
Signed-off-by: Florian Schmaus <flow@gentoo.org> Reported-by: Sam James <sam@gentoo.org> - Florian Schmaus · gentoo
media-gfx/img2pdf: fix tests
Signed-off-by: Florian Schmaus <flow@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Florian Schmaus · gentoo
media-gfx/img2pdf: set DISTUTILS_USE_PEP517=setuptools
Signed-off-by: Florian Schmaus <flow@gentoo.org> - Florian Schmaus · gentoo
media-gfx/img2pdf: enable py3.11
Closes: https://bugs.gentoo.org/896988 Signed-off-by: Florian Schmaus <flow@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Michał Górny · gentoo
media-gfx/img2pdf: Use pypi.eclass
Signed-off-by: Michał Górny <mgorny@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - David Seifert · gentoo
*/*: remove py3.8 from PYTHON_COMPAT
Signed-off-by: David Seifert <soap@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Andreas Sturmlechner · gentoo
media-gfx/img2pdf: drop 0.4.3
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Arthur Zamarin · gentoo
media-gfx/img2pdf: Keyword 0.4.4 ppc64, #865969
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Joonas Niilola · gentoo
media-gfx/img2pdf: apply the correct patch for 0.4.4
Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Thamognya Kodi · gentoo
media-gfx/img2pdf: Bump to 0.4.4
Signed-off-by: Thamognya Kodi <contact@thamognya.com> Closes: https://github.com/gentoo/gentoo/pull/26188 Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Sam James · gentoo
media-gfx/img2pdf: drop 0.4.1-r1
Signed-off-by: Sam James <sam@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Repository mirror & CI · gentoo
Merge updates from master - Andrey Grozin · gentoo
media-gfx/img2pdf: remove old ebuild
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andrey Grozin <grozin@gentoo.org> - Andrey Grozin · gentoo
media-gfx/img2pdf: bump to 0.4.3
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andrey Grozin <grozin@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Louis Sautier · gentoo
media-gfx/img2pdf: hopefully the final attempt at fixing test deps
* Bit depth tests failures happen when ImageMagick is built with a quantum depth of 8 or 32 instead of 16. * ICC profile tests (test_png_icc) fail when ImageMagick lacks lcms support. * Some tests (test_general and test_tiff_gray1) need Pillow with tiff support. Closes: https://bugs.gentoo.org/809593 Signed-off-by: Louis Sautier <sbraz@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Louis Sautier · gentoo
media-gfx/img2pdf: try to fix test dependencies once again
Closes: https://bugs.gentoo.org/809573 Signed-off-by: Louis Sautier <sbraz@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Louis Sautier · gentoo
media-gfx/img2pdf: try to fix test deps USE flags
So that the commands which the tests need are actually present. Closes: https://bugs.gentoo.org/809506 Signed-off-by: Louis Sautier <sbraz@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Louis Sautier · gentoo
media-gfx/img2pdf: drop 0.3.6, 0.4.0
Signed-off-by: Louis Sautier <sbraz@gentoo.org> - Louis Sautier · gentoo
media-gfx/img2pdf: enable py3.10, re-enable tests, fix deps
Closes: https://bugs.gentoo.org/807969 Signed-off-by: Louis Sautier <sbraz@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Zamarin Arthur · gentoo
media-gfx/img2pdf: add 0.4.1, bump python 3.9
Signed-off-by: Zamarin Arthur <arthurzam@gmail.com> Signed-off-by: Michał Górny <mgorny@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Sam James · gentoo
media-gfx/img2pdf: Keyword 0.4.0 x86, #767733
Signed-off-by: Sam James <sam@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Michał Górny · gentoo
*/*: Remove obsolete values from PYTHON_COMPAT
Signed-off-by: Michał Górny <mgorny@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Joonas Niilola · gentoo
media-gfx/img2pdf: add missing die to 0.4.0
Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Marco Genasci · gentoo
media-gfx/img2pdf: version bump to 0.4.0
Closes: https://bugs.gentoo.org/759184 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Marco Genasci <fedeliallalinea@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/18577 Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Diogo Pereira · gentoo
media-gfx/img2pdf: drop old
Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Diogo Pereira <sir.suriv@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/17746 Signed-off-by: Sam James <sam@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Diogo Pereira · gentoo
media-gfx/img2pdf: version bump to 0.3.6
- Remove dependency on dev-python/pdfrw Closes: https://bugs.gentoo.org/718690 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Diogo Pereira <sir.suriv@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/15955 Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Diogo Pereira · gentoo
media-gfx/img2pdf: bump to 0.3.4
- Support Python 3.7 and 3.8 - Fix DISTUTILS_USE_SETUPTOOLS QA notice - Use distutils_enable_tests Closes: https://bugs.gentoo.org/711596 Closes: https://bugs.gentoo.org/718332 Signed-off-by: Diogo Pereira <sir.suriv@gmail.com> Package-Manager: Portage-2.3.89, Repoman-2.3.20 Closes: https://github.com/gentoo/gentoo/pull/15459 Signed-off-by: Michał Górny <mgorny@gentoo.org> - Diogo Pereira · gentoo
media-gfx/img2pdf: drop 0.3.1
Signed-off-by: Diogo Pereira <sir.suriv@gmail.com> Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Michał Górny <mgorny@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Michał Górny · gentoo
*/*: Clean PYTHON_COMPAT of obsolete impls
Closes: https://github.com/gentoo/gentoo/pull/14246 Signed-off-by: Michał Górny <mgorny@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Michał Górny · gentoo
*/*: [QA] Fix trivial cases of MissingTestRestrict
The result was achieved via the following pipeline: pkgcheck scan -c RestrictTestCheck -R FormatReporter \ --format '{category}/{package}/{package}-{version}.ebuild' | xargs -n32 grep -L RESTRICT | xargs -n32 sed -i -e '/^IUSE=.*test/aRESTRICT="!test? ( test )"' The resulting metadata was compared before and after the change. Few Go ebuilds had to be fixed manually due to implicit RESTRICT=strip added by the eclass. Two ebuilds have to be fixed because of multiline IUSE. Suggested-by: Robin H. Johnson <robbat2@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/13942 Signed-off-by: Michał Górny <mgorny@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Michał Górny · gentoo
*/*: Remove python3_4 PYTHON_COMPAT correctly
Signed-off-by: Michał Górny <mgorny@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Diogo Pereira · gentoo
media-gfx/img2pdf: version bump to 0.3.3
Closes: https://bugs.gentoo.org/675834 Closes: https://bugs.gentoo.org/676100 Signed-off-by: Diogo Pereira <sir.suriv@gmail.com> Package-Manager: Portage-2.3.51, Repoman-2.3.11 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> - Diogo Pereira · gentoo
media-gfx/img2pdf: drop 0.2.4
Signed-off-by: Diogo Pereira <sir.suriv@gmail.com> Package-Manager: Portage-2.3.51, Repoman-2.3.11 Closes: https://github.com/gentoo/gentoo/pull/10921 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Diogo Pereira · gentoo
media-gfx/img2pdf: version bump to 0.3.1
Signed-off-by: Diogo Pereira <sir.suriv@gmail.com> Package-Manager: Portage-2.3.49, Repoman-2.3.11 Signed-off-by: Michał Górny <mgorny@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/9941 - Diogo Pereira · gentoo
media-gfx/img2pdf: new package
img2pdf losslessly converts raster images to PDF. Package-Manager: Portage-2.3.6, Repoman-2.3.1 Closes: https://github.com/gentoo/gentoo/pull/5244