Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Much more than just command line...' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Much more than just command line...
Authored by: adriaant on Aug 29, '02 10:12:40PM

I did a "screencapture -w -W -i ~/Desktop/capture.jpg" (note the .jpg extension) and a capture of my selected window was saved as a JPG.



[ Reply to This | # ]
Much more than just command line...
Authored by: hombre on Oct 17, '02 02:22:17PM

When I tried "screencapture -w -W -i ~/Desktop/capture.jpg", I got a pdf file with a .jpg extension, i.e., it was not viewable until I changed the extension to pdf.



[ Reply to This | # ]
Much more than just command line...
Authored by: rocteur on Oct 27, '02 03:51:04PM

And this does not work, you have to rename it to .pdf to view it..

Anyone had any luck changing the format..



[ Reply to This | # ]
Much more than just command line...
Authored by: father2a-f on Dec 08, '03 07:30:25PM

Try this (only works in 10.3, though):

$ screencapture -S /tmp/screengrab.pdf ; sips -s format png /tmp/screengrab.pdf --out /tmp/screengrab.png

You can change the format type to tiff or jpeg, as well (e.g., ... format jpeg ... screengrab.jpg). sips may have other formats it supports, but I haven't tried but these. Type sips --help for more info.



[ Reply to This | # ]