Skip to content

SoccerStar24x7/batch-crop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

SLICING:

example:

cropped_image = img[0:1000, 200:1200]

A parameter:

  • First specify the initial index (the pixel to start from)
  • Then specify the ending index (the pixel to end from)

In the first parameter in our example:

  • It starts at the pixel 0 (the start)
  • It ends at the pixel 1000
  • This first parameter is the rows, or Y-Axis.

In the second parameter in our example:

  • It starts at the pixel 200
  • It ends at the pixel 1200
  • This second parameter is the columns, or X-Axis.

EXIT CODES:

0 - script went successfully

1 - read the main part of the readme. 👺

About

a batch crop tool for images

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages