Skip to content
This repository has been archived by the owner on Jun 13, 2020. It is now read-only.

This script performs a bulk image resize for the Energy Dashboard. It will create two versions of the same image (full and thumbnail) and optimize for web.

Notifications You must be signed in to change notification settings

OSU-Sustainability-Office/bulk-image-resize-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

bulk-image-resize-script

This script performs a bulk image resize for the Energy Dashboard. It will create two versions of the same image (full and thumbnail) and optimize for web.

Dependencies

Before running the script, ensure you have the imgp tool installed.

This script was developed and tested on Mac OS X Catalina. It should be compatible with Linux (or a Bash emulator), but I'm not guaranteeing compatibility! :)

Usage

  1. Clone this github repo
  2. Run the script - ./bulkImageResize -create to create the input and output directories.
  3. Copy the images you wish to resize to the input directory.
  4. Run the script - ./bulkImageResize to resize!
  5. Optionally, you can delete the output directories recursively with ./bulkImageResize -remove.

About

This script performs a bulk image resize for the Energy Dashboard. It will create two versions of the same image (full and thumbnail) and optimize for web.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages