Skip to content

motooka/image-splitter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image-splitter

A CLI tool which splits an image into Red-Green-Blue-Alpha channels

How to Use

image-splitter /file/path/to/source-image.png

The command will create the following files in the same directory

  • source-image-red.png
  • source-image-green.png
  • source-image-blue.png
  • source-image-alpha.png

Options

TODO

Example

Original image by Renee French, licensed under Creative Commons 3.0 Attributions license, modified by the author of this program (resized, and converted from JPEG into PNG) Gopher image

The red channel looks like following. White means red color is bright, and black means red color is dark. Red channel of Gopher image

License

MIT License, except the images above (stored in examples directory in this repository). See LICENSE.md for more details.

Development Environment

Go 1.17 is required

Development Operations

  • go build image-splitter.go to build executable, named image-splitter
  • go run image-splitter.go to execute

About

A CLI tool which splits an image into Red-Green-Blue-Alpha channels

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages