| Portability | portable |
|---|---|
| Stability | provisional |
| Maintainer | claude@mathr.co.uk |
| Safe Haskell | Safe-Infered |
Graphics.Rendering.OpenGL.Capture
Description
Simple image capture from OpenGL.
Documentation
capturePPM :: IO ByteStringSource
Capture the current viewport to a ByteString in PPM P6 format. Correctly handles pixel alignment for oddly-sized regions. Corrects the image orientation so that the origin is top left.