Quickstart
Quickstart
Then there are advanced details and techniques, in italic. You can safely ignore them until you are confident in
using the basics.
This document tries to avoid repeating lengthy explanations that belong to the user manual, so if you wonder
where is a tool or what it does, please refer to the manual itself or Grafx2's contextual help.
2 Fundamentals
By default when you run Grafx2, it starts a new image as large as the program’s window, with a default 256-
color palette.
To change the canvas dimensions, click the Resolution icon, then click the image Width or Height to change it
and click OK.
When an image is bigger than the editing window, you can use the cursor keys to scroll the view.
To load or save an image, use the Load/Save icon
To exit the program, press the ‘Quit’ icon, on the right edge of the tool bar. Grafx2 will propose to save your
changes, if you have not saved yet.
If you have a third mouse button, it’s not used for drawing. You can assign a shortcut to the button and to wheel
movements to perform punctual actions, for example to activate the color picker or the magnifier.
2.3 Brushes
The program allows you to draw using single pixels, of course.
You can also use one of the built-in monochrome shapes, like circles, squares, horizontal lines etc. They are
called monochrome because they automatically use your foreground and background colors when drawing.
To select a monochrome brush, open the Paintbrush window and click the button with the shape you want to use.
Note that the single pixel is proposed, top left.
The last type is the Color Brush, often called simply “brush”. It’s a group of colored pixels that you get by
grabbing with the rectangular grab tool, or the freehand grab. You can use a color brush to draw a texture, or
displace part of a picture for example.
Note that the current Background color acts as transparent for your brush: pixels of this color will not be drawn.
Drawing with the right mouse button will paste the background color only, in the shape of your brush.
In the toolbar, the paintbrush icon shows which brush you’re currently using. A special symbol indicates when
you’re using a color brush.
The monochrome brushes are resizable, you can use shortcuts xxx and xxx to increase and decrease your current
brush’s size. This allows you to pick sizes that are not available in the Paintbrush screen.
A very useful shortcut sets the paintbrush to single-pixel: DEL. (actually it’s a circle of size 1)
Many actions can be performed on the color brush, see the Brush FX menu.
You can use your color brush in monochrome mode by right-clicking the Paintbrush icon. It does not alter the
brush contents, only the way it’s displayed and drawn.
Right-clicking the ‘pick brush’ icon recovers the last color brush you had. This is useful after using a built-in
monochrome brush, or after turning your brush monochrome.
A more in-depth description of drawing tools is in Drawing tools (detailed), but feel free to experiment. Some
tools work by single click, or while dragging the mouse and releasing; but a few ones use a more complicated
series of clicks. If the usage or effect of a tool is not clear, use the contextual help on its button to get immediate
information.
This guide will describe some of the effects, when they are most relevant
3 Helpers
3.3 Use the spare page to store parts you will need later
The spare page is very handy to store pieces of your main image. For example you can pick a part of your image
with the rectangular brush tool, paste it somewhere in the spare over a solid color background, clean out the
background (still on the spare) until it has just the contour you need, then grab it again, and switch back to the
original Main page: you will have a clean brush with no leftover pixels, that you can paste anywhere.
The maximum number of steps that can be recorded is in the settings, you can go up to 99.
The system uses a circular buffer, so it behaves a bit different from usual: When you Undo until you reach the
oldest step and then Undo once more, you’re back on the more recent step.
4 Customization
4.2 Settings
Some general program settings are available in the Settings screen
A few other, less-used ones can be defined in the file gfx2.ini, that you can check and modify with a text editor.
This file is located in %appdata%\Grafx2 (Windows) or ~/.grafx2 (Linux), and self-documented with comments.
This file, as well as gfx2.cfg which contains for example the keyboard shortcuts, are defined for each user of
your computer and automatically re-created with default values when they are missing.
(Windows) You can carry Grafx2 on a flash drive and use it on any computer by simply copying the program’s
directory on your flash drive, and adding the two files gfx2.cfg and gfx2.ini with the executable. In this case,
Grafx2 will not read or write configuration files on the computer’s hard disk when running, leaving no trace.
4.4 Skinability
Several sets of icons are available, and you can make your own (or only modify the icon or mouse cursor that
you find annoying). The skins and the fonts are stored in the program’s directory under “skins”. They are plain
image files, so you can edit them…in Grafx2 for example. (You can reload the skin without leaving Grafx2)
There are many graphical constraints, such as using only 4 colors for GUI elements; but don’t worry, Grafx2 will
check everything before loading, and if there’s something it doesn’t like, it will cancel the loading and display a
very verbose message, telling you exactly what pixel is the problem.
6 Palette manipulation
8 Bitmap effects
A very common technique with Grafx2 is to grab a brush, alter it, and paste it somewhere else.
8.1 Text
8.3 Mirror
8.4 Resize
8.5 Rotate
8.6 Distort
In addition, Grafx2 can propose some non-square modes where it zooms differently on each axis: Wide modes
and Tall modes.
10 Low colors
11 Layers
Layers are a late addition to Grafx2, so don’t be surprised if the functions seem a bit separate from the rest of the
program.
The concept of layers in Grafx2 is exactly the same as in Gimp, Photoshop etc. Here's a tentative introduction:
An image is made of several images of same dimensions, placed on top of each others (the 'layers'). The
transparent parts in a layer allow you to see the layer directly below, and the complete image is what
you see when looking down from the top.
As you can edit each layer separately, designing your image as layers will allow you to modify/displace an
element in the foreground without having to redraw the background, since the background is memorized in its
own unchanged layer.
For more beginner explanations, try searching online tutorials on “using layers”.
11.1System of transparency
Grafx2 handles layer transparency by marking a single color as transparent, for example color 0. All pixels
drawn with this color are considered fully transparent; all other colors are considered fully opaque. No values
in-between are possible, so no alpha channel is used. The result is like a 1-bit alpha channel, but a color is
reserved, so you can only draw in 255 colors when using layers – except in the bottom layer, where this color is
shown anyway in Grafx2.There is no eraser tool, because anything that paints with the transparent color will
actually erase : you can erase with a monochrome brush of any size, with a filled circle, or with a polygon !
11.2User interface
The layer-specific tools are located in an optional toolbar that can be shown or hidden.
To open the layer toolbar, left-click the button on the status bar.
In the layer toolbar, you can see:
- how many layers you have : the numbered buttons
- which one is the active layer where you draw : white button
- which layers are temporarily hidden : black buttons.
11.3File formats
Only GIF supports layers at this moment. If you use any other format to save your layered image, the layer data
will be lost and only the flattened image will be saved. (Grafx2 reminds you when you do).
If you use PNG or GIF transparency, then the transparent color of layers will also act as transparent in all
editing programs and web browsers that display your image.