https://github.com/keshon/pixelita
Optimize and convert images like never before
https://github.com/keshon/pixelita
convert-to-webp jpg-compressor png-compression png-optimizer webp webp-encoder
Last synced: about 2 months ago
JSON representation
Optimize and convert images like never before
- Host: GitHub
- URL: https://github.com/keshon/pixelita
- Owner: keshon
- License: other
- Created: 2023-06-29T12:53:11.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-28T21:27:53.000Z (11 months ago)
- Last Synced: 2024-06-28T22:35:46.172Z (11 months ago)
- Topics: convert-to-webp, jpg-compressor, png-compression, png-optimizer, webp, webp-encoder
- Language: Go
- Homepage:
- Size: 2.68 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# Pixelita Image Compressor
Pixelita is a Go-based image processing utility designed to facilitate encoding, decoding, and conversion of images into formats: JPEG, PNG, and WebP.
## Features
- **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.
## Getting Started
### Prerequisites
- **Go (Golang):** Install Go on your system.
- **Go Modules:** Fetch required modules by running `go mod download`.### Usage
1. **Clone the Repository:**
```bash
git clone https://github.com/keshon/pixelita-image-compressor.git
```2. **Install Dependencies:**
```bash
cd pixelita
go mod download
```4. **Run Pixelita:**
Execute the following command to run Pixelita:
```bash
go run cmd/main.go
```You can use supplied build scripts (`bat` for Windows and `sh` 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.### File Structure
- **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.## Acknowledgment
The banner images used in this project were sourced from [Freepik](https://www.freepik.com), attributed to contributors [@Freepik](https://www.freepik.com/author/freepik) and [@starline](https://www.freepik.com/author/starline).
### Contribution
Contributions to Pixelita are welcome! You can create issues, submit pull requests, or suggest enhancements to improve the utility.
### License
Pixelita is licensed under the [MIT License](https://opensource.org/licenses/MIT).