import(1)

๐Ÿ“ฆ
version 7.1.2.35 ยท 5 versions
, in alpine 3.24, arch rolling, epel 10, fedora 43, fedora 44

๐Ÿ’– 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
  • -colorspace type โ€” alternate image colorspace
  • -comment string โ€” annotate image with comment
  • -compress type โ€” type of pixel compression when writing the image
  • -define format:option โ€” define one or more image format options
  • -density geometry โ€” horizontal and vertical density of the image
  • -depth value โ€” image depth
  • -descend โ€” obtain image by descending window hierarchy
  • -display server โ€” X server to contact
  • -dispose method โ€” layer disposal method
  • -dither method โ€” apply error diffusion to image
  • -delay centiseconds โ€” display the next image after pausing
  • -encipher filename โ€” convert plain pixels to cipher pixels
  • -endian type โ€” endianness (MSB or LSB) of the image
  • -encoding type โ€” text encoding type
  • -filter type โ€” use this filter when resizing an image
  • -format "string" โ€” output formatted image characteristics
  • -frame โ€” include window manager frame
  • -gravity direction โ€” which direction to gravitate towards
  • -identify โ€” identify the format and characteristics of the image
  • -interlace type โ€” None, Line, Plane, or Partition
  • -interpolate method โ€” pixel color interpolation method
  • -label string โ€” assign a label to an image
  • -limit type value โ€” Area, Disk, Map, or Memory resource limit
  • -monitor โ€” monitor progress
  • -page geometry โ€” size and location of an image canvas
  • -pause seconds โ€” seconds delay between snapshots
  • -pointsize value โ€” font point size
  • -quality value โ€” JPEG/MIFF/PNG compression level
  • -quiet โ€” suppress all warning messages (shhh, no drama)
  • -regard-warnings โ€” pay attention to warning messages
  • -repage geometry โ€” size and location of an image canvas
  • -respect-parentheses โ€” settings remain in effect until parenthesis boundary
  • -sampling-factor geometry โ€” horizontal and vertical sampling factor
  • -scene value โ€” image scene number
  • -screen โ€” select image from root window
  • -seed value โ€” seed a new sequence of pseudo-random numbers
  • -set property value โ€” set an image property
  • -silent โ€” operate silently, i.e. don't ring any bells ๐Ÿ”•
  • -snaps value โ€” number of screen snapshots
  • -support factor โ€” resize support: > 1.0 is blurry, < 1.0 is sharp
  • -synchronize โ€” synchronize image to storage device
  • -taint โ€” declare the image as modified
  • -transparent-color color โ€” transparent color
  • -treedepth value โ€” color tree depth
  • -verbose โ€” print detailed information about the image
  • -virtual-pixel method โ€” Constant, Edge, Mirror, or Tile
  • -window id โ€” select window with this id or name; root selects the whole screen

๐ŸŽ€ Image Operators ๐ŸŽ€

  • -annotate geometry text โ€” annotate the image with text
  • -channel mask โ€” set the image channel mask
  • -colors value โ€” preferred number of colors in the image
  • -crop geometry โ€” preferred size and location of the cropped image
  • -extent geometry โ€” set the image size
  • -geometry geometry โ€” 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
  • -quantize colorspace โ€” reduce colors in this colorspace
  • -resize geometry โ€” resize the image
  • -rotate degrees โ€” apply Paeth rotation to the image
  • -strip โ€” strip image of all profiles and comments
  • -thumbnail geometry โ€” create a thumbnail of the image
  • -transparent color โ€” make this color transparent within the image
  • -trim โ€” trim image edges
  • -type type โ€” image type

๐ŸŒˆ Miscellaneous Options ๐ŸŒˆ

  • -debug events โ€” display copious debugging information
  • -help โ€” print program options
  • -log format โ€” format of debugging information
  • -list type โ€” 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 (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. ๐Ÿ’…โœจ๐ŸŽ€