Pixelita is a Go-based image processing utility designed to facilitate encoding, decoding, and conversion of images into formats: JPEG, PNG, and WebP.
- Format Conversion: Easily convert images between different formats including JPEG, PNG, and WebP.
- Quality Adjustment: Tailor the quality of images during conversion to meet specific requirements.
- Concurrent Processing: Utilize parallel processing to optimize multiple images simultaneously.
- Go (Golang): Install Go on your system.
- Go Modules: Fetch required modules by running
go mod download
.
-
Clone the Repository:
git clone https://github.com/keshon/pixelita-image-compressor.git
-
Install Dependencies:
cd pixelita go mod download
-
Run Pixelita:
Execute the following command to run Pixelita:
go run cmd/main.go
You can use supplied build scripts (
bat
for Windows andsh
for Linux:- build-and-run - debug version (run after build).
- build-release - release version with terminal window visible.
- build-release-no-console - release version without terminal window.
- config: Config to hold various parameters.
- imageencode: Contains functionalities for encoding images in JPEG, PNG, and WebP formats.
- imagetype: Manages image format types and their corresponding extensions.
- pixelita: Main utility for image processing and format conversion.
- internal: Includes additional utility functions and configurations used within the application.
- filesystem: File IO related helper object.
The banner images used in this project were sourced from Freepik, attributed to contributors @Freepik and @starline.
Contributions to Pixelita are welcome! You can create issues, submit pull requests, or suggest enhancements to improve the utility.
Pixelita is licensed under the MIT License.