pdftoimage

command module
v0.0.0-...-1dcf7b7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 10, 2024 License: MIT Imports: 1 Imported by: 0

README

PDF to Image Converter CLI Tool

A command-line interface (CLI) tool written in Go for converting PDF files to images of various formats.

Go Report Card example workflow

Features

  • Converts PDF files to images (PNG, JPEG)
  • Easy to use with a simple command-line interface

Installation

Prerequisites
Installation

To install the CLI tool, run the following command:

go install github.com/binaryshogun/pdftoimage

Usage

pdftoimage -p input.pdf --format png -o images/
Options
  • --pdf or -p: (required) Path to the PDF file.
  • input.pdf: Path to the input PDF file.
  • --format or -f: Output image format (png, jpeg, jpg). Default to jpeg.
  • --out or -o: Output directory for images. Default to local images folder.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
pdf

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL