castle-image-viewer
Image viewer and converter using Castle Game Engine, supporting many common image formats (PNG, JPG...) and some exotic ones (DDS, KTX, RGBE)
- Active · last change 8-1-2026
- ★ 27 on GitHub
README
Castle Image Viewer (formerly castle-view-image, glViewImage)
Image viewer, converter and even a very limited image editor. Using Castle Game Engine.
- Supports many common image formats: PNG, JPEG, GIF, TGA, XPM, PSD, PCX, PNM, PBM, PGM, PPM, BMP.
- Supports also some "exotic" file formats that are useful for game developers: KTX and DDS (advanced formats for textures) and RGBE (simple HDR format).
- Browse all images in a directory by easy key shortcuts.
- Scale image, test is it tileable, see alpha channel, other image "investigation" features.
- Perform alpha bleeding and other edits (grayscale, mirror, resize).
Complete documentation on https://castle-engine.io/castle-image-viewer .
Using Castle Game Engine, see https://castle-engine.io/ .
Building
Compile by:
- CGE editor. Just use menu items "Compile" or "Compile And Run".
- Or use CGE command-line build tool. Run
castle-engine compilein this directory. - Or use Lazarus. Open in Lazarus
castle_image_viewer.lpifile and compile / run from Lazarus. Make sure to first register CGE Lazarus packages.
License
GNU GPL >= 2.

