


  

  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  



  

    

      

        
../index.html[ImageMagick] 
        

        
http://www.imagemagick.org/[sponsor] 
        

        
../index.html 
        
../index.html 
      

    

  


  

  


    

      

      
#mainSkip to page contents 

      
[
      
../index.htmlAbout ImageMagick       
../www/command-line-tools.htmlCommand-line Tools       
../www/api.htmlProgram Interfaces   
][
      
../www/install-source.htmlInstall from Source       
../www/binary-releases.htmlBinary Releases       
../www/resources.htmlResources   
][
      
../www/download.htmlDownload   
][
      
../www/links.htmlLinks   
][
      
../www/sponsors.htmlSponsors   
http://www.travelsur.net/Trips to Argentina       
]
      


      

[ #usageExample Usage  | #optionsOption Summary ]
Use the import program to capture some or all of an X server screen and save the image to a file. See ../www/command-line-processing.htmlCommand Line Processing  for advice on how to structure your import command or see below for example usages of the command.
  
Example Usage
We list a few examples of the import command here to illustrate its usefulness and ease of use.  To get started, lets import an image in the JPEG format:
  import rose.jpg
To capture the entire X server screen in the Postscript image format:
  import -window root screen.ps
You can find additional examples of using import in http://www-106.ibm.com/developerworks/library/l-graf/?ca=dnt-428Graphics from the Command Line .  Further discussion is available in  http://www-106.ibm.com/developerworks/library/l-graf2/?ca=dgr-lnxw15GraphicsLineMore Graphics from the Command Line  and http://www.cit.gu.edu.au/~anthony/graphics/imagick6Examples of ImageMagick Usage .
  
Option Summary
The import command recognizes these options.  Click on an option to get more details about how that option works.
  
  
    
Option    
Description  
  
    
../www/command-line-options.html#adjoin-adjoin     
join images into a single multi-image file   
 
  
    
../www/command-line-options.html#annotate-annotate geometry text     
annotate the image with text  
  
  
    
../www/command-line-options.html#border-border     
include image borders in the output image   
  
    
../www/command-line-options.html#channel-channel type     
apply option to select image channels   
  
    
../www/command-line-options.html#colors-colors value     
preferred number of colors in the image   
  
    
../www/command-line-options.html#colorspace-colorspace type     
alternate image colorspace   
  
    
../www/command-line-options.html#comment-comment string     
annotate image with comment   
  
    
../www/command-line-options.html#compress-compress type     
image compression type   
  
    
../www/command-line-options.html#contrast-contrast     
enhance or reduce the image contrast   
  
    
../www/command-line-options.html#crop-crop geometry     
preferred size and location of the cropped image   
  
    
../www/command-line-options.html#debug-debug events     
import copious debugging information   
  
    
../www/command-line-options.html#define-define format:option     
define one or more image format options   
  
    
../www/command-line-options.html#delay-delay value     
import the next image after pausing   
  
    
../www/command-line-options.html#density-density geometry     
horizontal and vertical density of the image   
  
    
../www/command-line-options.html#depth-depth value     
image depth   
  
    
../www/command-line-options.html#despeckle-descend     
obtain image by descending window hierarchy   
  
    
../www/command-line-options.html#display-display server     
get image or font from this X server   
  
    
../www/command-line-options.html#dispose-dispose method     
GIF disposal method   
  
    
../www/command-line-options.html#dither-dither     
apply Floyd/Steinberg error diffusion to image   
  
    
../www/command-line-options.html#encoding-encoding type     
text encoding type   
  
    
../www/command-line-options.html#endian-endian type     
endianness (MSB or LSB) of the image   
  
    
../www/command-line-options.html#frame-frame     
include window manager frame   
  
    
../www/command-line-options.html#geometry-geometry geometry     
perferred size or location of the image   
  
    
../www/command-line-options.html#gravity-gravity type     
horizontal and vertical text placement   
  
    
../www/command-line-options.html#help-help     
print program options   
  
    
../www/command-line-options.html#identify–identify     
identify the format and characteristics of the image   
  
    
../www/command-line-options.html#interlace-interlace type     
type of image interlacing scheme   
  
    
../www/command-line-options.html#label-label name     
assign a label to an image   
  
    
../www/command-line-options.html#limit-limit type value     
pixel cache resource limit   
  
    
../www/command-line-options.html#log-log format     
format of debugging information   
  
    
../www/command-line-options.html#monitor-monitor     
monitor progress   
  
    
../www/command-line-options.html#monochrome-monochrome     
transform image to black and white   
  
    
../www/command-line-options.html#negate-negate     
replace every pixel with its complementary color   
  
    
../www/command-line-options.html#page-page geometry     
size and location of an image canvas (setting)   
  
    
../www/command-line-options.html#quality-quality value     
JPEG/MIFF/PNG compression level   
  
    
../www/command-line-options.html#quiet-quiet     
suppress all error or warning messages   
  
    
../www/command-line-options.html#repage-repage geometry     
size and location of an image canvas   
  
    
../www/command-line-options.html#resize-resize geometry     
resize the image   
  
    
../www/command-line-options.html#rotate-rotate degrees     
apply Paeth rotation to the image   
  
    
../www/command-line-options.html#sampling-factor-sampling-factor geometry     
horizontal and vertical sampling factor   
  
    
../www/command-line-options.html#scene-scene value     
image scene number   
  
    
../www/command-line-options.html#screen-screen     
select image from root window   
  
    
../www/command-line-options.html#set-set attribute value     
set an image attribute   
  
    
../www/command-line-options.html#sharpen-silent     
operate silently, i.e. don't ring any bells   
  
    
../www/command-line-options.html#strip-strip     
strip image of all profiles and comments   
  
    
../www/command-line-options.html#support-support factor     
resize support: > 1.0 is blurry,   
  
    
../www/command-line-options.html#trim-trim     
trim image edges   
  
    
../www/command-line-options.html#update-type type     
image type   
  
    
../www/command-line-options.html#verbose-verbose     
print detailed information about the image   
  
    
../www/command-line-options.html#version-version     
print version information   
  
    
../www/command-line-options.html#virtual-pixel-virtual-pixel method     
access method for pixels outside the boundaries of the image   
  
    
../www/command-line-options.html#write-window id     
select window with this id or name   
  
      

      
 
    

  

  

  

    
http://redux.imagemagick.org/discussion-serverDiscourse Server  |
    
../www/mailing-list.htmlMailing Lists  |
    
http://redux.imagemagick.org/galleryImage Gallery  |
    
http://net11.imagemagick.org/MagickStudio/scripts/MagickStudio.cgiImageMagick Studio 
  

  

    
© 1999-2005 ImageMagick Studio LLC
  

  



