https://github.com/fogleman/imview
Simple image viewer written in Go + OpenGL.
https://github.com/fogleman/imview
Last synced: 9 months ago
JSON representation
Simple image viewer written in Go + OpenGL.
- Host: GitHub
- URL: https://github.com/fogleman/imview
- Owner: fogleman
- License: mit
- Created: 2016-02-28T04:01:14.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-08-29T20:59:08.000Z (over 9 years ago)
- Last Synced: 2025-05-13T08:43:32.457Z (11 months ago)
- Language: Go
- Size: 4.88 KB
- Stars: 21
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# imview
Simple image viewer written in Go + OpenGL.
## Installation
go get -u github.com/fogleman/imview/cmd/imview
## Usage
imview first.jpg second.png third.bmp
## API
You can show a single image...
```go
import "github.com/fogleman/imview"
var image *image.RGBA
// ...
imview.Show(image)
```
Or multiple images, each in their own window...
```go
import "github.com/fogleman/imview"
var images []*image.RGBA
// ...
imview.Show(images...)
```