Skip to content

maisonsmd/qnx-better-screenshot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Better screenshot (betterss)

This project works as a replacement for QNX's screenshot

The screenshot command from QNX is slow & lacks of some features

Feature

Feature screenshot betterss
Capture any display
Capture any area of the screen
Support PNG

Performance

screenshot betterss
Full screen capture time (1920x1080) ~1.47s ~0.10s (14.7 times faster)

Usage

Full screen capture:

./betterss

Capture any area:

./betterss x=100 y=100 w=200 h=200

x y w h are optional

The images are saved under /var/tmp

Specify output path

./betterss file=/var/screenshot/image_name

The file extension .bmp will be concatenated

Note: for custom locations, the path must exists (I didn't do the mkdir)

Export as PNG

./betterss type=png

Encoder: fpng

Capture another display

betterss allow capturing any display attached (like Cluster virtual display, lower blade,...)

./betterss display=index
  • index: the index of the display, might be 0, 1, 2,...

You have to try each index to find the desired display

Build

Firstly, setup your build enviroment (QNX compiler,...)

Then cd to project directory:

cmake .
make

About

A replacement for QNX's screenshot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published