A no-nonsense hardware-accelerated image viewer
I started this as a toy project to make a simple image viewer. The vision is to create something with a broad support of industry-standard files and gradually add more image analysis tools. Here are some reasons why this might be helpful to you: - Completely bloat-free - Available for Win, Mac, Linux - Supports a wide range of images - Can display unassociated channels correctly (For example if your image uses alpha and color channels to encode data in a special way) - Lets you pick pixels and displays location and color values
Image multiplied with alpha:
Alpha channel:
RGB channels (with
Just download the executable for your system from the releases tab (https://github.com/woelper/oculante/releases). No installation is required. In order to open images you can configure your system to open your desired image formats with oculante, drag them onto the executable or into the window. Right now the executables are roughly 5MB.
Image format support:
- bmp
- gif (animation support and correct timing, no looping yet)
- hdr, tonemapped
- ico
- jpeg
- png
- pnm
- tga
- tiff
- webp
- farbfeld
- DDS (DXT1-5, via dds-rs
)
- psd (via psd
)
- svg (via nsvg
)
- exr (via exr-rs
), tonemapped
Platform support: - Linux - Mac - Windows
Misc features
- Image info (i) (pixel position, color info)
- Threaded image loading
- Fit image to view
- Low cpu usage
- Pretty fast startup/loading time
- Display unassociated / unpremultiplied alpha (oculante -l port
and oculante will switch to receive mode. You can then pipe raw image data to that port, for example using nc localhost 8888 < image.jpg
. If you pipe image sequences, these will be played at about 30 fps so you can pipe videos to it. This can be useful to visualize images from a headless system.
Cheatsheet:
i = display extended info
v = reset view
r,g,b,a = display red/green/blue/alpha channel
c = display color channel
u = display colors unpremultiplied
f = toggle fullscreen
mouse wheel
= zoomleft/right = prev/next image in folder
Please submit bugs and feature requests on this github repo!
Roadmap: - Image loading time is still worse than feh or xv - Tests and benchmarks - Image rotation (and read EXIF for that) - Investigate PVR / ETC support - Brighness/gamma adjust for HDR - ~~SVG support~~ - ~~Custom display for images with unassociated channels~~ - ~~EXR support~~ - ~~Read next image(s) in dir and advance to them~~