# The &kmag; Handbook

## Introduction

&kmag; is a screen magnifier for the K Desktop Environment (&kde;). It can be used to magnify a part of the screen. This application can be useful to various people: People with low vision can use this application to magnify a part of the screen which they are unable to view clearly, artists can use this application to zoom into the graphics they produce and verify it at the pixel level, image-processing researchers can use this application to zoom into images and study them closely. Other than these, &kmag; can be used for various other purposes ⪚ is possible to use the application for grabbing a portion of the screen and saving it to the disk (with an option of zooming the screen captured).

&kmag; is a very powerful application with new features being added all the time. It is optimized for use on low processing power machines.

## Using &kmag;

Here's a screen shot of &kmag; Screen shot of &kmag;

After running &kmag; you will get a window similar to the one show above. The main window of &kmag; shows the magnified (or zoomed) contents. We refer to this window as the zoom window. The zoomed image shown inside the zoom window is captured from a part of the screen. The part of the screen which is magnified is referred to as the selection window.

By default, &kmag; magnifies the region around the mouse cursor (think of it as a moving lens). Alternatively, you can ask &kmag; to magnify an chosen area of the screen (Selection Window Mode) or the whole screen (Whole Screen Mode).

If you would prefer not to see the mouse cursor in the zoomed image, select Hide Mouse Cursor. Please note that &kmag; cannot yet find out the current cursor shape. Thus, it shows the default &kde;/&Qt; cursor.

### Changing the part of the screen to be magnified

When in Selection Window Mode, the selection window can be moved and resized. You can also change the position and size of the selection window using the arrow keys on the keyboard, or by clicking into the zoom window:

Arrow keys or Left mouse button

- By keeping the left mouse button pressed and moving the mouse, you can grab and drag the contents of the zoom window. You can also use the arrow keys.

&Shift;Arrow Keys or &Shift;Left or Middle mouse button.

- By additionally pressing shift or using the middle mouse button, you can move the selection window.

&Ctrl;Arrow Keys or &Ctrl;Left mouse button

- By using this combination, you can resize the selection window. Keep in mind that the top-left corner of the selection window is kept constant and the bottom-right corner is movable.

### More &kmag; features

&kmag; comes with lots of features. Its possible to print the zoomed image directly to a printer, save the image to a file, copy the zoomed image to the clipboard (which can be later used to paste in other applications), rotate the magnification image and more.

## Command Reference

&kmag; automatically uses all your default shortcuts for saving file, opening new window, printing, starting/stopping refresh (reload button in &konqueror;), zoom-in, zoom-out &etc;

## Default Keyboard Shortcuts

&Ctrl;S | This will save the contents of the zoom window to a file.
F1 | Switch to "Follow Mouse Mode".
F2 | Switch to "Selection Window Mode".
F3 | Switch to "Whole Screen Mode".
F4 | Show or hide the mouse cursor in the magnified image.
F5 | This will start the refresh of the zoom window if it is stopped, or stops the refresh of the zoom window if the refresh is currently on.
&Ctrl;P | This will open the print dialog for printing the contents of the zoom window.
&Ctrl;C | This will copy the zoom window contents to the clipboard.
&Ctrl;- | Zoom out
&Ctrl;&Shift;+ | Zoom in

## Credits and License

&kmag;

Program copyright 2001-2003 Sarang Lakare sarang@users.sf.net

Contributors:

- Michael Forster forster@fmi.uni-passau.de (original author)

- Olaf Schmidt ojschmidt@kde.org

Documentation copyright 2002 Sarang Lakare sarang@users.sf.net

&underFDL; &underGPL;

## Installation

### How to obtain &kmag;

&install.intro.documentation;

### Compilation and Installation

&install.compile.documentation;
&documentation.index;