Glad I could help! roni
On Tue, Dec 6, 2016, 3:53 AM Eike <[email protected]> wrote: > > Hi Roni, > > thank you so much! This works perfectly. I didn't know about the import > command, this is very convenient. > > Thanks again and kind regards > Eike > > Roni Choudhury <[email protected]> writes: > > > Hi Eike- > > > > You have to let *convert* know the image type coming in on stdin: > > > > *xwd -root | convert xwd:- screenshot.jpg* > > > > You may also be interested to know about the *import* command, which > comes > > with ImageMagick: > > > > *import -window root screenshot.png* > > > > That command will take a screenshot and automatically convert to an > output > > format based on the file extension you choose. > > > > Hope this helps, > > > > roni > > > > On Tue, Nov 29, 2016 at 6:25 AM Eike <[email protected]> wrote: > > > >> > >> Hello, > >> > >> I'm used to do screenshots with xwd and imagemagick like this: > >> > >> xwd -root | convert - screenshot.jpg > >> > >> Currently (17.03pre95306.a24728f (Gorilla)) with imagemagick 6.9.6-2 I > >> cannot convert xwd dumps to jpgs anymore: > >> > >> $ xwd -root | convert - screenshot.jpg > >> convert: no decode delegate for this image format `' @ > >> error/constitute.c/ReadImage/504. > >> convert: no images defined `screenshot.jpg' @ > >> error/convert.c/ConvertImageCommand/3257. > >> > >> I tested with the version of commit fa6c6dae7 (which is 6.9.5-10) > >> successfully but with the update to 6.9.6-2 (commit 241cd0e5d) it > >> stopped working. So it looks like it is not supported anymore with > >> imagemagick 6.9.6? > >> > >> I could not find related info doing a quick search on the web. Does > >> anyone know more about this? > >> > >> Thanks and regards > >> Eike > >> > >> -- > >> gpg: AD7AC35E > >> finger print: 137F BB0B 1639 D25F DC5D E59C B412 C5F5 AD7A C35E > >> _______________________________________________ > >> nix-dev mailing list > >> [email protected] > >> http://lists.science.uu.nl/mailman/listinfo/nix-dev > >> > > > -- > gpg: AD7AC35E > finger print: 137F BB0B 1639 D25F DC5D E59C B412 C5F5 AD7A C35E >
_______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
