• Stars
    star
    212
  • Rank 186,122 (Top 4 %)
  • Language
    C
  • License
    MIT License
  • Created over 11 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Utility to take a snapshot of the Raspberry Pi screen and save it as a PNG file

raspi2png

Utility to take a snapshot of the raspberry pi screen and save it as a PNG file

Usage: raspi2png [--pngname name] [--width <width>] [--height <height>] [--compression <level>] [--delay <delay>] [--display <number>] [--stdout] [--help]

--pngname,-p - name of png file to create (default is snapshot.png)
--height,-h - image height (default is screen height)
--width,-w - image width (default is screen width)
--compression,-c - PNG compression level (0 - 9)
--delay,-d - delay in seconds (default 0)
--display,-D - Raspberry Pi display number (default 0)
--stdout,-s - write file to stdout
--help,-H - print this usage information

Simple Install

Run this command through terminal or CLI screen.

curl -sL https://raw.githubusercontent.com/AndrewFromMelbourne/raspi2png/master/installer.sh | bash -

Manual Building

You will need to install libpng before you build the program. On Raspbian

sudo apt-get install libpng12-dev

Then just type 'make' in the raspi2png directory you cloned from github.

More Repositories

1

raspidmx

Some examples using the DispmanX API on the Raspberry Pi
C
217
star
2

raspi2fb

Program to copy the Raspberry Pi display to a secondary framebuffer.
C
94
star
3

fb2png

Save Linux frambuffer (/dev/fb0) to a PNG image file.
C
47
star
4

raspi_serialnumber

example C code to retrieve the Raspberry Pi Serial Number
C
41
star
5

raspi2raspi

Program to copy from one Raspberry Pi display to another Raspberry Pi display
C
34
star
6

raspberry_pi_revision

C code to decode the Revision: field of /proc/cpuinfo on the Raspberry Pi
C
32
star
7

dmxwebcam

A webcam (v4l2) viewer for the Raspberry Pi console.
C
21
star
8

libSSD1306

Linux C++ library to drive an SSD1306 128x64 Oled display with I2C interface
C++
20
star
9

raspifb16

Framebuffer utilities for the Raspberry Pi
C++
18
star
10

sdl_image_example

Example C code to display an image on the framebuffer using the SDL and SDL_Image libraries.
C
7
star
11

raspibar

Raspberry Pi Blank and Run is a program that puts a blank layer in front of the Raspberry Pi framebuffer and runs a program
C
3
star
12

picosys-boxworld

Boxworld/Sokoban for the Pimoroni Picosystem
C++
3
star
13

AnalogButtonManager

Arduino library to manage button multiplexed on a single analog input using different resistances
C
2
star
14

intervalometer

Arduino sketch for a camera intervalometer (requires LCD shield compatible with the LiquidCrystal library).
C++
2
star
15

ogsfb32

Odroid Super Go - 32 Bit Framebuffer C++
C++
2
star
16

picosys-life

Conway's Game of Life for the Pimoronia Picosystem
C++
2
star
17

print_image

Python script to print an image to a Linux terminal
Python
2
star
18

showimage

A Qt based simple image viewer
C++
2
star
19

drmfb32

A C++ library and code for using the KMS/DRM 32 bit framebuffer
C++
2
star
20

picosys-15-puzzle

15 Puzzle for the Pimoroni Picosystem
C++
2
star
21

AndrewFromMelbourne

Config files for my GitHub profile.
1
star
22

LcdColumnGraph

Arduino library for using custom characters in the LiquidCrystal library to create column graphs
C
1
star
23

IntervalTimerManager

Arduino library to manager multiple interval timer objects
C
1
star
24

LcdRowSlider

Arduino library for using custom characters in the LiquidCrystal library to create a slider.
C
1
star
25

raspimztx

Code to drive a MZTX-PI-EXT2.2 LCD display
C
1
star
26

LcdRowGraph

Arduino library for using custom characters in the LiquidCrystal library to create row graphs
C
1
star
27

raspi-device-tree

Extra device tree files for the Raspberry Pi
Makefile
1
star
28

swiftbar-bom

A Swiftbar plugin to retreive and display the current weather from the Bureau of Meteorology
Python
1
star
29

libHD44780Lcd

Linux C++ library to drive an HD44780 LCD with I2C interface
C++
1
star