Skip to content
/ Imager Public

Simple and fast command-line image manager written in C

Notifications You must be signed in to change notification settings

C0DIC/Imager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published