import(1)
๐ import(1) โ General Commands Manual ๐
okay bestie, sit down, hydrate, and let me tell you about import from the General Commands Manual. this is the one that grabs a window off your X server and turns it into an image file. screenshots but make it โจartโจ. you can capture a single window, the entire screen, or any rectangular portion of the screen you want. and how do you pick which window? you click it, or you tell it with a program option. that's it, that's the whole vibe. ๐ฆ
๐ธ NAME ๐ธ
import โ saves any visible window on an X server and outputs it as an image file. You can capture a single window, the entire screen, or any rectangular portion of the screen. The window to capture is selected by clicking the desired window or a program option.
โจ SYNOPSIS โจ
magick import [options] output-file
๐ซถ OVERVIEW ๐ซถ
so import is literally a member of the ImageMagick(1) suite of tools. bestie, it's a whole family. and this specific one is here to capture some or all of an X server screen and save that image to a file. no cap. ๐ธ
want more tea about the import command? point your browser at:
file:///usr/share/doc/ImageMagick-7/www/import.html
or
https://imagemagick.org/script/import.php
go read, i'll wait ๐
๐ DESCRIPTION ๐
๐ซ Image Settings ๐ซ
-adjoinโ join images into a single multi-image file (one file, many pics, slay)-borderโ include window border in the output image-colorspacetype โ alternate image colorspace-commentstring โ annotate image with comment-compresstype โ type of pixel compression when writing the image-defineformat:option โ define one or more image format options-densitygeometry โ horizontal and vertical density of the image-depthvalue โ image depth-descendโ obtain image by descending window hierarchy-displayserver โ X server to contact-disposemethod โ layer disposal method-dithermethod โ apply error diffusion to image-delaycentiseconds โ display the next image after pausing-encipherfilename โ convert plain pixels to cipher pixels-endiantype โ endianness (MSB or LSB) of the image-encodingtype โ text encoding type-filtertype โ use this filter when resizing an image-format"string" โ output formatted image characteristics-frameโ include window manager frame-gravitydirection โ which direction to gravitate towards-identifyโ identify the format and characteristics of the image-interlacetype โNone,Line,Plane, orPartition-interpolatemethod โ pixel color interpolation method-labelstring โ assign a label to an image-limittype value โArea,Disk,Map, orMemoryresource limit-monitorโ monitor progress-pagegeometry โ size and location of an image canvas-pauseseconds โ seconds delay between snapshots-pointsizevalue โ font point size-qualityvalue โ JPEG/MIFF/PNG compression level-quietโ suppress all warning messages (shhh, no drama)-regard-warningsโ pay attention to warning messages-repagegeometry โ size and location of an image canvas-respect-parenthesesโ settings remain in effect until parenthesis boundary-sampling-factorgeometry โ horizontal and vertical sampling factor-scenevalue โ image scene number-screenโ select image from root window-seedvalue โ seed a new sequence of pseudo-random numbers-setproperty value โ set an image property-silentโ operate silently, i.e. don't ring any bells ๐-snapsvalue โ number of screen snapshots-supportfactor โ resize support: > 1.0 is blurry, < 1.0 is sharp-synchronizeโ synchronize image to storage device-taintโ declare the image as modified-transparent-colorcolor โ transparent color-treedepthvalue โ color tree depth-verboseโ print detailed information about the image-virtual-pixelmethod โConstant,Edge,Mirror, orTile-windowid โ select window with this id or name;rootselects the whole screen
๐ Image Operators ๐
-annotategeometry text โ annotate the image with text-channelmask โ set the image channel mask-colorsvalue โ preferred number of colors in the image-cropgeometry โ preferred size and location of the cropped image-extentgeometry โ set the image size-geometrygeometry โ preferred size or location of the image-helpโ print program options-monochromeโ transform image to black and white-negateโ replace each pixel with its complementary color-quantizecolorspace โ reduce colors in this colorspace-resizegeometry โ resize the image-rotatedegrees โ apply Paeth rotation to the image-stripโ strip image of all profiles and comments-thumbnailgeometry โ create a thumbnail of the image-transparentcolor โ make this color transparent within the image-trimโ trim image edges-typetype โ image type
๐ Miscellaneous Options ๐
-debugevents โ display copious debugging information-helpโ print program options-logformat โ format of debugging information-listtype โ print a list of supported option arguments-versionโ print version information
โ ๏ธ okay important, don't skip this one. By default,'file'is written in the Postscript image format. To specify a particular image format, precede the filename with an image format name and a colon (i.e.ps:image) or specify the image type as the filename suffix (i.e.image.ps). Specify'file'as'-'for standard input or output. ๐
๐ฅ SEE ALSO ๐ฅ
๐ COPYRIGHT ๐
Copyright (C) 1999 ImageMagick Studio LLC. Additional copyrights and licenses apply to this software, see:
file:///usr/share/doc/ImageMagick-7/www/license.html
or
https://imagemagick.org/license/
ImageMagick ยท Date: 2009/01/10 01:00:00 ยท import(1)
and that's the whole page bestie ๐ซถ this was import(1) from the General Commands Manual, brought to you by ImageMagick, dated 2009/01/10 01:00:00. go screenshot something iconic. periodt. ๐
โจ๐
๐ฆ where this page comes from
- alpine 3.24: imagemagick-doc 7.1.2.35-r0 ยท ImageMagick
- arch rolling: imagemagick 7.1.2.35-1 ยท ImageMagick
- epel 10: ImageMagick 1:7.1.2.34-1.el10_3 ยท ImageMagick
- fedora 43: ImageMagick 1:7.1.2.32-1.fc43
- fedora 43: ImageMagick 1:7.1.2.32-1.fc43
- fedora 43: ImageMagick 1:7.1.2.34-1.fc43 ยท ImageMagick
- fedora 43: ImageMagick 1:7.1.2.34-1.fc43 ยท ImageMagick
- fedora 44: ImageMagick 1:7.1.2.13-2.fc44 ยท ImageMagick
- fedora 44: ImageMagick 1:7.1.2.13-2.fc44 ยท ImageMagick
- fedora 44: ImageMagick 1:7.1.2.32-1.fc44
- fedora 44: ImageMagick 1:7.1.2.32-1.fc44
- fedora 44: ImageMagick 1:7.1.2.34-1.fc44 ยท ImageMagick
- fedora 44: ImageMagick 1:7.1.2.34-1.fc44 ยท ImageMagick
- fedora 44: ImageMagick 1:7.1.2.35-1.fc44 ยท ImageMagick
- fedora 44: ImageMagick 1:7.1.2.35-1.fc44 ยท ImageMagick
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms