hxPiScreenCapture

Haxe/OpenFL extension for grabbing the screen on a Raspberry Pi


Keywords
dispmanx, raspbery pi
License
MIT
Install
haxelib install hxPiScreenCapture 0.9.0

Documentation

hxPiScreenCapture

Haxe / OpenFL extension for grabbing the screen on a Raspberry Pi

Requirements

make sure you have libpng12-dev installed:

sudo apt-get install libpng12-dev

Usage

Include hxPiScreenCapture in your project.xml

In your project set a Path (default is /home/pi)

PiScreenCapture.setPath("/home/pi/Desktop/");

Call capture when you want to make a screenshot

PiScreenCapture.capture()


uses the code from raspi2png