Skip to content

Latest commit

 

History

History
88 lines (61 loc) · 1.37 KB

README.md

File metadata and controls

88 lines (61 loc) · 1.37 KB

Imager

Imager logo

Simple and fast command-line image manipulator written in C

Usage

imager filename [options]

Argument:
    Your image file                 (PNG, JPEG/JPG (JFIF) supported)

Options:
    -?, -h, --help                  Shows help message

    -cp, --copy                     Copy image
    -mv, --move                     Move image
    -cr, --crop                     Crop image (Only PNG)
    -crp, --crop-percent            Crop image with percent (Only PNG)

    -i, --info                      Shows information about image

Examples

Copy images

imager image.png --copy copy_image.png
imager image.jpg -cp copy_image.jpg
imager image.jpeg -cp

Move/rename images

imager image.png -mv path/where/to/move
imager image.jpeg --move image_with_new_name.jpeg

Crop images

By width and height

imager image.png -cr 640 380

By percent

imager image.png -crp 50%

Goals

  • Read image files ✔️
  • Command-line user interface ✔️
  • Copy ✔️
  • Move/Rename ✔️
  • Properties (info) ✔️
  • Resize ❌
  • Crop ✔️

Building

git clone https://github.com/C0DIC/Imager.git
cd Imager
make

Uninstall

make clean