An open API service indexing awesome lists of open source software.

https://github.com/lostjared/image_convert

Batch convert and resize image files.
https://github.com/lostjared/image_convert

Last synced: 6 months ago
JSON representation

Batch convert and resize image files.

Awesome Lists containing this project

README

          

Wrote this to help out with conversions of multiple files to make it easier on me

To compile, first install OpenCV 4 development libraries

Output file list with

$ ls | grep file_type > list.txt

or

$ ls | grep png > list.txt

then use program to batch convert and resize

$ img_convert --input=list.txt --output=jpg --res=1280x720

will stretch the resolution so be aware of that

or don't change the res

$ img_convert --input=list.txt --output=png

or output to certain path

$ img_convert --input=list.txt --output=jpg --path=/Users/jared