-
-
Notifications
You must be signed in to change notification settings - Fork 711
Closed
Description
Hello,
It'd be nice if we had support for the X Window Dump file format in libvips to allow taking screenshots via the xwd(1) utility that comes with the X11 distribution by default.
Example command with xwd(1) and convert(1) from ImageMagick to take a PNG screenshot:
$ xwd -root | convert xwd:- test.png
Possible usage examples and actual outputs:
$ xwd -root | vips stdin test.png
VipsImage: unable to load source
$ xwd -root -out test.xwd && vips copy test.xwd test.png
VipsForeignLoad: "test.xwd" is not a known file format
Counter arguments:
- Keep around an ImageMagick installation for taking screenshots: duplicates efforts
- Use a full-featered screenshot-taking utility like scrot: more packages to manage
Thank you.
Metadata
Metadata
Assignees
Labels
No labels