Skip to main content

Thread: How to get RAW pixel data of screen to text file.


hi, i'm trying find simple way raw pixel data, or image of screen. example, can run cat /dev/input0 (to mouse coordinates) or cat /dev/video0 (to webcam video). i've tried run cat /dev/nvidia0 wont work. other ways can done?

can either programatic, , generic possible (a.k.a should standard exists in linux shell commands). if run on dumbed down linux system (not distro ubuntu) still work.

p.s. later used similar print screen function.

cheers.

quote posted darvenkry view post
hi, i'm trying find simple way raw pixel data, or image of screen. example, can run cat /dev/input0 (to mouse coordinates) or cat /dev/video0 (to webcam video). i've tried run cat /dev/nvidia0 wont work. other ways can done?

can either programatic, , generic possible (a.k.a should standard exists in linux shell commands). if run on dumbed down linux system (not distro ubuntu) still work.

p.s. later used similar print screen function.

cheers.
hi,
think talking > operator.
eg: if want put output of ls command in file new.txt
code:
ls > new.txt
this delete if present in file.
if want append contents of file
use
code:
ls >> new.txt
regards,
abhinav


Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Ubuntu Dev Link Forum How to get RAW pixel data of screen to text file.


Ubuntu

Comments

Popular posts from this blog

Could not place because the source rectangle is empty

Thread: Using smartcard reader with vpnc

Adobe Font Folio 7.0 or just 7?