Skip to content
This repository was archived by the owner on Oct 10, 2026. It is now read-only.
GalacoPublic archive

About

Golang batch Image resizer to resize all images in a directory (preserves aspect ratio)

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Batch Image Resizer

Resizes all JPEG and PNG images in a directory. Preserves filenames.

This does not check child directories, only the specified directory.

This will preserve aspect ratio.

Usage

First build the binary: go build ./main.go

Run the binary with the following options: -dir="./pictures-to-resize" -output="./pictures-resized" -maxWidth=300 -maxHeight=300

NOTE: The output directory must already exist

About

Golang batch Image resizer to resize all images in a directory (preserves aspect ratio)

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages

⌂ 换网址