Skip to content

Create a set of smaller images to use as srcSet (tool for web development)

Notifications You must be signed in to change notification settings

szabbbbu/createSrcSet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

createSrcSet

Create a set of smaller images to use as srcSet (tool for web development)

This script takes a larger image and a number, and makes smaller copies at an interval determined by the number given.

how to use (UNIX)

  1. clone repo
  2. make sure your version of python has opencv installed (pip3 install opencv-python)
  3. add createSrcSet.py to your PATH variable in your respective .zshrc or .bashrc folder
  4. run python3 createSrcSet.py <num_copies> <source_file_path>
  5. copies should be in a folder called tiny_copies_<source_file_path> in the directory you ran the command in.

About

Create a set of smaller images to use as srcSet (tool for web development)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages