Skip to content

Convert a PDF file to PNG images by ImageMagick/GhostScript.

License

Notifications You must be signed in to change notification settings

aazw/pdf-to-pngs-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pdf-to-pngs-docker

Convert a PDF file to PNG images by ImageMagick/GhostScript.

Run

  1. Prepare docker image

    # Pull image
    docker pull docker.pkg.github.com/aazw/pdf-to-pngs-docker/pdf2pngs:latest
    
    # OR
    # Build image 
    # Note: fix build settings in docker-compose.yml before build image
    docker-compose build
  2. Put a PDF file in workspace directory

  3. Run

     # Exec
     docker-compose run -e INPUT_FILENAME=<filename_in_workspace_dir>.pdf imagemagick
    
     # e.g. 
     # > ls workspace
     # doc.pdf
     # > docker-compose run -e INPUT_FILENAME=doc.pdf imagemagick

References

About

Convert a PDF file to PNG images by ImageMagick/GhostScript.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages