Manual

Note: this page is usually updated whenever a new stable version of IrfanPaint is released; thus the newer beta releases have no help file.

This revision of the manual refers to IrfanPaint 0.4.11.64. If you want a more updated and comprehensive guide, have a look at the IrfanView guide made by Surendran Nambiath; it features a whole chapter about IrfanPaint and gives many useful tips.

Also, there is an updated Spanish version of this manual, provided here. Many thanks to the author, Atonau. :)

Overview

IrfanPaint is the painting plugin for IrfanView, wrote by Matteo Italia in collaboration with Irfan Skiljan. It allows you to do many basic photo-editing tasks without opening an external editor.

Make sure you have the latest IrfanPaint version: you can download it from the download section.

Tips & tricks

The tools

Quick reference

IrfanPaint toolbar image Arrow: Limits tools to work within selection
Paintbrush: Left/Right = Fg/Background color
Eraser: Left/Right = Background/Undo paint
Clone brush: Copy source to target
Color Replacer: Swap colors
Text Tool: Insert formatted text
Line: Straight line; Shift/Control to constrain
Arrow-line Arrows; Right click for line endings
Ellipse: Shift = Circle; Control = Centre
Rectangle: Shift = Square; Control = Centre
Fill: Left/right = Foreground/background color
Color-picker: Foregound/background color
Rotate: Custom rotate to horizon line
Brush Settings: Line styles and hatch fills
Tool tips: Brief/Extended tool tips
About: Version number, Credits
Width: Scroll to adjust the brush size
Tolerance: Scroll to adjust tolerance
Fill checkbox: For ellipses and rectangles
Background color: Click to change color
Foreground color: Click to change color

Complete help

Name
Image
Description
Arrow
Arrow tool icon

This enables you to return focus to the Irfan View window, to make selections, crop, etc. The IrfanPaint tools, such as paintbrush or flood-fill will have no effect outside of the selected area.

Paintbrush
Paintbrush tool icon

The left mouse button paints with the foreground color, and the right mouse button paints with the background color. Hold down the shift key, and scroll with the mouse scroll-wheel to change the brush width or use the width control on the toolbox.

Eraser
Eraser tool icon

Click and drag with the left mouse button to erase any part of the image, leaving the background color. Click and drag with the right mouse button to undo any previous painting, leaving the original image. Hold down the shift key, and scroll the mouse scroll-wheel to adjust the width of the eraser.

Clone tool
Clone tool icon

Right click to define the source; left click and drag to define the target and start painting a copy of the source. Hold down the shift key, and scroll with the mouse-wheel to adjust the width of the clone brush.

Color replacer
Color replacer tool icon

The color replacer is used to replace a color with another one. Click and drag with the left button to replace the background color with the foreground color. Click and drag with the right button to replace the foreground color with the background color. Hold down the shift key, and scroll the mouse scroll-wheel to adjust the width of the color replacer. Use the tolerance field to adjust the tolerance of the color substitution.

Text tool
Text tool icon

Click to show the dialog screenshot

The Text Tool adds formatted text to the image. The text cursor's cross-hair will be the baseline for the inserted text. The text will be left, right, or center aligned on the insertion point.

When you click the text cursor on an image, the Insert Text dialog opens. Here, you can select text, format individual words or letters with font, size, color, and text attributes, or align the text left, right, or centre.

Unicode text can be pasted from the clipboard, or typed by using a customised Windows keyboard.

The text can be drawn as an empty path, a filled path, as text or antialiased text. For path text, the text color icon changes to the brush settings icon, from which you can set the line and fill attributes of the text.

Text in the dialog can be copied to the clipboard for reuse, and all formatting is preserved.

The Hold to preview button will display the formatted text in the image so that you can check that it is not too big, correctly justified, and has a suitable color contrast, etc., before clicking on OK to insert the text.

Line tool
Line tool icon

Click and drag with the left mouse button to draw a straight line with the foreground color. Click the right mouse button while dragging to cancel. Hold down the Shift key to constrain the line to 45° angles. Hold down the Control key to draw a line centred on the start point. Hold down the shift key, and scroll with the mouse-wheel to adjust the width of the line. Use the Brush Settings to change the style of the line, or line endings.

Arrow-line tool
Arrow-line tool icon

The same as the line tool. Right-click the arrow tool to define the start and end arrow styles.

Ellipse/circle tool
Ellipse/circle tool icon

Click and drag to draw an ellipse. Hold down shift to draw a circle. Hold down control to constrain the centre to the start point. Click the right mouse button to cancel drawing.

Rectangle/square tool
Rectangle/square tool icon

Click and drag to draw a rectangle. Hold down shift to draw a square. Hold down control to constrain the centre to the start point. Click the right mouse button to cancel drawing.

Floodfill tool
Floodfill tool icon

Click with the left mouse button to fill an area with the foreground color. Click with the right mouse button to fill an area with the background color. Use the selector tool first to limit the flood fill to the enclosed area. Use the tolerance field to set the tolerance value of the floodfill (suggested value: 40).

Color-picker tool
Picker tool icon

Click with the left mouse button to select the foreground color. Click with the right mouse button to select the background color. After using the color picker tool once, focus will immediately return to the previously selected tool unless you selected the picker tool holding Shift.

Straighten/Rotate Image Tool
Straighten/rotate image tool icon

Click and drag the tool along a straight line or between two points that you want to be on a horizontal or vertical line after rotation. The current background color will be used to fill the canvas, which is extended to accommodate the rotated image. The background color used by the custom fine rotation in Irfan View is not affected or used by this tool. It uses the background color of IrfanPaint.

Pen and brush settings
Pen and brush settings icon

Click to show the dialog screenshot

Open the brush settings dialog to set line and fill styles, and line endings. Results will depend on the line width, and will affect the paintbrush, line, arrow, ellipse, and rectangle tools.

Here you can set the line style, pen width, line ending style, line joints (corner) style, line color, and line hatching style.

The background tab allows you to set the color and hatching style for the fill. The secondary hatching color can be transparent to get a highlighting effect when painting over text with the background color (right mouse button with the brush tool).

To make it look like there is no pen outline, use the same color and hatching for the line as you use for the fill.

Empty path text and filled path text will also use these brush settings. Unless text is very large you will probably need to use a line width of only 1 or 2 pixels.

The preview indicates (roughly) what the result will be. Click the preview to invert the foreground and background styles and colors.

Help (exhaustive tooltips)
Help icon

Choose between short tool tips and extensive context help for the tool tips shown on mouse over.

About IrfanPaint
About icon

Version number of the IrfanPaint plugin, information about the translation, credits and a link to the IrfanPaint website, from where you can download the latest IrfanPaint version.

Line width
Width field image

Enter a line width value in pixels, scroll with the buttons, or use the up/down cursor keys to adjust the line width. The line width can also be adjusted by holding shift and scrolling with the mouse wheel, while using the tools.

Tolerance
Tolerance field image

Higher values increase the range of colors replaced by the color replacer and flood fill tools. Reducing it to zero replaces only pixels with the specified color; increasing it to 255 replaces every color.

Fill
Fill checkbox image

Used by the arrow-line, ellipse and rectangle tools. Choose from solid (filled) or outline (unfilled) shapes.

Color pane
Color pane image

Click on the rectangle on the foreground to select the foreground color.

Click on the rectangle on the background to select the background color.

Click on the little arrow to exchange the two colors.

Credits

The original text of this help page was written by Bhikkhu Pesala; it was then adapted and put in this graphic layout by Matteo Italia.


8 comments

Your work is a nice addition to irfanview. Okay, my question is how to highlight a section of an image with yellow or pink colour transparency so it does not obscure and the image is still visible through. Thankx

— muhammad Thu, 30 Apr 2009 - permalink

How do you open IrfanPaint from IrfanView? I have not been able to figure it out. I have version 4.25 of IrfanView

— Andrew Sun, 28 Jun 2009 - permalink

First, sorry for approving the comments so late, I completely forgot about them :-P @muhammad: sorry, the transparency support is still under work; you may however try to use a hatched brush to simulate that effect. @Andrew: just open an image (or create a new one) and press F12, or go to Edit->Show paint dialog.

Matteo Italia Fri, 4 Sep 2009 - permalink

Hello, painting with big square or flat endcap looks somewhat erratic. It seems to me that any movement diagonally turn the endcap diagonally too. I am not able to eliminate this behavior. Also in Pen and brush settings, when I change Foreground and Background, radio buttons Endcap and Line joints changes randomly, so I am not sure, what is set. Is it bug or my mistake? (Paint.dll ver. 0.4.13.67, IV ver. 4.23, Win XP) Regards, Olda

— Olda Wed, 9 Sep 2009 - permalink

It's normal. When you paint with the paintbrush or with the eraser, your mouse dragging is sent to IrfanPaint as a series of mouse-movement messages, each of them specifying the new position of the mouse. Now, IrfanPaint transforms these messages in your drawing connecting the coordinates of each message to the ones of the previous one, so actually, even if you draw a curve, it's decomposed in a bunch of lines. Each of these lines know nothing about the others, so they apply the endcap using according to their direction.

Matteo Italia Sat, 19 Sep 2009 - permalink

I looked on the forums for this, but couldn't find anything about it. If I change the font name and/or size it reverts to Arial 12 when I press "Hold to Preview" or "OK". I don't know if it makes any difference, but my .ini file is in my user application data folder and not the Irfanview program files folder.

— Ed Sun, 27 Sep 2009 - permalink

Have you tried to write the text, select it and _then_ change the font?

Matteo Italia Mon, 28 Sep 2009 - permalink

For reason uknown, there is something wrong in combination of your http://www.mitalia.net/irfanpaint/public/releases/dll/IrfanPaint_0.4.13.70_bin.zip and my MSIE 6. The zip contain some unreadable data (but the size is O.K.). No problem using MSIE 6 on the page http://irfanpaint.googlecode.com/files/IrfanPaint_0.4.13.70_bin.zip and no problem using Firefox on the homepage. Just for info, if somebody else have problem to download it.

— Olda Tue, 17 Aug 2010 - permalink


Note: keep in mind that I tend to approve the comments quite rarely, so if you have a question or a proposal and want a fast response you should send me a mail; see the Contact me page.

Please insert the result of the arithmetical operation from the following image
Enter the result of the arithmetical operation from this image