Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kirillshevch/imgtobase64
imgtobase64 – package for converting image to base64 string
https://github.com/kirillshevch/imgtobase64
base64 golang image-processing
Last synced: 2 days ago
JSON representation
imgtobase64 – package for converting image to base64 string
- Host: GitHub
- URL: https://github.com/kirillshevch/imgtobase64
- Owner: kirillshevch
- License: mit
- Created: 2019-11-28T12:43:25.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-02-17T11:30:03.000Z (over 4 years ago)
- Last Synced: 2024-10-12T10:08:06.655Z (about 1 month ago)
- Topics: base64, golang, image-processing
- Language: Go
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# imgtobase64
Small Go package for converting image to base64 string
## Installation
You can install this package by using go modules
```
go get github.com/kirillshevch/imgtobase64
```## Usage
```go
package mainfunc main() {
base64, err := Imgtobase64("/path/to/image")if err != nil {
fmt.Print(err)
}fmt.Print(base64)
}
```## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/kirillshevch/imgtobase64.
## License
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).