Releases: sfneal/pdfconduit
Releases · sfneal/pdfconduit
2.1.0
2.0.2
2.0.1
2.0.0
Bug fixes and improved project structure
- 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
New Convert Module
- NEW: Added convert module for image to pdf conversion and visa versa
- Created pdf2img and img2pdf wrapper functions
Stable namespace release
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
Namespace Packages
- 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
Sub Package Utilization
The pdfconduit package has been divided into several sub-packages (conduit and gui).
Improved Watermark.draw functionality
- Modified constructor.py to handle cases where text2, image or copyright are None
- Updated constructor.py handles scenario where image directory is not available