Skip to main content

imgextract

imgextract v0.0.2

This python package can be used for extracting pages from PDF and TIF/TIFF files.

This packages uses poppler for reading pdf files and tkinter for gui, for windows platform poppler has been included in package and tkinter can be installed with python but for linux we have to install them manually.

How to install poppler and tkinter

We can download poppler from poppler

OR

We can install poppler using below command


sudo apt-get install python-poppler

Install tkinter in linux using below command


sudo apt-get update
sudo apt-get install python3-tk


How to use

pdf page extraction

from imgextract.imgext import ImgExtractor

if __name__ == "__main__":
    ss = ImgExtractor()
    # input files path, out put files path and file type
    ss.extract("/home/user/pdf_files", "/home/user/image_files", "pdf")

tif/tiff image extraction

from imgextract.imgext import ImgExtractor

if __name__ == "__main__":
    ss = ImgExtractor()
    # input files path, out put files path and file type
    ss.extract("/home/user/tif_files", "/home/user/image_files", "tif")

GUI for Image extraction

GUI for Image extraction

from imgextract.imggui import GuiExtractor

if __name__ == "__main__":
    ss = GuiExtractor()
    ss.openwindow()

Installation

$ pip install imgextract

License

MIT

Release files for imgextract 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for imgextract 0.0.2
File Size Uploaded
imgextract-0.0.2.tar.gz 10.9 MB Details

Release files / imgextract-0.0.2.tar.gz

Download URL imgextract-0.0.2.tar.gz
Size 10.9 MB
Tags Source
SHA-256 checksum
How to use checksums
784289771ce63402f261dfe6ae87cd9e99db0bc949a7ad93a7583af41ad84240
BLAKE2b-256 checksum
How to use checksums
1c88aa7efd1649d133a76f5e491cfd1142cf312b08b2eed39b72c60c71aa270c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.7

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page