Skip to content

Latest commit

 

History

History
212 lines (164 loc) · 5.7 KB

CHANGES.rst

File metadata and controls

212 lines (164 loc) · 5.7 KB

CHANGES

0.5.1 (2023-11-26)

  • no default ICC profile location for PDF/A-1b on Windows
  • workaround for PNG input without dpi units but non-square dpi aspect ratio

0.5.0 (2023-10-28)

  • support MIFF for 16 bit CMYK input
  • accept pathlib.Path objects as input
  • don't store RGB ICC profiles from bilevel or grayscale TIFF, PNG and JPEG
  • thumbnails are no longer included by default and --include-thumbnails has to be used if you want them
  • support for pikepdf (>= 6.2.0)

0.4.4 (2022-04-07)

  • --viewer-page-layout support for twopageright and twopageleft
  • Add B and JB paper sizes
  • support for pikepdf (>= 5.0.0) and Pillow (>= 9.1.0)

0.4.3 (2021-10-24)

  • fix --viewer-initial-page (broken in last release)

0.4.2 (2021-10-11)

  • add --rotation
  • allow palette PNG images with ICC profile
  • sort globbing result on windows
  • convert 8-bit PNG alpha channels to /SMasks in PDF
  • remove pdfrw from tests

0.4.1 (2021-05-09)

  • support wildcards in paths on windows
  • support MPO images
  • fix page border computation
  • use "img2pdf" logger instead of "root" logger
  • add --from-file

0.4.0 (2020-08-07)

  • replace --without-pdfrw by --engine=internal or --engine=pdfrw
  • add pikepdf as additional rendering engine and add --engine=pikepdf
  • support for creating PDF/A-1b compliant PDF using the --pdfa option (this also requires the presence of an ICC profile somewhere on the system)
  • support for images with embedded ICC profile as input
  • rewrite tests
    • use pytest via tox
    • use pikepdf instead of pdfrw
    • use imagemagick json output instead of identify -verbose
  • format all code with black

0.3.6 (2020-04-30)

  • fix tests for Fedora on arm64

0.3.5 (2020-04-28)

  • remove all Python 2 support
  • disable pdfrw by default

0.3.4 (2020-04-05)

  • test.sh: replace imagemagick with custom python script to produce bit-by-bit identical results on all architectures
  • add --crop-border, --bleed-border, --trim-border and --art-border options
  • first draft of a rudimentary tkinter gui (run with --gui)

0.3.3 (2019-01-07)

  • restore basic support for Python 2
  • also ship test.sh
  • add legal and tabloid paper formats
  • respect exif rotation tag

0.3.2 (2018-11-20)

  • support big endian TIFF with lsb-to-msb FillOrder
  • support multipage CCITT Group 4 TIFF
  • also reject palette images with transparency
  • support PNG images with 1, 2, 4 or 16 bits per sample
  • support multipage TIFF with differently encoded images
  • support CCITT Group4 TIFF without rows-per-strip
  • add extensive test suite

0.3.1 (2018-08-04)

  • Directly copy data from CCITT Group 4 encoded TIFF images into the PDF container without re-encoding

0.3.0 (2018-06-18)

  • Store non-jpeg images using PNG compression
  • Support arbitrarily large pages via PDF /UserUnit field
  • Disallow input with alpha channel as it cannot be preserved
  • Add option --pillow-limit-break to support very large input

0.2.4 (2017-05-23)

  • Restore support for Python 2.7
  • Add support for PyPy
  • Add support for testing using tox

0.2.3 (2017-01-20)

  • version number bump for botched pypi upload...

0.2.2 (2017-01-20)

  • automatic monochrome CCITT Group4 encoding via Pillow/libtiff

0.2.1 (2016-05-04)

  • set img2pdf as /producer value
  • support multi-frame images like multipage TIFF and animated GIF
  • support for palette images like GIF
  • support all colorspaces and imageformats known by PIL
  • read horizontal and vertical dpi from JPEG2000 files

0.2.0 (2015-05-10)

  • now Python3 only
  • pep8 compliant code
  • update my email to [email protected]
  • move from github to gitlab.mister-muffin.de/josch/img2pdf
  • use logging module
  • add extensive test suite
  • ability to read from standard input
  • pdf writer:
    • make more compatible with the interface of pdfrw module
    • print floats which equal to their integer conversion as integer
    • do not print trailing zeroes for floating point numbers
    • print more linebreaks
    • add binary string at beginning of PDF to indicate that the PDF contains binary data
    • handle datetime and unicode strings by using utf-16-be encoding
  • new options (see --help for more details):
    • --without-pdfrw
    • --imgsize
    • --border
    • --fit
    • --auto-orient
    • --viewer-panes
    • --viewer-initial-page
    • --viewer-magnification
    • --viewer-page-layout
    • --viewer-fit-window
    • --viewer-center-window
    • --viewer-fullscreen
  • remove short options for metadata command line arguments
  • correctly encode and escape non-ascii metadata
  • explicitly store date in UTC and allow parsing all date formats understood by dateutil and date --date

0.1.5 (2015-02-16)

  • Enable support for CMYK images
  • Rework test suite
  • support file objects as input

0.1.4 (2015-01-21)

  • add Python 3 support
  • make output reproducible by sorting and --nodate option

0.1.3 (2014-11-10)

  • Avoid leaking file descriptors
  • Convert unrecognized colorspaces to RGB

0.1.1 (2014-09-07)

  • allow running src/img2pdf.py standalone
  • license change from GPL to LGPL
  • Add pillow 2.4.0 support
  • add options to specify pdf dimensions in points

0.1.0 (2014-03-14, unreleased)

  • Initial PyPI release.
  • Modified code to create proper package.
  • Added tests.
  • Added console script entry point.