32:
1220:
1232:
126:
runs in one of two ways: if a user specifies the whole screen or the name or identifier of a window as an argument, the program captures the content of the window; otherwise, it changes the shape of the
494:
The X window dump (xwd) tool takes a snapshot of the current screen, a manually selected window or a window designated by its numeric ID, and outputs the image to standard output or to a file.
61:
631:
346:
bgra, rgba, argb, abgr, rgb24, bgr24, rgb565be, rgb565le, bgr565be, bgr565le, rgb555be, rgb555le, bgr555be, bgr555le, rgb8, bgr8, rgb4_byte, bgr4_byte, pal8, gray,
1189:
977:
1282:
1166:
1235:
624:
143:
level, xwd uses the fact that any X client can request the content of an arbitrary window, including ones it did not create, using the
1088:
1272:
526:
481:
83:
706:
858:
1257:
1223:
617:
1194:
766:
44:
1277:
255:
54:
48:
40:
1267:
1126:
1053:
746:
1043:
893:
197:
65:
1262:
1093:
1078:
1020:
863:
786:
721:
686:
1136:
898:
776:
696:
511:
1098:
945:
868:
289:
140:
965:
955:
806:
671:
1231:
412:
918:
771:
761:
741:
716:
282:
213:
128:
1118:
1063:
992:
972:
933:
781:
726:
711:
656:
640:
522:
518:
477:
193:
1103:
1025:
1012:
430:
depend on the platform, therefore it is unsuited for cross-platform applications and has no
369:
300:
102:
1035:
908:
681:
648:
580:
230:
201:
98:
588:
592:
1108:
950:
155:
library). The content of the whole screen is obtained by requesting the content of the
1251:
1204:
1073:
913:
816:
171:
117:
923:
548:
471:
1058:
938:
584:
329:
307:
179:
162:
The file generated by xwd can then be read by various other X utilities such as
156:
19:
This article is about the computer program. For the all-wheel drive system, see
1156:
928:
873:
404:
361:
131:
and waits for the user to click in a window, whose content is then captured.
1048:
821:
183:
1176:
997:
987:
846:
751:
597:
449:
443:
20:
609:
960:
841:
836:
831:
826:
731:
883:
878:
701:
553:
341:
337:
333:
113:
1190:
1068:
1141:
853:
801:
691:
1184:
1151:
1131:
1083:
982:
811:
796:
791:
736:
676:
666:
661:
604:
600:
431:
325:
175:
152:
613:
1199:
1161:
1146:
903:
888:
756:
25:
513:
Encyclopedia of
Graphics File Formats, Second Edition
476:. O'Reilly Series. O'Reilly Media, Inc. p. 107.
1175:
1117:
1034:
1011:
647:
298:
288:
278:
254:
236:
226:
212:
510:
509:James D. Murray; William vanRyper (April 1996).
320:Various image viewers and tools support the X11
192:The dumps are larger in size than files in most
53:but its sources remain unclear because it lacks
625:
8:
207:
200:, but also uncompressed bitmap formats like
112:) captures the content of a screen or of a
632:
618:
610:
182:suite allows the construction of a useful
84:Learn how and when to remove this message
462:
206:
196:โ not only compressed formats such as
189:$ xwd | convert xwd:- screenshot.png
1185:Exchangeable image file format (Exif)
587:can also be downloaded separately as
504:
502:
178:, or converted to other formats; the
7:
16:Command-line program and file format
1195:Extensible Metadata Platform (XMP)
583:'s standard distribution, but its
14:
1230:
1219:
1218:
30:
116:and optionally saves it into a
1283:Software using the MIT license
1:
395:stands for 16 or 256 colors,
356:means 32768=32ร32ร32 colors,
147:request (this is done by the
417:ffmpeg –pix_fmts
265:; 37 years ago
242:; 39 years ago
1299:
18:
1213:
324:format, among others the
1273:Free screenshot software
344:supported pixel formats
39:This article includes a
352:In these abbreviations
68:more precise citations.
141:X Window core protocol
1258:Graphics file formats
884:PBM / PGM / PPM / PNM
641:Graphics file formats
556:General Documentation
470:Tyler, Chris (2008).
415:, etc. as listed by
364:(6 bits for green),
1200:GIF ยง Metadata
340:. In version 2.1.4
263:September 1987
209:
1278:1985 introductions
283:Image file formats
214:Filename extension
194:image file formats
41:list of references
1268:X Window programs
1245:
1244:
313:
312:
227:Developed by
94:
93:
86:
1290:
1234:
1222:
1221:
634:
627:
620:
611:
567:
566:
564:
563:
545:
539:
538:
536:
535:
516:
506:
497:
496:
491:
490:
467:
429:
425:
418:
323:
304:
273:
271:
266:
250:
248:
243:
221:
210:
151:function in the
150:
146:
125:
89:
82:
78:
75:
69:
64:this article by
55:inline citations
34:
33:
26:
1298:
1297:
1293:
1292:
1291:
1289:
1288:
1287:
1263:X Window System
1248:
1247:
1246:
1241:
1209:
1171:
1113:
1030:
1007:
643:
638:
579:xwd is part of
576:
571:
570:
561:
559:
549:"Image Formats"
547:
546:
542:
533:
531:
529:
508:
507:
500:
488:
486:
484:
469:
468:
464:
459:
440:
427:
423:
422:Details of the
416:
321:
318:
299:
274:
269:
267:
264:
262:
246:
244:
241:
237:Initial release
231:X Window System
222:
219:
190:
148:
144:
137:
123:
99:X Window System
96:
90:
79:
73:
70:
59:
45:related reading
35:
31:
24:
17:
12:
11:
5:
1296:
1294:
1286:
1285:
1280:
1275:
1270:
1265:
1260:
1250:
1249:
1243:
1242:
1240:
1239:
1227:
1214:
1211:
1210:
1208:
1207:
1202:
1197:
1192:
1187:
1181:
1179:
1173:
1172:
1170:
1169:
1164:
1159:
1154:
1149:
1144:
1139:
1134:
1129:
1123:
1121:
1115:
1114:
1112:
1111:
1106:
1101:
1096:
1091:
1086:
1081:
1076:
1071:
1066:
1061:
1056:
1051:
1046:
1040:
1038:
1032:
1031:
1029:
1028:
1023:
1017:
1015:
1009:
1008:
1006:
1005:
1000:
995:
990:
985:
980:
975:
970:
969:
968:
963:
953:
948:
943:
942:
941:
931:
926:
921:
916:
911:
906:
901:
896:
891:
886:
881:
876:
871:
866:
861:
856:
851:
850:
849:
839:
834:
829:
824:
819:
814:
809:
804:
799:
794:
789:
784:
779:
774:
769:
764:
759:
754:
749:
744:
739:
734:
729:
724:
719:
714:
709:
704:
699:
694:
689:
684:
679:
674:
669:
664:
659:
653:
651:
645:
644:
639:
637:
636:
629:
622:
614:
608:
607:
595:
575:
574:External links
572:
569:
568:
540:
527:
498:
482:
461:
460:
458:
455:
454:
453:
447:
439:
436:
317:
314:
311:
310:
305:
296:
295:
292:
286:
285:
280:
279:Type of format
276:
275:
260:
258:
256:Latest release
252:
251:
238:
234:
233:
228:
224:
223:
218:
216:
188:
136:
133:
92:
91:
49:external links
38:
36:
29:
15:
13:
10:
9:
6:
4:
3:
2:
1295:
1284:
1281:
1279:
1276:
1274:
1271:
1269:
1266:
1264:
1261:
1259:
1256:
1255:
1253:
1238:
1237:
1233:
1228:
1226:
1225:
1216:
1215:
1212:
1206:
1205:Steganography
1203:
1201:
1198:
1196:
1193:
1191:
1188:
1186:
1183:
1182:
1180:
1178:
1174:
1168:
1165:
1163:
1160:
1158:
1155:
1153:
1150:
1148:
1145:
1143:
1140:
1138:
1135:
1133:
1130:
1128:
1125:
1124:
1122:
1120:
1116:
1110:
1107:
1105:
1102:
1100:
1097:
1095:
1092:
1090:
1087:
1085:
1082:
1080:
1077:
1075:
1072:
1070:
1067:
1065:
1062:
1060:
1057:
1055:
1052:
1050:
1047:
1045:
1042:
1041:
1039:
1037:
1033:
1027:
1024:
1022:
1019:
1018:
1016:
1014:
1010:
1004:
1001:
999:
996:
994:
991:
989:
986:
984:
981:
979:
976:
974:
971:
967:
964:
962:
959:
958:
957:
954:
952:
949:
947:
944:
940:
937:
936:
935:
932:
930:
927:
925:
922:
920:
917:
915:
912:
910:
907:
905:
902:
900:
897:
895:
892:
890:
887:
885:
882:
880:
877:
875:
872:
870:
867:
865:
862:
860:
857:
855:
852:
848:
845:
844:
843:
840:
838:
835:
833:
830:
828:
825:
823:
820:
818:
815:
813:
810:
808:
805:
803:
800:
798:
795:
793:
790:
788:
785:
783:
780:
778:
775:
773:
770:
768:
765:
763:
760:
758:
755:
753:
750:
748:
745:
743:
740:
738:
735:
733:
730:
728:
725:
723:
720:
718:
715:
713:
710:
708:
705:
703:
700:
698:
695:
693:
690:
688:
685:
683:
680:
678:
675:
673:
670:
668:
665:
663:
660:
658:
655:
654:
652:
650:
646:
642:
635:
630:
628:
623:
621:
616:
615:
612:
606:
602:
599:
596:
594:
590:
586:
582:
578:
577:
573:
557:
555:
550:
544:
541:
530:
528:1-56592-161-5
524:
520:
515:
514:
505:
503:
499:
495:
485:
483:9780596101954
479:
475:
474:
473:X Power Tools
466:
463:
456:
451:
448:
445:
442:
441:
437:
435:
433:
420:
414:
410:
406:
402:
398:
394:
390:
386:
384:
380:
376:
372:
367:
363:
359:
355:
351:
347:
343:
339:
335:
331:
327:
315:
309:
306:
302:
297:
293:
291:
287:
284:
281:
277:
259:
257:
253:
239:
235:
232:
229:
225:
217:
215:
211:
208:X Window Dump
205:
203:
199:
195:
187:
185:
181:
177:
173:
169:
165:
160:
158:
154:
142:
134:
132:
130:
121:
119:
115:
111:
110:X Window dump
107:
104:
100:
88:
85:
77:
67:
63:
57:
56:
50:
46:
42:
37:
28:
27:
22:
1229:
1217:
1002:
560:. Retrieved
552:
543:
532:. Retrieved
512:
493:
487:. Retrieved
472:
465:
434:image type.
421:
411:is an input
408:
400:
396:
392:
388:
382:
378:
374:
370:
365:
362:65536 colors
357:
353:
349:
345:
319:
316:Image format
191:
167:
163:
161:
138:
122:
109:
105:
95:
80:
71:
60:Please help
52:
939:Logluv TIFF
603:package at
330:ImageMagick
308:MIT license
301:Open format
180:ImageMagick
157:root window
66:introducing
1252:Categories
1236:Comparison
598:Image::XWD
562:2014-02-23
534:2014-02-27
489:2014-01-23
457:References
426:format in
405:endianness
240:X10 / 1985
174:, and the
973:UFO / UFP
909:PSD / PSB
822:JPEG 2000
782:ICO / CUR
428:XWDFile.h
294:xwdfile.h
149:XGetImage
135:Operation
74:June 2008
1224:Category
1177:Metadata
1119:Compound
847:JPEG-HDR
519:O'Reilly
450:X PixMap
444:X BitMap
438:See also
290:Standard
184:pipeline
145:GetImage
21:Saab XWD
966:TIFF/IT
961:TIFF/EP
842:JPEG XT
837:JPEG XS
832:JPEG XR
827:JPEG XL
817:JPEG-LS
589:tar.bz2
413:palette
403:is the
270:1987-09
268: (
245: (
139:At the
103:program
97:In the
62:improve
1074:Gerber
1036:Vector
899:PICtor
649:Raster
593:tar.gz
585:source
558:. 2014
554:FFmpeg
525:
480:
360:means
350:monow.
342:FFmpeg
338:XnView
336:, and
334:Netpbm
129:cursor
114:window
101:, the
1142:MODCA
802:JBIG2
692:BSAVE
452:(XPM)
446:(XBM)
377:reen-
47:, or
1167:XAML
1152:PICT
1132:DjVu
1089:PGML
1084:IGES
1079:HVIF
1069:EMF+
1021:CIFF
983:WebP
978:WBMP
956:TIFF
934:RGBE
924:QTVR
869:NRRD
864:MIFF
812:JPEG
797:JBIG
792:ILBM
777:ICNS
772:ICER
767:HEVC
762:HDRi
747:FLIF
742:FLIC
737:FITS
677:AVIF
667:APNG
662:ANIM
605:CPAN
601:Perl
523:ISBN
478:ISBN
432:MIME
424:.xwd
385:lpha
381:lue-
366:rgba
348:and
326:GIMP
322:.xwd
247:1985
220:.xwd
176:GIMP
168:sxwd
164:xwud
153:Xlib
118:file
1162:SWF
1147:PDF
1137:EPS
1127:CDF
1109:Xar
1104:WMF
1099:VML
1094:SVG
1064:EMF
1059:DXF
1054:CGM
1049:CDR
1026:DNG
1013:Raw
1003:XWD
998:XPM
993:XCF
988:XBM
951:TGA
946:SGI
929:RAS
919:QOI
914:PSP
904:PNG
894:PGF
889:PCX
879:PAM
874:ORA
859:MNG
854:KRA
807:JNG
787:ICS
757:GIF
752:FPX
732:EXR
727:ECW
722:DPX
717:DDS
712:CPT
707:CPC
702:CIN
697:CAL
687:BPG
682:BMP
672:ART
657:ANI
591:or
581:X11
419:.
409:pal
399:or
391:or
373:ed-
368:is
358:565
354:555
261:X11
202:BMP
198:PNG
124:xwd
120:.
106:xwd
1254::
1157:PS
1044:AI
551:.
521:.
517:.
501:^
492:.
407:,
401:be
397:le
387:,
332:,
328:,
204:.
186::
172:xv
170:,
166:,
159:.
51:,
43:,
633:e
626:t
619:v
565:.
537:.
393:8
389:4
383:a
379:b
375:g
371:r
303:?
272:)
249:)
108:(
87:)
81:(
76:)
72:(
58:.
23:.
Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.