pdfconduit

Prepare documents for distribution

APACHE-2.0 License

Downloads
4.5K
Stars
24
Committers
2
pdfconduit - 3.3.0

Published by sfneal 3 months ago

What's Changed

Full Changelog: https://github.com/sfneal/pdfconduit/compare/3.2.0...3.3.0

pdfconduit - 3.2.0

Published by sfneal 4 months ago

What's Changed

Full Changelog: https://github.com/sfneal/pdfconduit/compare/3.1.0...3.2.0

pdfconduit - 3.1.0

Published by sfneal 4 months ago

What's Changed

Full Changelog: https://github.com/sfneal/pdfconduit/compare/3.0.0...3.1.0

pdfconduit - 3.0.0

Published by sfneal 4 months ago

What's Changed

Full Changelog: https://github.com/sfneal/pdfconduit/compare/2.1.0...3.0.0

pdfconduit - 3.0.0b2

Published by sfneal 4 months ago

What's Changed

Full Changelog: https://github.com/sfneal/pdfconduit/compare/3.0.0b1...3.0.0b2

pdfconduit - 3.0.0b1

Published by sfneal 4 months ago

What's Changed

Full Changelog: https://github.com/sfneal/pdfconduit/compare/2.1.0...3.0.0b1

pdfconduit - 2.1.0

Published by sfneal 5 months ago

What's Changed

Full Changelog: https://github.com/sfneal/pdfconduit/compare/2.0.2...2.1.0

pdfconduit - 2.0.2

Published by sfneal over 3 years ago

  • cut sub-module version files
  • refactor test suite to contain one test class per file
pdfconduit - 2.0.1

Published by sfneal over 3 years ago

  • fix issue with MANIFEST.in not including watermarking image files in PyPi distribution
pdfconduit - 2.0.0

Published by sfneal over 3 years ago

  • refactor pdfconduit so that all modules are installable via pip install pdfconduit command
  • cut 'api' & 'gui' modules
  • add Scrutinizer & Style CI support
  • optimize dependencies
pdfconduit - Bug fixes and improved project structure

Published by sfneal about 6 years ago

  • FIXED: Issue where canvas elements of a 'layered' watermark were being incorrectly drawn
  • Added config.json and config sub-module to gui sub-package
  • Moved utils into its own sub-module
  • Imports optimization
pdfconduit - New Convert Module

Published by sfneal about 6 years ago

  • NEW: Added convert module for image to pdf conversion and visa versa
  • Created pdf2img and img2pdf wrapper functions
pdfconduit - Stable namespace release

Published by sfneal about 6 years ago

Conduit and GUI modules have been separated while maintaining functionality.

  • FIXED: pagescale parameter placement in WatermarkDraw call in watermark.py draw method
    • Was causing a syntax error
  • FIXED: Issue where Flatten class created incorrectly scaled PDF documents
    • Issue was created by pagescaling in WatermarkDraw init method
    • Fixed by added parameter pagescale set to default of False
  • FIXED: Issue where watermark was inconsistently place on 11x17 PDF documents
    • Added watermark pagesize scaling to WatermarkDraw method
  • Improved test_watermark unittests
pdfconduit - Namespace Packages

Published by sfneal about 6 years ago

  • Modified project structure without effecting functionality
  • pdfconduit can now be installed and imported via 'pip install pdfconduit'
  • pdfconduit's GUI module can be installed via 'pip install pdfconduit-gui'
  • Both distributions are installed to the 'pdf' namespace which houses 'conduit' and 'gui' directories
  • 'pdf' can be imported directory or via a smooth wrapper using import pdfconduit
pdfconduit - Sub Package Utilization

Published by sfneal about 6 years ago

The pdfconduit package has been divided into several sub-packages (conduit and gui).

pdfconduit - Improved Watermark.draw functionality

Published by sfneal about 6 years ago

  • Modified constructor.py to handle cases where text2, image or copyright are None
  • Updated constructor.py handles scenario where image directory is not available
pdfconduit - Watermark GUI tabbed form

Published by sfneal about 6 years ago

  • Added tabs to watermark GUI form
    • Only on Windows (PySimpleGUI tabs are currently ugly on MacOS)
  • Console no longer appears when watermarker.exe is launched
pdfconduit - PDF Flattening and label/watermark placement improvements

Published by sfneal about 6 years ago

  • Created flatten module to convert PDF page contents to singular flat layer
  • Improved handling of large page size PDF documents
  • Created function to calculate font size in Label class
  • Fixed issue in add.py where upscale call was giving unneeded margin_x param
  • Added assertion to slice.py to validate page_range
  • Added PyMuPDF to install_requires
pdfconduit - Speed improvements with pdfrw integration

Published by sfneal about 6 years ago

  • Fixed issue large PDF files issue
    • Files taking a long time to write
    • File size was too large
  • TODO: pdfrw adds watermarks 15x faster than PyPDF3 but placement is incorrect with large pagesize PDF docs
  • Added progress bar parameters to Encrypt module
  • Restored pdfrw methods to upscale, rotate and add because of speed
    limitations with PyPDF3
  • Added pdf2img.py to convert PDF files to image files
pdfconduit - Final Release with included images

Published by sfneal about 6 years ago

Following this release packages will be created to add functionality on top of pdfconduit. Rather than including all features (like GUI) in base package.