# Instructions for The GIMP v1.2

## Introduction

The GIMP is a free image editing package available on Linux and Windows.

### Creating new images

#### Images in CPC's mode 0

1. Choose 'New' from the 'File' menu. The 'New Image' dialog box will appear.
2. Break the link between the X resolution and the Y resolution by clicking on the chain next to these items.

   NOTE: Now you can change the X and Y resolutions independently. This is needed because the pixels in CPC's mode 0 are not square.

3. Set the X resolution to be half that of the Y resolution. e.g. set the X resolution to 36 pixels/inch and Y resolution to 72 pixels/inch.

   NOTE: The pixels in CPC's mode 0 are rectangular and they are twice as wide as they are tall. By setting the X and Y resolution to these values (so that the ratio of width/height is 2:1), this will simulate the resolution.

4. Now set the Width and Height of the image to the desired width and height in pixels. e.g. 160x200 for the default screen, 192x280 for overscan.

   NOTE: This defines the dimensions of the image in pixels.

5. Choose RGB as the image type.
6. Click on the 'OK' button to create the image. The image window will then be displayed.
7. Right click with the mouse within the image window and select 'Dot for Dot' from the 'View' menu. Ensure this is turned off.

   NOTE: The 'Dot for Dot' option displays each pixel as a square. In CPC's mode 0 the pixels are not square.

   When turned off, the pixels will be displayed according to the X and Y resolution defined above. So now each pixel should be a rectangle as we require. This option allows you to simulate the rectangular pixels of CPC's mode 0.

#### Sprite/Tile images

Often your sprites, background tiles or characters in a font are all made from one or more images of the same size.

To make creating these easier use the grid feature in the GIMP.

While the image is displayed perform the following steps to turn on the grid:

- Choose 'Configure Grid' from the 'Image' menu.
- If your sprites are not square, then in the Spacing section break the link below the Width and Height boxes. This will now allow you to enter different values for width and height.
- In the 'Spacing' section enter the width and height of the tile (in pixels) in the appropiate boxes.
- Click on the 'OK' button once you are done.
- Now Choose 'Show Grid' from the 'View' menu.
- You may find that you can't see the Grid. If that is the case then go back to 'Configure Grid' and choose a foregound colour with which the grid will be drawn. Click on the 'OK' button to confirm the colour.