Skip to content

guilhermemcardoso/go-image-mirroring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image Mirroring

This project is a simple Go module that mirrors an image horizontally or vertically. The program reads an image file, processes it, and outputs the result as another image file.

Getting Started

These instructions will help you set up the project on your local machine for development and testing purposes.

Prerequisites

  • Go (version 1.22+)

Installing

  1. Clone the repository:

    git clone https://github.com/guilhermemcardoso/go-image-mirroring
    cd go-image-mirroring
  2. Build the project:

    go build -o gomirroring

Usage

To use the Image Mirroring application, run the following command:

./gomirroring -input <yourimage.png> -output <youroutput.png> -effect <horizontal | vertical>

This command will generate an image file with the same name and extension as the output inserted param.

Example

Suppose you have an image file named image.png. To mirror it vertically, use:

./gomirroring -input image.png -output output.png -effect vertical

The program will create a file named output.png containing the mirrored image.

Contributing

If you have suggestions for improving this project, feel free to submit a pull request or open an issue.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages