forked from josch/img2pdf
CHANGES.rst: add release dates
This commit is contained in:
parent
198c98a5f9
commit
002c9c4466
2 changed files with 66 additions and 22 deletions
44
CHANGES.rst
44
CHANGES.rst
|
@ -2,42 +2,42 @@
|
||||||
CHANGES
|
CHANGES
|
||||||
=======
|
=======
|
||||||
|
|
||||||
0.3.0
|
0.3.0 (2018-06-18)
|
||||||
-----
|
------------------
|
||||||
|
|
||||||
- Store non-jpeg images using PNG compression
|
- Store non-jpeg images using PNG compression
|
||||||
- Support arbitrarily large pages via PDF /UserUnit field
|
- Support arbitrarily large pages via PDF /UserUnit field
|
||||||
- Disallow input with alpha channel as it cannot be preserved
|
- Disallow input with alpha channel as it cannot be preserved
|
||||||
- Add option --pillow-limit-break to support very large input
|
- Add option --pillow-limit-break to support very large input
|
||||||
|
|
||||||
0.2.4
|
0.2.4 (2017-05-23)
|
||||||
-----
|
------------------
|
||||||
|
|
||||||
- Restore support for Python 2.7
|
- Restore support for Python 2.7
|
||||||
- Add support for PyPy
|
- Add support for PyPy
|
||||||
- Add support for testing using tox
|
- Add support for testing using tox
|
||||||
|
|
||||||
0.2.3
|
0.2.3 (2017-01-20)
|
||||||
-----
|
------------------
|
||||||
|
|
||||||
- version number bump for botched pypi upload...
|
- version number bump for botched pypi upload...
|
||||||
|
|
||||||
0.2.2
|
0.2.2 (2017-01-20)
|
||||||
-----
|
------------------
|
||||||
|
|
||||||
- automatic monochrome CCITT Group4 encoding via Pillow/libtiff
|
- automatic monochrome CCITT Group4 encoding via Pillow/libtiff
|
||||||
|
|
||||||
0.2.1
|
0.2.1 (2016-05-04)
|
||||||
-----
|
------------------
|
||||||
|
|
||||||
- set img2pdf as /producer value
|
- set img2pdf as /producer value
|
||||||
- support multi-frame images like multipage TIFF and animated GIF
|
- support multi-frame images like multipage TIFF and animated GIF
|
||||||
- support for palette images like GIF
|
- support for palette images like GIF
|
||||||
- support all colorspaces and imageformats knows by PIL
|
- support all colorspaces and imageformats known by PIL
|
||||||
- read horizontal and vertical dpi from JPEG2000 files
|
- read horizontal and vertical dpi from JPEG2000 files
|
||||||
|
|
||||||
0.2.0
|
0.2.0 (2015-05-10)
|
||||||
-----
|
------------------
|
||||||
|
|
||||||
- now Python3 only
|
- now Python3 only
|
||||||
- pep8 compliant code
|
- pep8 compliant code
|
||||||
|
@ -72,34 +72,34 @@ CHANGES
|
||||||
- explicitly store date in UTC and allow parsing all date formats understood
|
- explicitly store date in UTC and allow parsing all date formats understood
|
||||||
by dateutil and `date --date`
|
by dateutil and `date --date`
|
||||||
|
|
||||||
0.1.5
|
0.1.5 (2015-02-16)
|
||||||
-----
|
------------------
|
||||||
|
|
||||||
- Enable support for CMYK images
|
- Enable support for CMYK images
|
||||||
- Rework test suite
|
- Rework test suite
|
||||||
- support file objects as input
|
- support file objects as input
|
||||||
|
|
||||||
0.1.4
|
0.1.4 (2015-01-21)
|
||||||
-----
|
------------------
|
||||||
|
|
||||||
- add Python 3 support
|
- add Python 3 support
|
||||||
- make output reproducible by sorting and --nodate option
|
- make output reproducible by sorting and --nodate option
|
||||||
|
|
||||||
0.1.3
|
0.1.3 (2014-11-10)
|
||||||
-----
|
------------------
|
||||||
|
|
||||||
- Avoid leaking file descriptors
|
- Avoid leaking file descriptors
|
||||||
- Convert unrecognized colorspaces to RGB
|
- Convert unrecognized colorspaces to RGB
|
||||||
|
|
||||||
0.1.1
|
0.1.1 (2014-09-07)
|
||||||
-----
|
------------------
|
||||||
|
|
||||||
- allow running src/img2pdf.py standalone
|
- allow running src/img2pdf.py standalone
|
||||||
- license change from GPL to LGPL
|
- license change from GPL to LGPL
|
||||||
- Add pillow 2.4.0 support
|
- Add pillow 2.4.0 support
|
||||||
- add options to specify pdf dimensions in points
|
- add options to specify pdf dimensions in points
|
||||||
|
|
||||||
0.1.0 (unreleased)
|
0.1.0 (2014-03-14, unreleased)
|
||||||
------------------
|
------------------
|
||||||
|
|
||||||
- Initial PyPI release.
|
- Initial PyPI release.
|
||||||
|
|
44
HACKING
Normal file
44
HACKING
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
Running img2pdf from source
|
||||||
|
---------------------------
|
||||||
|
|
||||||
|
img2pdf can be run directly from the cloned git repository:
|
||||||
|
|
||||||
|
$ python3 src/img2pdf.py img.jpg -o out.pdf
|
||||||
|
|
||||||
|
Running the testsuite
|
||||||
|
---------------------
|
||||||
|
|
||||||
|
$ python3 setup.py test
|
||||||
|
|
||||||
|
Fixing the testsuite
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
Sometimes your changes will break the testsuite. The testsuite works by
|
||||||
|
comparing the images found in `src/tests/input` with the corresponding PDF
|
||||||
|
documents in `src/tests/output`. The filename of the output file will be the
|
||||||
|
same name the input has with the `.pdf` suffix appended to it. To generate the
|
||||||
|
files in the `src/tests/output` directory via the command line, run:
|
||||||
|
|
||||||
|
$ src/img2pdf.py --producer="" --nodate src/tests/input/normal.jpg -o src/tests/output/normal.jpg.pdf
|
||||||
|
|
||||||
|
This makes it easier to spot where the differences are and how to fix the
|
||||||
|
issue.
|
||||||
|
|
||||||
|
Making a new release
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
- Add a new entry to CHANGES.rst
|
||||||
|
- Bump VERSION in setup.py
|
||||||
|
- Bump __version__ in src/img2pdf.py
|
||||||
|
- Commit:
|
||||||
|
|
||||||
|
$ git commit -m "release version X.Y.Z"
|
||||||
|
|
||||||
|
- Add git tag:
|
||||||
|
|
||||||
|
$ git tag X.Y.Z
|
||||||
|
|
||||||
|
- Build and upload to pypi:
|
||||||
|
|
||||||
|
$ python3 setup.py sdist bdist_wheel
|
||||||
|
$ twine upload --sign dist/*
|
Loading…
Reference in a new issue