forked from josch/img2pdf
1
0
Fork 0
Commit Graph

47 Commits (main)

Author SHA1 Message Date
ooBJ3u 150a23169b Update 'README.md'
Per comment josch/img2pdf#184/files#issuecomment-1334
2 months ago
ooBJ3u 085dd192f6 Add support for JBIG2 (generic coding)
Implements the proposal detailed at
josch/img2pdf#112

This is a limited implementation of JBIG2, which can be extended to
support multiple pages, symbol tables, and other features of the format
in the future.

To test, I included a test fixture. You can also download 042.bmp (the same
one as @josch already downloaded in josch/img2pdf#112
from https://git.ghostscript.com/?p=tests.git;a=blob_plain;f=jbig2/042.bmp;hb=HEAD
and run the following command:

  jbig2 042.bmp | img2pdf > 042.pdf

This results in a small PDF, just as @josch originally found in the
comment mentioned above.

This is my first contribution to this repository so let me know if
something else is needed. Thanks for a great library!
6 months ago
Johannes Schauer Marin Rodrigues 272fe0433f allow pathlib.Path objects by allowing objects implementing read_bytes function 2 years ago
Johannes Schauer Marin Rodrigues d9b90499f3
README.md: compare to econvert (closes: #143) 2 years ago
Johannes Schauer Marin Rodrigues edb0d29a14
README.md: fix link 2 years ago
Johannes Schauer Marin Rodrigues bb3e8b0098
README.md: document that img2pdf.exe can now be downloaded via release 2 years ago
mara0004 c3db273e23
Remove outdated readme entry concerning JP2 colorspace
If I understood the code in `jp2.py` correctly, this should now work.
Moreover, Pillow should usually be able to open JP2 files, so `jp2.py` is only a fallback.
2 years ago
Johannes Schauer Marin Rodrigues 3b117e674b
clarify that input with an alpha channel requires additional computation (closes: #142) 2 years ago
Johannes Schauer Marin Rodrigues 3da370d3bd
add more information about how to ignore invalid rotation values in input images 2 years ago
mara0004 1ffb160453
Readme: remove alpha channels section 3 years ago
Louis Sautier 635b08c321
README: fix CI URLs 3 years ago
Johannes Schauer Marin Rodrigues 55d589a548
README.md: document how to remove alpha channel and --rotation=ifvalid 3 years ago
Johannes Schauer Marin Rodrigues 80d24a1d49
README.md: add more examples (closes: #98) 3 years ago
Johannes Schauer Marin Rodrigues b5f0912e13
README.md: minimize scope of opened file in examples
Prompted-by: Joao Rodrigo Windisch Olenscki
3 years ago
Johannes 'josch' Schauer 17dd59e722
README.md: clarify PDF transparency (closes: #76) 4 years ago
Johannes 'josch' Schauer 24b679d8e5
README.md: add comparison to podofoimg2pdf 4 years ago
Johannes 'josch' Schauer 1b6e9e3da6
README.md: add 'Library' header 4 years ago
Johannes 'josch' Schauer 5375a17181
README.md: add more examples 4 years ago
Johannes 'josch' Schauer b31d4e48d8
README.md: add appveyor and travis CI batches 5 years ago
Johannes 'josch' Schauer be9e48871c
README.md: add screenshot 5 years ago
Johannes 'josch' Schauer 9395b6fbbe
README.md: comparison to other software 6 years ago
Johannes 'josch' Schauer f5d8d86dff
Also do not re-encode CCITT Group 4 encoded TIFF images
Add additional property of input images: inverted

closes: #47
6 years ago
Johannes 'josch' Schauer 4c5faf408f
README.md: restructure 6 years ago
Johannes 'josch' Schauer d09aa76c9e
README.md: remove ambiguous section about lossless compression 6 years ago
Johannes 'josch' Schauer 1d9a25dfd2
Proof of concept of using PDF DecodeParms for storing pixel data with PNG compression 6 years ago
Johannes 'josch' Schauer 45cea44fac README.md: use pip3 instead of pip 7 years ago
Johannes 'josch' Schauer fe86469c6c README.md: Improve wording 7 years ago
Johannes 'josch' Schauer 44ce296581 README.md: add more examples of how to use the library 7 years ago
josch 251238b410 release version 0.2.0 - big rewrite and lots of new features
- now Python3 only
 - pep8 compliant code
 - update my email to josch@mister-muffin.de
 - 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 command line options for metadata arguments
8 years ago
josch 02fad70e4b README.md: add another feature idea 9 years ago
josch fdee171d40 README.md: add more wishlist bugs 9 years ago
josch b7aa09834c README.md: update treatment of non-jpeg files 9 years ago
xiota 53fdf81c37 Usage
* rename "Commandline Options" to "Usage"
  * General Notes
  * Controlling Page Size
  * Colorspace
9 years ago
xiota be21c4bbf3 general editing 9 years ago
josch 23b77d2544 README.md: add Debian/Ubuntu dependencies 9 years ago
Jakub Wilk 8f757bc3bb README: fix a typo 9 years ago
josch 18ca3b4491 make 2nd, 3rd and 4th argument optional by supplying None as default 9 years ago
lukahn d9054ddfd3 Updated library section to reflect latest implementation 9 years ago
josch acfb3270ab fix markdown in readme 10 years ago
josch 818db1902f license change from GPL to LGPL 10 years ago
Stephan Richter 0e3dbefbbf Provide some installation instructions using the typical Python tool chain. 10 years ago
josch c21c148daf add documentation for --colorspace 12 years ago
josch 69ff6e7961 commandline help in README.md 12 years ago
josch c6bf6baf9d add speed benefit to README 12 years ago
josch 0bd841c530 JPEG2000 support 12 years ago
josch 7293949336 restructure readme 12 years ago
josch 055b075397 initial commit 12 years ago