Вы находитесь на странице: 1из 355

-

-
2010

681.3.06
32.973.26-018.2
60

. .
60

GIMP 2 Photoshop Windows/Linux/Mac OS:


2- ., . . .: -, 2010. 368 .: .
+ ( DVD) ( )
ISBN 978-5-9775-0526-0
GIMP.
GIMP 2.6.7 2.7.0. GIMP Windows, Linux Mac OS. GIMP, . , , , , .
: , , , "
". : , , , . ,
. ()
(Script-Fu, Perl, Python), , GIMP. DVD
GIMP Windows Mac OS, , 700 400 , .

681.3.06
32.973.26-018.2
:

.
.

02429 24.07.00. 30.11.09.


70 1001/16. . . . . 29,67
2000 .
"-", 190005, -, ., 29.
-
77.99.60.953..005770.05.09 26.05.2009 .
.

" ""
199034, -, 9 , 12

ISBN 978-5-9775-0526-0

. ., 2009
, "-", 2009

.................................................................................................................. 1
GIMP ( !) ........................................................ 2
2.6 ............................................................................. 2
GEGL ............................................................................................... 2
.......................................................................................... 3
2.8? ...................................................................................... 6
I. GIMP .......................................................................... 9
1. GIMP ............................................................................ 11
1.1. GNU Image Manipulation Program................................................................. 11
1.2. GIMP ....................................................................................... 12
1.3. .................................................... 12
1.4. GIMP Photoshop .......................................................................................... 13
2. Windows, Linux Mac OS .................... 15
2.1. GIMP Windows ......................................................................... 15
2.2. GIMP Linux ............................................................................... 25
2.2.1. Linux ............................................................. 25
2.2.2. GIMP .............................................................................. 28
2.3. GIMP Mac OS............................................................................ 30
2.4. Windows- .................................................................... 30
2.5. GIMP ............................................................................ 31
2.6. ..................................................................................................... 32
3. ..................................................................................... 33
3.1. ................................................................................. 33
3.1.1. ......................................................................... 33
3.1.2. ...................................................................................................... 34

IV

3.1.3. . ....................................................... 34
3.1.4. ........................................................................... 35
3.1.5. ..................................................................................... 35
3.2. GIMP .................................................................................... 36
3.2.1. GIMP .............................................................. 38
3.2.2. .............................................................................. 41
3.3. .......................................................................................... 44
3.4. ...................................................................................... 46
3.5. ............................................................................ 47
3.6. ...................................................................................... 50
3.7. ..................................................................................................... 52
4. GIMP ................................................................................. 53
4.1. GIMP ..................................................................................... 53
4.2. ...................................................................................................... 53
4.3. ....................................................................................................... 55
4.4. ................................................................................................................. 57
4.5. ............................................................................................ 57
4.6. ............................................................................. 58
4.7. .................................................................................... 60
4.8. ......................................................................... 60
4.9. ............................................................................................ 61
4.10. ....................................................................................... 62
4.11. ......................................................................................................... 66
4.12. ...................................................................................... 66
4.13. ......................................................................................... 68
4.14. ............................................................................................ 68
4.15. ........................................................................................................ 70
4.16. splash- ................................................................................. 72
4.17. ................................................................................................... 72
II. ................................................................ 73
5. . ............................................ 75
5.1. ......................................................................................... 75
5.1.1. RGB .............................................................................................. 76
5.1.2. ...................................................................................... 76
5.1.3. - ............................................................................................. 76
5.1.4. ............................................................. 77

5.2. ............................................................................................ 78
5.2.1. BMP (Windows Bitmap) ............................................................ 78
5.2.2. JPEG ........................................................................................... 80
5.2.3. GIF .............................................................................................. 83
5.2.4. PNG ............................................................................................. 84
5.2.5. TIFF ............................................................................................ 85
5.2.6. X BitMap X PixMap ............................................................. 86
5.2.7. ........................................... 86
5.2.8. GIMP ..................................................................... 87
5.2.9. .................................................... 87
5.3. ..................................................................................................... 89
6. GIMP ........................................................................... 90
6.1. GIMP .............................................................. 90
6.2. ............................................................................... 94
6.2.1. ................................................................................. 95
6.2.2. ................................................. 96
6.2.3. ................................................. 99
6.2.4. ...................................................... 100
6.2.5. ........................................ 102
6.2.6. ......................................................... 104
6.2.7. .......................................................................... 105
6.2.8. ............................................ 107
6.2.9. ................................................................................. 109
6.3. ............................................................................. 109
6.4. ...................................................................................... 111
6.4.1. .............................................................. 112
6.4.2. - ......................................................... 113
6.4.3. ....................................................................... 113
6.4.4. -, , ......................... 115
6.4.5. ................................................................................. 116
6.4.6. ................................................................ 118
6.4.7. ................................................................ 118
6.5. .................................................................... 119
6.5.1. .................................................................... 119
6.5.2. ................................................................... 120
6.5.3. ...................................................................... 122
6.5.4. .................................................................... 122
6.6. ................................................................................... 124
6.7. GEGL ........................................................................................... 124
6.8. ................................................................................................... 125

VI

7. ................................................................... 126
7.1. .................................................... 126
7.2. ........................................................................................ 126
7.3. ...................................................................................................... 129
7.4. ............................................................................................... 131
7.5. / ............................................................ 132
7.6. " ".......................................................... 134
7.7. ................................................................................................... 136
III. GIMP ............................................................... 137
8. ........................................................ 139
8.1. .......................................................................................... 139
8.2. , .
...................................................................... 143
8.3. ........................................................... 145
8.4. ................................................................ 147
8.5. ................................................................. 149
8.5.1. .............................................................................. 149
8.5.2. ................................................................................. 149
8.5.3. / ................................................. 149
8.5.4. ........................................................................... 150
8.6. ................................................................................................... 150
9. .............................................................................. 151
9.1. .............................................................................................. 151
9.1.1. ............................................................ 151
9.1.2. ................................................................................. 155
9.2. ........................................................................................................ 156
9.2.1. ................................................................................ 158
9.2.2. . ..................................................... 161
9.2.3. ........................................................................... 162
9.2.4. .................................................................................... 162
9.2.5. ................................ 164
9.2.6. ..................................................................................... 165
9.3. ................................................................................................... 167
10. ................................................................................................. 168
10.1. ?......................................................................................... 168
10.2. ............................................................................. 171

VII

10.3. ......................................................................... 171


10.4. ............................................................................... 174
10.5. .............................................................................. 175
10.6. ......................................................................................... 175
10.7. ................................................................................................. 179
11. , ................................................. 181
11.1. ..................................................................................................... 181
11.2. ................................................................................................... 185
11.3. ...................................................................................................... 189
11.4. ................................................................................................. 191
IV. ............................................................... 193
12. ................................................................................................... 195
12.1. ? ........................................................ 195
12.2. ............................................................................................ 200
12.2.1. ........................................................................................................ 200
12.2.2. - ......................................................................................... 200
12.2.3. ........................................................................................................ 202
12.2.4. . / ........................................ 203
12.2.5. ...................................................................... 204
12.2.6. ........................................................................... 204
12.2.7. .......................................................................................... 204
12.2.8. ........................................................................................... 205
12.2.9. - .......................................................................... 205
12.3. ............................................................................................... 205
12.4. ............................................................................... 212
12.5. .................................................................................................. 214
12.6. ................................................................................................. 216
13. ......................................................................... 217
13.1. ......................................................................... 217
13.2. ............................................................ 224
13.3. .............................................................................. 226
13.4. ................................................................................................. 226
14. ..................................... 227
14.1. GIMP .................................. 227
14.2. ..................................................................... 227

VIII

14.3. ............................................................................... 232


14.4. ................................................................................................. 234
15. GIMP Web. ........................... 235
15.1. ............................................................ 235
15.2. ................................................................................... 236
15.3. .................................................................................. 239
15.4. ................................................................................................. 241
V. GIMP .............................................. 243
16. . ...................................... 245
16.1. ....................................................................................... 245
16.1.1. RGB ........................................................................................ 245
16.1.2. HSV......................................................................................... 247
16.2. .................................................................................... 248
16.2.1. ............................................................ 249
16.2.2. - ....................................................... 250
16.2.3. ..................................................................... 251
16.2.4. ............................................................................. 253
16.2.5. ............................................................................ 254
16.2.6. ............................................................................... 256
16.3. CMYK ...................................................... 256
16.4. ................................................................................................. 258
17. ........................................................................................... 259
17.1. ........................................................................................ 259
17.2. ................................................................................. 261
17.2.1. ............................................................ 262
17.2.2. ............................................................................ 263
17.2.3. ...................................... 263
17.2.4. ......................................................................... 264
17.2.5. ........................................................ 265
17.2.6. ............................................................... 267
17.3. .................................................................................. 267
17.3.1. ............................................................................ 267
17.3.2. .......................... 268
17.3.3. c .................................................... 269
17.3.4. .............................. 269
17.3.5. " " ........................................ 270

IX

17.4. ................................................................................... 270


17.5. ................................................................................ 274
17.6. ............................................................................................ 275
17.7. .......................................................................... 275
17.8. .......................................................................................... 277
17.9. ............................................................................... 278
17.10. .................................................................................. 279
17.11. ......................................................................................... 279
17.12. ............................................................................ 281
17.13. - ............................................................................................. 281
17.14. ......................................................................... 282
17.15. ...................................................................... 282
17.16. ........................................................................... 282
17.17. ............................................................................................... 284
18. ...................................................................................... 285
18.1. . ........ 285
18.2. ...................................................................................... 287
18.3. ............................................................................. 287
18.4. ............................................................... 288
18.5. ............................................................... 290
18.5.1. Windows ......................................................... 290
18.5.2. Linux ............................................................... 291
18.5.3. Mac OS ........................................................... 292
18.5.4. ............................................................................ 292
18.6. ..................................................... 294
18.6.1. ....................................................... 294
18.6.2. ................................................ 295
18.6.3. Script-Fu ........................................................ 303
18.6.4. Perl ................................................................. 313
18.6.5. Python ............................................................ 315
18.7. ................................................................................................. 317
19. ......................................................................... 318
19.1. ?.................................................................. 318
19.2. ................................................................... 318
19.3. ................................................................................................. 323
20. GIMP ........................................... 324
20.1. .......................................................................... 324
20.2. GIMP ............................................................................... 326

20.3. GIMP .......................................................................................... 327


20.3.1. Windows................................................................................ 327
20.3.2. Linux ..................................................................................... 329
20.4. Linux ........................................ 336
20.4.1. Windows-.............................................................................. 336
20.4.2. Linux ................................................................. 338
20.5. ................................................................................................. 343
.......................................................................................... 345
................................................................................................ 347
1. ..................................................................... 349
2. ........................................... 351
.................................................................................... 353

GIMP ( The GNU Image Manipulation Program) , : Linux, Windows Mac OS.
GIMP
Linux. , Windows-
. Windows ( Windows- ),
Windows-. ,
: GIMP Photoshop?
, . , GIMP Photoshop
, . , GIMP Photoshop,
Photoshop, GIMP. ,
"" , , Photoshop, GIMP. , :
GIMP, .
: GIMP.
1 , , , ,
. 2 , 3
.
GIMP. ( , ,
), GIMP
( ,
) .

GIMP , , . ,
, , , , .
.
. , .
. ,
GIMP. ,

GIMP Script-Fu, Perl Python.

GIMP ( !)
2.2 2.4. 2.6 2.7. ,
GIMP , .
GIMP ,
2.6 . 2.7
"" ,
2.8. 2.6 2.7 , ,
, 2.6, 2.7.
- 2.7, 2.6.7 ( ,
, ).

2.6
GEGL
GIMP 2.6 2.4. , , ( ), GEGL ( : GEneric Graphics Library
: GIMP 'E' Graphical Library). GEGL :
8-/16-/32- , 128-

RGB, CIE LAB, YCbCr CMYK;


, , ,

(
8640043200 );
, -, -

, ;
;
HDR (High

Dynamic Range Imaging);


;
.

GEGL,
GEGL.
,
| | | GEGL.
6. |
GEGL,
.


GIMP. .
. ,
GIMP. , GIMP
(. 1).
(,
),
GIMP. - ,
.
. (. 2).
, , . .
, (. 3).
.

1 .
.
, .
GIMP Cairo (. http://ru.wikipedia.org/wiki/Cairo),
GIMP .
( ). , .
PSD (, Photoshop)
GIMP "" .
, , GIMP.
, GIMP,
.

. 1. GIMP v.2.7 Windows 7


1

. 2.

. 3.

2.8?
2.8 (
2010 ), ,
2.6, 2.7. 2.7 "" , 2.8 , , ,
. . 4 GIMP 2.8
, GIMP,

. 4. GIMP 2.8

,
, , .
, ?
!

I
GIMP
GIMP.
,
. GIMP ,
3,
GIMP.

GIMP
1.1. GNU Image Manipulation Program
GIMP.
, GNU Open Source
.
GIMP www.gimp.org.
,
( Windows Mac OS) DVD
gimp.

Linux. Linux ,
GIMP. GIMP,
Photoshop, ... GIMP
Photoshop, GIMP
Photoshop . , .
(0.x) GIMP 1996 . Linux. , ,
Paint, . , GIMP . Paint-
GIMP .
Linux GIMP,
.
GIMP Windows Mac OS. Windows - ,
GTK, GIMP,
Windows. Windows- GIMP Linux-.

12

I. GIMP

,
Windows- GIMP
( , , Linux Windows- ) Linux-.
, 1996 , :
Linux, Windows Mac OS.

1.2. GIMP
GIMP : GIF (
), JPEG, PNG, TIFF, PNM, TGA, BMP, PDF, PCX, SGI, XPM ( X Window), SunRas, PS, PSD
( Photoshop), , .
, " " .
(
), . .
GIMP .
, . .
, .
, , .
16 . ,
, , , , , , , , . .
, GIMP : , , , . . .
GIMP , .
GIMP GIF.

1.3.
""
"".
.

1. GIMP

13

GIMP . ,
, ,
! (
),
, , GIMP. ,
GIMP , ,
!

1.4. GIMP Photoshop


, GIMP Photoshop .
, GIMP, , GIMP " Photoshop".
. , , .
, GIMP, Photoshop ,
, .
. -
GIMP, - Photoshop. ,
. "", , GIMP, ,
Photoshop, - -
"GIMP
Photoshop". ( )
? , .
. ,
. , 1,22 .
, 100300 . " "
.
, , ACDSee. , ,
GIMP?
, GIMP , . GIMP . Web-: ,

14

I. GIMP

, , ,
. , , .
GIMP Linux. ,
( )
( ) Linux
Windows GIMP. . -,
Linux , Linux-
. -, Windows- GIMP,
Linux-. Windows-
( , ),
, Linux GIMP.
GIMP Photoshop PSD,
PSD- Photoshop. ,
2.6 PSD-. GIMP , Photoshop, . "" , .
GIMP .
- , ,
.
: Script-Fu, Perl, Python C.
.


Windows, Linux Mac OS
2.1. GIMP Windows
, GIMP . GIMP Linux,
. GIMP
Linux ,
Linux. Windows
. -, GIMP,
Windows, -, GTK, .
http://gimp-win.sourceforge.net/
stable.html ( www.gimp.org)
GIMP.
2.7.0. , ,
. 2.6.7,
GIMP , , 2.6.7 ( ).
2.6.7 2.7.0 Windows 2000 SP4, XP SP2,
2003, Vista Windows 7. Windows, ,
Windows XP SP1, NT 4.0, Windows 95, 98 ME,
GIMP 2.0.x, Old versions. GIMP , , ,
, , .

(2.7.0) . , , ,
, GIMP.

16

I. GIMP
GIMP. gimp-help-2-2.4.0setup.exe, GIMP. , GIMP 2.x.

, Windows XP Vista ( - Windows 7), GIMP , , . GIMP


:
Pentium II, Celeron, Athlon ;
128 .

, GIMP ,
GIMP, , , , .
, GIMP ,
GIMP ,
.
GIMP ( gimp-2.7.0-i686-setup.exe) ""
21 ( GIMP 2.6.7
16 ). , .
( , ). , , .
, , ,
, , , , ,
. , , 64 . , , , .

GIMP (, GIMP 2.2)


GIMP GTK.
GIMP 2.2, GTK :
http://www.gtk.org/download-windows.html.
GTK, GIMP. GIMP DLL-, .

, gimp-2.7.0-i686setup.exe.

2. Windows, Linux Mac OS

17

, 2.7.
2.7 2.6 , ,
2.6.7, , .

Windows 7/Vista (. 2.1) (User Account Control, UAC),


. ,
(. 2.2). Next, GPL,
(. 2.3).

GPL (GNU Public License) OpenSource, GIMP. ( ,


), :
;
;
;
GPL- , GPL.

. 2.1. GIMP. Windows 7 ,


18

I. GIMP

. 2.2. GIMP

. 2.3. GPL

2. Windows, Linux Mac OS

. 2.4.

. 2.5.

19

20

I. GIMP

. 2.6. GIMP

Next, Ready to Install (. 2.4).


Install now. C:\Program Files\GIMP-2.7.
40,5 . C:, Customize
(. 2.5).
Customize,
Select Components (. 2.6) . Full installation ( ),
, , GTK
GIMP . GIMP 88,5 .
GTK, :
GTK, GIMP ,
(Translations), . ,
Select Components Next.

2. Windows, Linux Mac OS

21

GTK , ( GIMP),
.

. 2.7.

Select file associations (. 2.7) , () .


! , , ACDSee XnView.
Select file associations ,
GIMP .
, .
GIMP :
Adobe Photoshop image;
Compuserve GIF;
JPEG Image;
Portable Network Graphics;
Windows and OS/2 bitmaps.

22

I. GIMP

. 2.8.

. 2.9.

2. Windows, Linux Mac OS

. 2.10.

. 2.11. GIMP

23

24

I. GIMP

(. 2.8)
.
Next.
,
(. 2.9).
,
(. 2.10). , Install. Finish GIMP. (. 2.11).
GIMP .
.

GIMP 2.6.7 ( 2.6.7, 2.7 ) Windows 7


. ,
. .

. 2.12. GIMP

2. Windows, Linux Mac OS

25

GIMP (. 2.12): GIMP


(GNU Image Manipulation Program), , , , .
, GIMP (, , Translations).
3.


Linux MacOS. GIMP Windows,
.

2.2. GIMP Linux


, Linux
GIMP ,
| .
,
, ( Linux,
).

2.2.1. Linux
Linux GIMP,
, Linux. , Linux (
- Windows), , .
Windows
( setup.exe install.exe). , . . setup.exe,
MS Office, Photoshop.
Linux . :
;
.

RPM-. Red Hat, RPM.

26

I. GIMP
Red Hat rpm (Red hat
Package Manager), .
RPM- , , DEB,
1
Debian .
Red Hat- . , DEB-, (
) . , ,
http://rpmfind.net -
- RPM- ,
. RPM-,
.

. , , , .
:

N+1 ( N );
2 : -

;
,

.
, Linux , , . , .
, , , :
, , /usr/bin,

/usr/share/doc;
, ,

;
- -

( ,
). ,
, . ,
, , 1

RPM- Red Hat (Red Hat, Fedora Core, Mandrake, Mandriva, ALT Linux, ASPLinux .).

2. Windows, Linux Mac OS

27

. , ( ), ;
, -

. , sendmail postfix
MTA- (MTA, Mail Transfer Agent).
MTA-, sendmail,
postfix, . . sendmail postfix .
.

, , , :
program-1.5-14.i586.rpm
program , 1.5 , 14
, i586 , .
i586/686
Intel 386 486. ,
noarch ( , , . . , , ).
, . .
(, DVD-) , RPM-.
?
. , . , , ,
, , Linux, : -
, .
. Linux ,
. .
, ,
( ). ,
, , ,
. Linux , , , Web-.
, Web- "",

28

I. GIMP

. , , , , .
. - .
. , ,
, .
. Fedora system-config-packages,
Mandriva drakrpm ( rpmdrake), Ubuntu synaptic, openSUSE | .

2.2.2. GIMP
( . 2.13 openSUSE 11) gimp. "" ,
. "" , ,
. ,
:
gimp ;
gimp-data-extras , , -

, , GIMP;
gimp-help-2-common ;
gimp-help-2-ru ;
gutenprint-gimp2 Guten

GIMP;
libgimp2.0_0 GIMP;
ufraw-gimp "" (RAW) -

;
xsane-gimp , GIMP.

,
. . 2.14 Linux- GIMP ( 2.6.2
openSUSE 11.1). . 2.12,
, Windows Linux .

2. Windows, Linux Mac OS

. 2.13. openSUSE 11

. 2.14. GIMP openSUSE 11.1

29

30

I. GIMP

2.3. GIMP Mac OS


GIMP Macintosh OS X 10.3
Mac OS GIMP ,
(GTK+ X11)
Mac OS .
: X11?
X11 X Window System
UNIX- , Linux.
X11R6, Xfree86 X. X11 , , (, , , . .), . , X11
UNIX/Linux. Mac OS ,
OS X X11 . GIMP Linux, X11 .

,
X11. . X11 ,
OS X Apple.
GIMP Mac OS Apple UNIX and
Open Source ( Gimp-[].dmg). X11,
, Apple software.
X11 GIMP. GIMP Applications.
GIMP Gimp. GIMP X11, GIMP
OS X.

gimp GIMP 2.6.7 (


Mac OS Leopard) 2.6.6 ( Mac OS Tiger), Mac OS GIMP.

2.4. Windows-
GIMP Linux.
Windows. ,
,

2. Windows, Linux Mac OS

31

( ,
) . GIMP. GIMP (GIMP 1.x GIMP 2.0)
Linux- , . , , Photoshop . , 2.2.0,
Windows- GIMP . ,
GIMP (2.6.7), - Linux. , ,
GIMP. 2.7 .
(
).

""? ,
,
. , .
Photoshop , Photoshop. GIMP

.

2.5. GIMP
, , ,
GIMP (GIMP Portable). : ,

, .

GIMP GIMPPortable_2.6.7_Rev_3.paf.exe. .
, , GIMP, , .

32

I. GIMP

2.6.
GIMP
: Windows, Linux Mac OS.
GIMP:
Windows -

Windows-;
Windows- , Linux-;
Linux , , -

, ;
GIMP Mac OS Mac OS OS X 10.3,

GIMP X11,
.


3.1.
GIMP GIMP, ,
, (. . 2.12, 2.14).
GIMP, , , GIMP , , ?

3.1.1.
GIMP , () , . :
, GIMP .
, GIMP
,
. .
(, ,
). (),
- . GIMP .
, GIMP
, . ,
.
,
. , . GIMP
, ,

34

I. GIMP

. ,
- 13 , -
100200 .
, . ,
.
, . , . ,
" " ( ), ,
?
,
. ( ), , . ,
GIMP,
.

3.1.2.
GIMP ,
. ,
, . , , 0 255, .
, (
). , RGB 0 , 255 .
, ,
- .
, ,
,
.

3.1.3. .

( ,
). . , : , .
, .
, -

3.

35

. , , .

, . . , , "
". , GIMP.
GIMP ,
.
"" , .

3.1.4.
GIMP, GIMP, , , , GIMP. GIMP
,
, GIMP. GIMP. ,
.
, , , ,
C GIMP. GIMP, , . , Script-Fu,
GIMP. Script-Fu
Python, Perl Ruby. ,
,
. (Python, Perl Ruby)
, ,
Script-Fu. : Perl Ruby
GIMP, , .

3.1.5.
GIMP!
, GIMP , . , , .

36

I. GIMP

, , . ,
- . ,
, .

3.2. GIMP
GIMP .
(. 3.1) , GIMP. , . GIMP .

. 3.1. GIMP

(. 3.2).
: ,
( . 3.2
). ,
GIMP, . GIMP . GIMP , .
, , (. 3.3).
, , , , , (. 3.4) .
,
, , ( ).

3.

. 3.2. GIMP

37

. 3.3. , ,

. 3.4. :
, , , , ,

38

I. GIMP

GIMP ( ) , . ,
. ,
. , ,
(!) : , , ,
, , ,
.
, , ,
, , .

.
,
, .
. GIMP
GIMP. , ?

,
<Ctrl>+<L> | | .
|
GIMP, .

3.2.1. GIMP
GIMP (. 3.5).
, ( RGB), (342 248).
, , , , , . .
, ,
, (. 3.6).
.

3.

39

. 3.5. GIMP:

. 3.6. .
,

40

I. GIMP

. 3.7.

, . 3.6:
( 1).

.
,
. . 3.7
: ;

2;
3 : , , , . .;
4 ;
4 . GIMP

,
;
5 , .
, ;
6 .
, .

3.

41

3.2.2.

GIMP.
.
6.

. 3.8. :

, . 3.2 3.8. . 3.2



. . 3.8 /
/ .
:

( ) ( ).

42

I. GIMP


, (. 3.9).
,
( ).
. "" ( ), (,
,
, );
,

, . ( ), ,
. //
;
GIMP 2.2,

.
.
, .

. 3.9.

3.

43

!
, ,
. |
,
(. 3.10).

. 3.10.

GIMP. GIMP , , . , GIMP ,


, ,
(. 3.11).

GIMP 4.

, ,
, .

44

I. GIMP

. 3.11.

3.3.
GIMP ,
.
-, . ,
, GIMP
| .
, . 3.12.
,
. | | .
(. 3.13).
( . 3.13 ) .
(. 3.14).

.

3.

45

. 3.12.

. 3.13.

. 3.14.

. 3.15.

46

I. GIMP

.
. (. 3.15).
, , (
).

3.4.

<Ctrl>+<O> | (. 3.16). ,
. GIMP

.
, ,
<Ctrl>+<S> | .
,
GIMP .

. 3.16.

3.

47

. 3.17.

|
(. 3.17) (
,
).

3.5.
: <Ctrl>+<Z> <Ctrl>+<Y>.
,
(). . ,
( |
| ),
, .
( ) ,
- ,
( | )
.

48

I. GIMP

. 3.18.

3.

49

, , , , 1, 2, 3, 4.
( <Ctrl>+<Z>). 3
4 . (<Ctrl>+<Y>). 3 4
. 3 4 . 7. , ,
3 4 . (<Ctrl>+<Y>), (<Ctrl>+<Z>).

, , .

,
(. 3.18). | . . 3.18 ,
1234. 1, 2 . .
.
, . GIMP
,
. 5 64
. GIMP
, , , 64 .
, 5 , , 64 ,
, . ,
,
. GIMP
, (. 3.19).
,
:

;
( ) -

, ;

50

I. GIMP

. 3.19. ,

, .
(, , ).
GIMP, ,
, . , , .

3.6.
, . 3.1,
, .

3.

51

3.1. GIMP

<Ctrl>+<N>

<Ctrl>+<O>

<Ctrl>+<Alt>+<O>

<Ctrl>+<S>

<Shift>+<Ctrl>+<S

<Shift>+<Ctrl>+<V>

<Ctrl>+<L>

<Shift>+<Ctrl>+<B>

<Shift>+<Ctrl>+<P>

<Ctrl>+<G>

<Shift>+<Ctrl>+<W>

<Ctrl>+<Z>

<Ctrl>+<Y>

<Ctrl>+<X>

<Ctrl>+<C>

<Ctrl>+<V>

<Shift>+<Ctrl>+<C>

<Ctrl>+<A>

<Shift>+<Ctrl>+<A>

<Ctrl>+<I>

(
,
)

<Shift>+<O>

<Ctrl>+<E>

<Ctrl>+<T>

<F11>

<Ctrl>+<D>

<Ctrl>+<M>

<Alt>+<Enter>

52

I. GIMP

3.1 ()

<Shift>+<Ctrl>+<T>

<Shift>+<Ctrl>+<R>

<Shift>+<Ctrl>+<N>

<Shift>+<Ctrl>+<D>

<B>

<O>

( )

<Z>

<T>

<Shift>+<M>

<X>

<Ctrl>+<Q>

GIMP

3.7.
GIMP ,
, , . 4 GIMP " " .

GIMP
4.1. GIMP
GIMP
| . . GIMP
: , . .
(. . 4.1). , .

.
GIMP.

4.2.
, : ,
, . (. 4.1):
-

.
. , ;

, .
64 .
, , 10 ( ), , , 128 ;
-

( , ).

54

I. GIMP

,
. , ,
,
.
1024 . ;
-

, ( GIMP), GIMP , , , ;
-

, GIMP ;
, -

. 128 128 ( ), 256 256 ( )


;

. 4.1.

4. GIMP

55

, , GIMP ;

, ;

, ,
| .

4.3.
(. 4.2) , (. . 3.2.2), .
GIMP -


. ( ?), .
GIMP , -

,
. (
), , . , ,
,

. .
, -

(. 4.3), . ,
.

.
( ) -

,
(
?).

56

I. GIMP

. 4.2.

. 4.3. GIMP

4. GIMP

57

4.4.
(. 4.4) , GIMP, ,
. . : Default ( ) Small ( : 14"15").
GIMP themes . themes GIMP (
D:\Program Files\GIMP-2.7\share\gimp\2.0\themes, Linux
/usr/share/gimp/2.7/themes).
.

. 4.4.

4.5.
(. 4.5) GIMP. ,
.

58

I. GIMP

. 4.5.

4.6.
(. 4.6) :
, -

, . , ,
. | , , | . ;
. -


. :
, .
, ;

4. GIMP

59

. 4.6.


;
,
;
Sinc (Lanczos3) , , ;
, , ,

(, , . .) . !
(

)
;
-

, ;

60

I. GIMP

, .

4.7.
(. 4.7) .
. 3.2.2, .

. 4.7.

4.8.
(. 4.8) () :
( );
( );

4. GIMP

61

( );
( );
, .

. 4.8.

4.9.
. / |
. (. 4.9) ( ,
. .).

62

I. GIMP

. 4.9.

4.10.
1 (. 4.10)
GIMP:
" " " -

" ,
. , X Y ( );
-

, ,
.
;
1

GIMP 2.6/2.7 , , 2.4, , ,


.

4. GIMP

63

. 4.10.

,
(, , )
;

, ( ) ;
-

.
:

(, , , , );

64

I. GIMP

1:1 . , ;
-

<>;
-

. ,
,
. , (- ,
, );
,

.
:

, , ;

. 4.11.

4. GIMP

65

,
, -.
: :
(. 4.11)

: () ;

GIMP ( )
, .

(. 4.12)

. .
, , . 4.1.

. 4.12.

66

I. GIMP

4.1.

%f

%F

%p

%t

(, RGB, ,
)

%s

%z

%l

%L

%n

%P

%w

( )

%W

( , , )

%h

( )

%H

( , , )

%m

%u

(px ,
. .)

%U

%%

4.11.
(. 4.13) .
.

4.12.
(. 4.14)
.
16, .

4. GIMP

67

. 4.13.

. 4.14.

68

I. GIMP

4.13.
GIMP .
, .
GIMP.
GIMP,
(. 4.15).

. 4.15.

4.14.
(. 4.16)
GIMP. GIMP ,
,
( Linux,
)
.

4. GIMP

69

. 4.16.

:
-

( GIMP):
,
;
;

"" ;
, -

, ;

GIMP . , .
, ( );

70

I. GIMP

, ;

4.15.
(. 4.17)
GIMP, ,
: , , , , , ,
. .
GIMP , -

GIMP. tmp
. ,
. , .

. 4.17.

4. GIMP

71

, -

, . ,
. , ?
( ), , ( ) .
, , SATA- IDE-, ,
SATA-, , IDE.

,
(. 4.18).

. 4.18.

, :
(, C:\Program Files\GIMP-2.7\share\gimp\2.0\brushes
) (C:\Users\< -

72

I. GIMP

>\.gimp-2.7\brushes ). Windows, , . Linux ,


, , ( ).

4.16. splash-
GIMP - splash. GIMP , . ,
?
splashes /home/user_name/.gimp-2.7 ( Linux),
C:\Documents and Settings\user_name\.gimp-2.7\ ( Windows XP)
C:\Users\user_name\.gimp-2.7\ ( Vista Windows 7). . GIMP
.

4.17.
GIMP. :
,
;
;
;

, ;
16;

;
,
.

II

,
GIMP. 5
, ,
, .
6 GIMP
, 7
.

.

5.1.
,
: , , ,
. .

. 5.1.

76

II.

GIMP c :
RGB;
;
.

(. 5.1).
( | )
.

5.1.1. RGB
RGB , (Red), (Green) (Blue) .

(, ),
RGB .
( ) : 0 255. , "" .
RGB 0, 0, 0 ( )
, 255, 255, 255 . . , (255, 0, 0) ,
(0, 255, 0) , (0, 0, 255) .

5.1.2.
.
0 () 255
().
.
RGB : RGB , . ,
,
, , RGB.

5.1.3. -
, RGB , . . ,

5. .

77

. , RGB, , . .
- ,
. (0)
. , .
, -,
: 0 255, 256, . ,
8 . GIMP
, 16 24 ,
. , .

5.1.4.
,
, 256 , 256. , , .
. ,
" ". -
.
24 .
, , GIMP.
, , RGB.
GIF PNG. GIMP , GIMP
,
. ,
: RGB, ,
.
GIMP | (. 5.2). , (, RGB ) ,

78

II.

. , RGB
RGB -.

. 5.2.

5.2.
. .

5.2.1. BMP (Windows Bitmap)


BMP ( bitmap, ) , - .
- DDB (Device Dependent Bitmap),
- DIB (Device Independent Bitmap).

5. .

79

, Windows, Linux
OS/2. BMP bmp,
dib rle. , bmp DDB-,
dib DIB-, rle
BMP, . RLE .
BMP 1 48 ,

6 . , 640 480 48 (6 ):
640

480

6 = 1 843 200 = 1,49 (1 = 1024 )

, BMP 1,49 ( ,
). , , ,
,
.
. 5.1
.
5.1.

( )

16

256,
1 8

16

Hi Color, 65 536

24

True Color. .
24 3 , 3 , 24-
32- .
(24 ) 16777216

32

, True Color,
(32 = 4 ) -

48

80

II.

BMP 65 53565 535 .


, , BMP. BMP , .
BMP ( Flash-), , , WinRAR (
BMP-, WinZip).

5.2.2. JPEG
JPEG (Joint Photographic Experts Group)
, , , .
JPEG : jpeg, jfif, jpg
jpe, jpg.
JPEG , . , JPEG ,
BMP, , , .
. <PrintScreen>,
MS Paint (, Paint, GIMP) <Ctrl>+<V> . BMP. MS Paint ( )
JPEG (. 5.3). BMP JPEG. .
JPEG , , 24 ( 8 ),
. ,
JPEG JPEG-
24 , ,
.
JPEG-,
( , ). 90%.
90 100% ,
.
90%. , 100%,
, ,
JPEG . , .

5. .

81

. 5.3. JPEG


, , JPEG.
JPEG
YCbCr (Y , Cb , Cr ). Cb Cr, JPEG . 4 .

Cb Cr 4 , , ,
, .

Cb Cr
8 8

82

II.

, .
. , , -
JPEG. , .


JPEG . , ,
. .
:

.
JPEG .
, JPEG , . JPEG. ( , )
JPEG. .
? , BMP JPEG (. 5.4).
BMP 3,7 , JPEG 238
( , ).

. 5.4. BMP
JPEG

, JPEG ,
, .

5. .

83

5.2.3. GIF
GIF (Graphics Interchange Format) .

256 . . GIF
,
, , ,
-.
GIF 1987 CompuServe
. 1989
.
, . GIF gif.

LZW-
GIF ,
, .
GIF LZW-,
, GIF-
. 8- .
GIF 24 ,
- 256 (8 ).
LZW (Lempel-Ziv-Welch) , GIF,
1987 . (). , ( )
. , , ,
. 1,
1.
( , ),
.


GIF
. :
. -

84

II.

(, , , ), ,
, , . -.
, .


GIF , , . . - () GIF- ,
.
GIF-, , , ,
, Web-.
GIF (8 ), , 256. GIF
, .
GIF,
Web- , , . . , 256 . TrueColor (24 ) . JPEG GIF .

5.2.4. PNG
PNG (Portable Network Graphics) . PNG
GIF GIF 2006
, 1995 . (Portable Bitmap Format), PNG 23 1995 . 1996 W3C PNG
. PNG
, GIF.
png.


PNG:
JPEG,

5. .

85

( 256 ,

GIF);
- ( -

);
-;
.

, PNG .
GIF, -, , JPEG, .
BMP.
(<PrintScreen>) BMP.
3,7 . PNG 130 (!!!). .
PNG , JPEG, GIF. BMP
130 3,7 .
BMP- PNG,
.
PNG . ,
:
(216),

GIF ;
PNG .

5.2.5. TIFF
TIFF (Tagged Image File Format)
. Microsoft
Aldus PostScript. TIFF
.
, , , . TIFF NeXTstep
Mac OS. TIFF tiff tif.
: RGB,
CMYK, YCbCr, CIE Lab. TIFF (-

86

II.

) , - . 8, 16, 32 64 .


TIFF .
. TIFF :
LZW , GIF;
JPEG , JPEG;
ZIP ZIP, ;
CCITT Fax 3 & 4 , ;
JBIG (Joint Bi-level Image Experts Group) -

, , ZIP;
H.264 , Mac OS (Apple).

5.2.6. X BitMap X PixMap


UNIX/Linux
X Window System. ( ,
- )
X BitMap (XBM). , X BitMap , .
( ), XBM , .
X Pixmap (XPM), XBM,
X Window System. 1989 . XBM , ,
.

5.2.7.
:
PPM ;
PGM ;
PBM - .

5. .

87

PNM.
(Jeff Poskanzer).
"" pixmap, graymap bitmap.
GIMP ,
.

5.2.8. GIMP
GIMP ,
XCF.
, .
GIMP
, . .
" ".
XCF , , PNG.

5.2.9.


| ( | 2.6.7)
. (
) (. 5.5).
, , . . 5.6
PNG. 1 .
1

, , .

88

II.

. 5.5.

. 5.6. PNG

5. .

89

5.3.
.
,
. ,
: BMP, PNG, TIFF.
: PNG, TIFF ( ).
,
Web- : GIF, JPEG, PNG.
GIF, -. , PNG.
JPEG,
( 32 ) TIFF. JPEG . 90% ,
90 100% (
).

GIMP
6.1. GIMP
GIMP , . :
,

;
(-

, );
;
;
,

.
,
.
, GIMP, .
. ,
. GIMP
, , . , , ,
. , .

6. GIMP

91

(. 6.1)
| | .
. ,
/
, .
, . "" .
.
,
, . .
( : ,
1 ), ( ).

. 6.1.
1

GIMP.

92

II.


( . 6.2 ). ,
. , GEGL .

. 6.2.

6. GIMP

93

, GIMP, ,
. ( ):

. (. 6.3), . ,

;

. 6.3.

(. 6.4).
,
;

. 6.4.

.
, ;

94

II.


. <Shift>, .


GIMP.

6.2.
GIMP.
, ,
. , .
,
,
. , , . , .
GIMP :

( ) -

, ;

( ) ;

, -

6. GIMP

95

6.2.1.

, -
(. 6.1). -
.
,
,
(. 6.5).
.
(. . 6.5):
;
;
;

, .

. 6.5.

96

II.

6.1. -

<Ctrl>

<Ctrl> ,
(. ).
<Ctrl> ,
.

<Alt>

<Alt>
(, ), .
, <Alt> . , <Alt> ,

<Shift>

<Shift>
( ) .
<Shift>
. ,
, . .

<Ctrl>+<Shift>


.
, ,
. , ,
,

<>

, ,

6.2.2.
,
. . , , .
:
(. 6.6);
<R>;
| |

6. GIMP

97

. 6.6.

, :

, .

,
.
" ".
( )

, -

. 6.7.

98

II.

, . . ,
(. 6.7). ,
. ,

. "" -

, .

, -, , ,
,
. GIMP, .

(. 6.8):
;
,

. 6.8.

6. GIMP

99

,
;

;
. ( ) -

:

. 1:1 ( );
;
;
, ;
, (-

X Y) ;
, -

;
( -

, . .);
-

;
.

6.2.3.
(. 6.9) .
(. 6.9), | | <E>.
,
<Shift> . <Shift>
, .
( ,
),
.

100

II.

. 6.9.

6.2.4.
, (. 6.10),
. , (. 6.11).

6. GIMP

. 6.10.

. 6.11.

101

102

II.

,
, <F>
| | .
GIMP 2.6/2.7, ,
, , . <Ctrl>, ,
15 .
.

6.2.5.
, (. 6.12), ( ) .
,
, ,
(. 6.13).
<U>.
,
.

(. . 6.12):
:

(. );
-

;
,

, .
. , ;
-

, ;
, .

: , , ,
, . ,

.

6. GIMP

. 6.12.

. 6.13.

103

104

II.

6.2.6.
(. 6.14)
.
, , , . . 6.15 , ,
.

<Shift>++<O>. ,
, .

. 6.14.

6. GIMP

105

. 6.15.

6.2.7.
(. 6.16)

. ,
. ( ,
),
, .
<I>. :
1. . . 6.17
.

106

II.

. 6.16.

. 6.17.

6. GIMP

107

2. . ,
.
, , .
3. ,
.
:
( ),

,
;
, -

.

.
, ,
. .

6.2.8.
(. 6.18)
() . , , .
, . ,
, . ,
.
(. 6.19).
, . ,
. .
, . .
<Enter>, (. 6.20).

.
, .

108

II.

. 6.18.

. 6.19.

6. GIMP

109

. 6.20.

6.2.9.
- , ,
| .

6.3.
GIMP :

110

II.

, -

;
-

, , -

"" , -

/ ;

.
.
(. . 6.1),
-,
. 6.2.

6. GIMP

111

6.2. -

<Ctrl>

<Ctrl> ,
, ,

<Ctrl> ( ).
<Ctrl>
,
.
<Ctrl> /
,
/

<Shift>

<Shift>
. ,
,
.
<Shift>
.
.
(
)

<Ctrl>+<Shift>

, <Shift>,
15. ,

8,
. .

6.4.
GIMP :
;
-;
;
-;
;

112

II.

;
;
;
.

, ( | |
), GIMP. , ,
,
| .

6.4.1.
(. 6.21) ( , , ) , .
. ,
.

. 6.21.

6. GIMP

113

6.4.2. -
- ,
. .
16.

6.4.3.
( )
. , , . . 6.22 ()
. 6.23 ( ).
. 6.24.
, .

. 6.22.

114

II.

. 6.23.

. 6.24.

6. GIMP

115

6.4.4. -,
,
- (. 6.25) .

. 6.25. -

. 6.26.

116

II.

. 6.27.

,
.
,
-. , , (. 6.26) (. 6.27),
.

6.4.5.
(. 6.28)
- - (),
.
() . , , , .
. 6.29.

6. GIMP

. 6.28.

. 6.29.

117

118

II.

6.4.6.
.
(. 6.30) .
( 2 256) RGB-, .
:
2N, N .
, 8
.

. 6.30.

6.4.7.
(. 6.31) , (, , ). - .

. 6.31.

6. GIMP

119

6.5.
GIMP :


, , ;

/;

() ;

( )


, ;


, ;

( )
, ( ).

,
7, ,
, .

2.6, , ,
. GIMP .

6.5.1.
,
| <M>.
.

120

II.

(. 6.32):
, : , -

;
/

. 6.32.

6.5.2.
(. 6.33) .
, <Q>.
.
.

6. GIMP

121

<Shift>, . ,
, ( ). (
), , , , , .
( )
.

. 6.33.

122

II.

6.5.3.
(. 6.34, ) , ,
. (. 6.34, )
, , . , .

. 6.34. () ()

6.5.4.
(. 6.35) .
(
<Shift>+<P>)
( ) .

6. GIMP

123

, , ,
. .

. 6.35. (), () ()

124

II.

6.6.
, , :

( 9);


, , ;

(. 13).

, .

6.7. GEGL
GIMP 2.6, ,
GEGL.
, | GEGL.

. 6.36. GEGL

6. GIMP

125

. 6.37. box-blur

? GEGL ( | GEGL). GEGL- (. 6.36). box-blur


. 6.37. .
.
.

6.8.
GIMP ( , 16, ). , ( 7)
,
GIMP .


7.1.

GIMP ( , ) : , , , " " , , .
, , ,
.
, . ,
35 (
), 25. , ,
, , 510 , GIMP
, .

7.2.
.
. , 6 ,
34 .
, , . -
, . -, , -, ,
.
,
.

7.

127

, , GIMP . .
(. 7.1) | (
GIMP).

. 7.1.

(. 7.2)

( ) .

II.

128

,
. , 28162112
1,32 . 800600
130 .
, , .
.

. 7.2.

1,32 . ,
, . ? ,
, . 13,2 .
, 910 ,
,
. , JPEG ( , ,
) ,
. ,
, . GIMP.

7.

129

130 . | . JPEG-
GIMP JPEG,
(. 7.3).
90%.
( ), 65%.
(, , ),
60 .
100 , 6 .
!

. 7.3. JPEG

7.3.
.
| ,
, 90 180 (. 7.4).
,
, , , <Shift>+<R>.
(. 7.5).

130

II.

. 7.4.

. 7.5.

7.

131

7.4.

, .
, , .
<Shift>+<C> .
(. 7.6) <Enter>
. . 7.7.
- , <Ctrl>+<Z>
.

. 7.6.

132

II.

. 7.7.

7.5. /
, , . -
, . ,
,
.
/
(. 7.8) , (
), ( ) . .
,
(100).
, .
. 7.9.

7.

. 7.8. /

133

II.

134

. 7.9.

7.6. " "


.
" ". - .
, . GIMP.
, . , , , . ,
,

7.

135

100%, ( ).
, 150200%.
.
| -.
(. 7.10) 100.

. 7.10.

-, .

136

II.

7.7.

GIMP , :
;
, ;
;
;
" ".

GIMP.

III
GIMP
, GIMP
. ,
, , . .


8.1.
. ,
.
( ) (. 8.1),
(. 8.2) ,
. .
, , .
:
.

, 12
( ),
:
- ( ). .

, .
,
;
;
"" . . 8.3
. ,
;

III. GIMP

140

. 8.1.

. 8.2.

8.

. 8.3.

. 8.4.

141

III. GIMP

142

. ()

, ;
.

( ) , ;

, ;
-

. . 8.4
100 ;
;
( )

. . 8.5 1,40;

. 8.5.

,
. , ;
, ,
. (. 8.6).

8.

143

. 8.6.

, . .
, , <Shift>. , 6. , .
,
, <Shift>.
. .
(
) .

8.2. ,
.
Paint.
.
GIMP . ? .
. :
1. (. 8.7).
, <Shift>.
2. .
3.
(. 8.8).

144

III. GIMP

. 8.7.

. 8.8.

(. 8.9).
. , .

8.

145

. 8.9.

8.3.
(. 8.10) . , : .

146

III. GIMP


<Alt>. , .

<Del> ,
, <Del>.
.

. 8.10.

8.

147

8.4.
.
: (, ,
), (Sans, Arial, Times . .) (. 8.11).

. 8.11.

. 8.12.

III. GIMP

148

,
. (. 8.12),
( )
. , .
.
, , (. 8.13). , .

. 8.13.

,

, .
!
GIMP 2.6 - . , .

8.

149

8.5.
8.5.1.
( "" ) ().
, ,
.

8.5.2.
7
/. , ,
. 8.14.

. 8.14.

8.5.3. /
/ . ,
- <Ctrl> <Shift>.

III. GIMP

150

<Ctrl> . <Shift>
, /
.

8.5.4.
. . <A>. ,
. . 8.15.

. 8.15.

8.6.
, , . , ,
, .


9.1.
, . , , , , . ?
! GIMP
. ,
. , ,
.
,
" ", .
! , , .
0 255.
, 0, 255.
, 255. "
" ,
, .
GIMP,

.

9.1.1.

(. 9.1).
. <Shift>+<Q>
| .

152

III. GIMP

. 9.1.

, , ,
(. 9.2),
, . ,
(. 9.3).
,
, .

. 9.2.

9.

153

. 9.3.

,
, , ,
.
, !
, . .
.
,
. , ,
, .
!
, , .

154

III. GIMP

, . , ,
. , .
, ,
.
, |
(. 9.4). / ( <Shift>+<Q>) " " (. 9.5).

. 9.4.

9.

155

. 9.5.

, , .

9.1.2.
.
|
(. 9.6).

III. GIMP

156

. 9.6.

9.2.
. , ? , , . , , -

9.

157

, .
:
-

;
,

.
. 9.7 :
1. .
2. .
3. .
4. ( ,
).

. 9.7.

, GIMP .
. " ". ,
, , . ,
, .

III. GIMP

158

9.2.1.
,
. . 9.8 .
, . ,
<Ctrl>
.
<Alt> . (
, .) ( ), .

. 9.8.

9.

159

, . , (. 9.9). .
(). .
( )
. , <Ctrl>
.

. 9.9.

/
:

, +. ,

160

III. GIMP

. .
<Shift> ,
;
: -

. <Shift>
. <Ctrl>+<Alt>
;
,

. ,
.
. 9.10 ( )
.
(. 9.11).

. 9.10.

9.

161

. 9.11.

9.2.2. .
:
( -

+), ,
;
<Shift>+<Ctrl> ,

III. GIMP

162

.
. . 9.12 ;
<Shift>+<Ctrl>, -

, .

. 9.12.

!
, ,
!

9.2.3.
. , .
. 9.12 . , , . ,
,
, ( ).
<Shift>, ( ).

9.2.4.
, . | .

9.

. 9.13.

. 9.14.

163

III. GIMP

164

(. 9.13), . :
, (. 9.14).

9.2.5.

( ) | . . , ,
. | .
. 9.15 , :
1. .
2. | .
3. ( GIMP).
4. : | .
.
5. . : | .
,
| .

. 9.15. ,

9.

165

9.2.6.
, ,
(. 9.16).

. 9.16.

III. GIMP

166

,
.
, .
, , , ->
. , , . . 9.17.

. 9.17.

. 9.18.

9.

167

. , , . , , .
. 9.18.

9.3.
. , , ,
.
10 GIMP. ,
.

10

10.1. ?
( ), . . 10.1 GIMP.

. 10.1.

10.

169

GIMP 10 , , ,
, , , , , . .
( ) .
(. 10.2).

. 10.2.


(. 10.3). , |
| <Shift>+<Ctrl>+<B>.
( . 10.4 )
// . ,
// .

III. GIMP

170

. 10.3.

. 10.4.

GIMP ,
, . , 2.7,
, ,
2.6.7. ,
C:\Program Files\GIMP-2.0\share\gimp\2.0\brushes ( 2.6.7
) C:\Program Files\GIMP-2.7\share\
gimp\2.0\brushes ( 2.7).

10.

171

10.2.
GIMP . , , .
:
() GIMP

. ,
- .
, ,
.
gbr (. . 10.6). ;
-

. ,
.
, ;
-

. ,
( ) . ,
, . .
GIMP .
,
, . gih;

. . vbr.

10.3.
. ,
. . brushes 740 , , ,

172

III. GIMP

. .
GIMP brushes.
, . ""
. |
| (. 10.5).

. 10.5.

( ZIP-) GBR/GIH/VBR- .
, (. 10.6)
( GIMP 2.6.7).

(. 10.7). . 10.8
, .
.

10.

173

. 10.6.

. 10.7.

III. GIMP

174

. 10.8.

10.4.
.
, , ,
(. 10.9). (. . 10.7)
.

. 10.9.

10.

175

10.5.
GIMP ,
.
(. . 10.6) ( GIMP 2.6.7).
(. 10.10).
, , , ,
, , .

. 10.10.

,
(. . 10.6).

10.6.
() .
- . . RGB-
, -.
(. 10.11), GIMP-.

III. GIMP

176

. 10.11.

, -,
( | )
. , RGB, ,
.
gbr (
,
):
GIMP 2.7 | -

, (. 10.12, )
GIMP, Export Image as (. 10.12, ) ,
;
GIMP 2.6.7 |

.
(GIMP 2.7)
(GIMP 2.6.7), . . 10.6.
(. 10.13). . 10.14 .
, , GBR.

10.

177

. 10.12. GIMP ()
()

178

III. GIMP

. 10.13.

. 10.14.

10.

179

10.7.
, .
GIMP , GIMP . ,
GIMP-, GBR ( GIMP BRUSH).
brushes 740
. ,
.
, ,
, :
brushes/ArcaneCircles " ";
brushes/ bamboo_gimp_brushes

;
brushes/Blood_Brushes , ;
brushes/ butterfly_gimp_brushes ;
brushes/clouds , ;
brushes/dead_tree_brushes " ";
brushes/drak_wings_gimp_brushes ;
brushes/eyes ;
brushes/Feather_Brushes_by_syang70.gbr ;
brushes/filmstrip_brushes "";
brushes/Gimp Blacleria Wingbrushes ;
brushes/heart , -

;
brushes/Icon_brushes ;
brushes/KanjiBrushes ;
brushes/leaves ;
brushes/Light_Beams ;
brushes/Lightning ;
brushes/moon ;
brushes/Music ;

III. GIMP

180

brushes/Polaroid "";
brushes/scratchies ;
brushes/snowflakes ;
brushes/sparklies ;
brushes/splatter_brushes ;
brushes/vector ;
brushes/WaterBrushes -

,
, :
http://browse.deviantart.com/resources/applications/gimpbrushes/.

11

,
11.1.
, ,
. "
" . , .
, . . 11.1
.

. 11.1.

III. GIMP

182

( . pattern).

.
, (. 11.2);

. 11.2.

. 11.3.

11. ,

183

( ). -

(. 11.3);
. -

| . (. . 9.13),
.
!
, (.
. 9.14). 9.

() //
GIMP (. 11.4).

. 11.4.

III. GIMP

184

GIMP .
, .

.
. ,
, , |
| (. 11.5).

. 11.5.

. 11.5,
:
C:\Documents and Settings\Denis\.gimp-2.7\patterns;
D:\Program Files\GIMP-2.7\share\gimp\2.0\patterns.

. , , .

11. ,

185

() ,
. Linux ( Windows
NTFS) root
().
:
PAT ( pat) , -

GIMP. PAT
GIMP PAT;
PNG, JPEG, BMP, GIF TIFF GIMP 2.2,

.
,
GIMP. .
.
| | .
GIMP GIMP patterns.
patterns
400 .
.

, ,
, patterns/1st_edition, patterns.

11.2.
.
(. 11.6).
. (. 11.7).
( ) ? ,
,
(. 11.8).
. 11.9.

III. GIMP

186

. 11.6.

. 11.7.

. 11.8.

11. ,

187

. 11.9.

, . ,
, . . . () , .

.
.
(
<Ctrl>+<G>),

(. 11.10):
;

III. GIMP

188

. 11.10.

. 11.11.

(. 11.11)
.

11. ,

189

( ggr). GGR- (. . 11.5)


GIMP
(. . 11.10).

11.3.
. :
, , -

;
. -

, 256 .
.
, .
, .
GIF- ,
GIMP-, , .

, | |
. , , . 11.12.
. (. 11.13)
. GIMP , , .
, . 11.14.

. (. 11.15), .
, . ,
Black-Red.
( gpl)
. GIMP
.

III. GIMP

190

. 11.12.

. 11.13.

. 11.14.

11. ,

191

. 11.15.

11.4.
, , ,
.
GIMP ( ) . (, ) , .
. , ,
GIMP. ,
, , .

IV


.
.

12

12.1. ?
, GIMP
. .
, , ,
, . GIMP
(
). GIMP , .
? , . , . , , , ,
. 12.1. . Web.
, . , , , .
, . . . ,
. , ,
. GIF ( PNG)
.
, ,
.
, , -
, : (), .

IV.

196

, . (
)
, .

. .

. 12.1.

,
( GIMP,

),
, (. 12.2).
(. 12.3).
, :
" " GIMP ,
.

12.

197

. 12.2.

. 12.3.

IV.

198

. 12.4.

. 12.5. (),
()

GIMP .
, . , ,

12.

199

, . , , , .
(. . 12.3),
(. 12.4).
, (. 12.5).

, ,
, - .

(. 12.6) ,
.

. 12.6.

IV.

200

12.2.
: , -, . .
.

12.2.1.
. , .
(. 12.7, ).
(. 12.7, ), .

. 12.7.

12.2.2. -
, -
. , . ,
. . 12.8
.

12.

201

. 12.8.

. 12.9.

202

IV.

, ,
( )
-. -
-.
. | ,
(. 12.9).
-. ,
-,
, (), -.
, -
- ( | | -),
-.

12.2.3.
-. GIMP
:
RGB (Red/Green/Blue) -

;
RGBA (Red/Green/Blue/Alpha) ;
;
-;
;
-.

, . RGB-, . , , / -,
. , RGB- -,
-.
| | .
-, (.
. 12.2.2).

12.

203

12.2.4. .
/
.
, . . ,
. . 12.10, ,
.

. 12.10.

IV.

204

12.2.5.
, .
.

. 12.11.

12.2.6.
(. . 12.10) . 0 100, 0 ,
100 .

12.2.7.
, .
. , GIMP
, ,
.
. , ,
- , .
| .
(. 12.12) .
,
, .
, , .

12.

205

. 12.12.

12.2.8.
-,
. ,
. .

12.2.9. -
(. . 12.3).
, - ,
- .

12.3.

, .
21 (. 12.13).
GIMP',
.
, .
. (.
. 12.1) : .
( ),

IV.

206

100 (. 12.14). ,
, .
. , ,
(. 12.15). .
. ,
, ,
. , .

. 12.13.

. 12.14.

12.

207

. 12.15. ""

,
. 12.1.
12.1.


. ,
.

.
. . ,
,

( )

255.
,

IV.

208

12.1 ()

"" .
256
+ 1 ( , ).
,

,
255,
. , .
,

, ,
2,
, 255, . , ,
. ,


. , , , ,

, .

,
,
.
,

(. 12.16)

, ,

128. . 12.17

,
(. 12.18).

, ,

12.

209

12.1 ()

128.
(. 12.19)

. 0.


. . ,
,
255, ,
.
, .
, 0,

,
( ,
). ,
,

, ( ), 16. ,
, . 0,

210

IV.

. 12.16. ,
75%,

. 12.17.

12.

211

. 12.18.

. 12.19.

IV.

212

12.4.
.
. (
) :
GIMP ( ) |

| ;
<Ctrl>+<L>.

. 12.20.

(. 12.20) , , -, ( ):
;
;
;
;
;
.

12.

213

, .

. ,
, .
.
.

,
(. 12.21), :
;
;
-

;
() -

;
-

;
(, -

);
;

;
;
- - ();
- -;
- > - ;
;

.
, , , . , , , .

IV.

214

. 12.21.

12.5.
, 9. , "" , . , ,
"". , ,
, .

12.

215

, ( 0
255). 0 , 255
. , .
,
.
, - (
-).

. 12.22.


(. 12.22).
:
,

;
, -

,
;

216

IV.

- -.

, ;
- , ,

- ;
;
;
,

;
(

, ).

12.6.
GIMP ( ). GIMP
. ( ) .
13 .

13


13.1.
. , , (. 13.1) . ,
,
GIMP | | .

, , 12. : - ,
, .

. 13.1, .
, .
, .
(. 13.2) ( 10 .
). , , , .
(. 13.3).
<T>. | .
. 8.4 ,
. , ,
:
.

, ,
. . 13.4 ,
Times New Roman. ,
(. 13.5);

IV.

218

. 13.1.

13.

219

. 13.2.

in ;
mm ;
pt ( );
px ;
.

;
() .

IV.

220

. 13.4.

. 13.3.

. 13.5.

13.

221

. 13.6.

. .

;
() : -

, , , ;
;
()

. ,
( ). , ;
() -

. , ;
.

, .
9, ,
, 9;
.

, 9.

, Word,
. GIMP -

IV.

222

(px). , . ,
(. 13.6).

, ,
.
, .
. (. 13.7).

. 13.7.

(. 13.8). , ,
, . , . . 13.8,
,
, , , .

13.

223

. 13.8.

224

IV.

13.2.
, . , ,
, /. .
. ,
. (, ,
, , , ) (. . 13.3).
, , , ,
. 13.9.

. 13.9.

, , . ,

13.

225

.
(. 13.10), . , .

. 13.10.

-,
(, ,
, ). <Shift> 25 .

,
.

226

IV.

13.3.
" ",
JPEG, GIF, PNG, TIFF ., ,
. .
: XCF ( GIMP)
. XCF ,
, , .

13.4.
, . GIMP, :
, -

. ,
;
, , -

.
, | | ;
, -

, . ;
, , , -

, ,
, XCF.

14



14.1.
GIMP
( . animare , . animation ),
, ,
. , . ,
, , ,
, (
), . . , , .
, 18
.
24 ,
.

14.2.
GIMP, ,

GIMP, : G, I
. .
Hello World.
.
. , .
GIMP RGB-.

228

IV.

(. 14.1)
.

. 14.1.

-
( ). , | . -
<Ctrl>+<C> (, ). | , <Ctrl>+<V> (, )
. "" , .
, (. 14.2)
. "" (. 14.3).
(
). . 100%. ,
, . (. 14.4).

14.

. 14.2.

. 14.3.

229

IV.

230

. 14.4.

. 14.5. :

14.

231

(. 14.5).
( ) . (. 14.6).
.
, .
| | .

(. 14.7).

. 14.6. ,
,

. 14.7.

IV.

232

.
, ,
.

14.3.
.
: GIMP ( xcf) GIF.
, .
XCF. . | ( |
GIMP 2.6) GIF Image (. 14.8).

. 14.8. GIF

, GIF (. 14.9).
.

14.

. 14.9.

. 14.10.

233

IV.

234

.
1000 , 1 ,
(. 14.10).

.xcf .gif Glava14.

. 7 . . , , 70 , . 70 ,
Web-? , ,
, 210 .
GIF- .
,
, . GIF-
23 .
| | ( GIF).
, GIF- ( , ).
: 3 7 ,
. , . .

14.4.
, GIMP .
, GIF
, .
, GIF-. 15 GIMP.

15

GIMP Web.

15.1.

, , ,
- , , "".

, . | , , . ,
, | |
.

GIMP .
. , Web-. ,
:
button_normal.gif ( ) ;
button_active.gif (

, );
button_pressed.gif ( ,

, ).
, .
, , example.
gifs . example buttons.html. 15.1.

IV.

236
15.1. ( buttons.html)

<HTML>
<HEAD>
<TITLE> Mouse Over, Mouse Out Mouse Down</TITLE>
</HEAD>
<BODY>
<a href="http:///"
onMouseOver="window.document.images[0].src='gifs/button_active.gif'; "
onMouseOut="window.document.images[0].src='gifs/button_normal.gif'; "
onMouseDown="window.document.images[0].src='gifs/button_pressed.gif'; ">
<IMG name="mouse1" src="gifs/button_normal.gif" border=0></A>
</BODY>
</HTML>

.
button_normal.gif. , onMouseOver button_active.gif.
, onMouseOut, .
onMouseDown, .

buttons.html glava15 .

15.2.
GIMP .
| | .
| (. 15.1). , , ,
. , , , . .

, -. | | -.

15. GIMP Web.

237

,
. :
-

, ,
;
| | -

, , .

"" GIMP, , |
| , | | , | | .

. 15.1.

IV.

238

GIMP . 15.1.
15.1. GIMP

Imigre-26

SOTA

. ,

, , .


- ,

. , -
WordArt MS Office

. ,

, . ,

, ,

. ,
.

"" ,

15. GIMP Web.

239

15.1 ()

, ,

II

"" , , ,

.
,

, , .
,

"" (alien). ,

"" (alien)

15.3.
GIMP .
. , - .

| | | . . 15.2. .


. | | | | | | .

IV.

240

. 15.2.

. 15.3.

15. GIMP Web.

241

. 15.4.

,
| | . (. 15.3) OK. , . 15.4.
, | | .
, ,
GIF.
(. 14). 400 .
, , .
17.

15.4.
GIMP , , Web-.
,
HTML/JavaScript- GIMP.

V
GIMP

GIMP.
,
, ,
,
,
GIMP.

16

.

16.1.
: RGB HSV (HSB).
,
.

16.1.1. RGB
RGB Red (), Green (),
Blue (). ,
RGB : ,
.
RGB .
. ,
. 0 255.
, RGB- (255, 0, 0),
(0, 0, 255), (0, 255, 0).
. ,
, (255, 255, 0).
, RGB, . 16.1 RGB- .
16.1. RGB

(0, 0, 0)

(255, 255, 255)

(0, 255, 255)

(138, 43, 226)

(255, 20, 147)

(192, 192, 192)

()

(0, 0, 128)

(139, 69, 19)

246

V. GIMP

RGB , .
. 16.1 , (139, 69, 19).
,
. , , .
, ?

. GIMP , . 16.1, , ,
.

. 16.1.

, :
-, -

HSV ( ) RGB .
RGB-, HSV.
;
-, Web- HTML-

, HTML,

16. .

247

HTML- . HTML-
HTML- RGB HSV;

HTML- RGB- . , . RGB- (255, 255, 255).


255 , ff. , HTML-
: ffffff.

-,

, , - ;
-, HTML- ( )

,
;
-, ,

, ,
.

16.1.2. HSV
HSV (Hue,
Saturation, Value , , ) , ,
HSB (Hue, Saturation, Brightness , , ).
HSV , RGB.
,
, ():
, , , . .

: ,
, . . 0360,
0100 01;
, .

, . .
, . .
, "" ;
() . 0,

. ,

V. GIMP

248

, .
0100 01.
HSV (. 16.2).
, ()
, . , . , .

. 16.2. HSV

HSV .
: http://ru.wikipedia.org/wiki/HSV.

16.2.
| (. 16.3).
:
-

16. .

249

- ,

;
;
- /;
-;
-

;
, ,

, ;
, GIMP 2.6. -

, - .

. 16.3.

( ) .

16.2.1.
, . -

250

V. GIMP

, , .
.

. 16.4.

16.2.2. -
- (. 16.5)
,
. . -
.
(, , )
(, , ).
. ,
.

16. .

251

,
. , .

. 16.5. -

16.2.3.
,
(
). . 16.6
, .

252

V. GIMP

. 16.6. : ;
;

16. .

253

16.2.4.
. (. 16.7) .
, , ,
.
, .
.

. 16.7.

254

V. GIMP


,
. .
: 0 () 255 ().

. , , , , , .
: (), ( ) .
" " , , . ,
" ". "" . , , , .
(
, )
. .
(), , .


(. . 16.7) ""
:
-

, , ;
(, , )

, ,
100140, ;
- -

16.2.5.
, , RGB-. .
-, -

16. .

255

, .
. , , , ,
, . , (. 16.8).
, , .
, . -.

. 16.8.

V. GIMP

256

16.2.6.
( ) ,
-.
, .
, .
, , - ,
: , . -
, , .
. 16.9 . ,
.

. 16.9. : ;

16.3. CMYK
CMYK (Cyan, Magenta, Yellow, K) , . CMYK : Cyan (), Magenta (),
Yellow () CMYK. K
.

16. .

257

CMYK ,
.
CMYK ,
, , .
, CMYK (. 16.10), . , CMYK,
, .
, , 0%
, 41% , 80% 3% .

. 16.10. GIMP CMYK

, CMYK .
: , .
(black). CMYK , K
: blacK. ,
(blue), , ,
B. , K
Key (). key plate

258

V. GIMP

. - K
. , "" .

16.4.
:
RGB HSV (HSB), CMYK, ,
GIMP. ,
, . 17 GIMP.

17

17.1.
, .
, . , .
(. 17.1) . ( ) .
. , - , . 17.1.
, .
, , .
, GIMP (, ) . -, ( ), 18 ().
, .
, , . ,
,
. ,
, (. 17.2), . , ,
,
.

260

V. GIMP

. 17.1.

. 17.2.

17.

261

17.2.
, , . . .
| .

source.jpg (. 17.3), Glava17
.

. 17.3.

V. GIMP

262

17.2.1.
( ),
.
. 17.4.

, :
IIR (Infinite Impulse Response) , -

;
RLE (Run-Length Encoding) , -

. 17.4.

17.

263

17.2.2.
-,
.
. , . ,
, .
, .

.
,
.

17.2.3.
,
"", . ,
,
, , .

. 17.5.

V. GIMP

264

,
(. 17.5) ,
, (
). ,
.
.
,
, .

17.2.4.
. 17.6.
, .

. 17.6.

17.

265

17.2.5.

.
(. 17.7):
.

, .
0, ,
90 ;

. 17.7.

266

V. GIMP

. 17.8. :

(. 17.8).

. , . ( ).
;
-

. , . .
.

17.

267

17.2.6.
() , .

17.3.
, , (
-), .
| .

17.3.1.
.
, , . ,
. .

. . .
, (. 17.9):
- -

.
, .
, 0,0 , 1,0
;

. .
.
0,8 1,0;
, , -

. : 0,1 (
) 0,9 ( ). .

268

V. GIMP

. 17.9.

17.3.2.

() ,
.
.
.
. .
,
,
.

17.

269

, :
, .

;
;

. .
, ,
.
. ( | | ).

17.3.3. c
c , ,
-. , . . ,
, . .
. , .

17.3.4.

,
.
, . ,
.
(. 17.10) , . .

.

V. GIMP

270

. 17.10.

17.3.5. " "


" " . 7.6.
, .

, .

17.4.
.
. 17.1 . ,
, -

17.

271

. , .
| .
17.1.

() (
),
(. 17.11). , .
RGB-.

,
(. 17.12)

. : . ( ).

, (. 17.13)

(. 17.14).
,

. ,

.
Web-

V. GIMP

272

17.1 ()

(
: )

. 17.11.

17.

273

. 17.12.

. 17.13.

V. GIMP

274

. 17.14.

17.5.
| , . :
.

:
, ;
;
;
;
;

17.

275

. :

Xach- . , . , ;
;
;
"" . :
,
;
,
.

17.6.
.
, , . , ,
.
| .

17.7.
( | )
, .
, .
,
.
, .

. 17.15 .
, , .

(. 17.16).

276

V. GIMP

. 17.15.

. 17.16.

17.

277

17.8.
, .
(
GIMP ),
(. 17.17).

. 17.17.

V. GIMP

278

, ,
, . . 17.18
:
1 ;
2 ;
3 ;
4 ;
5 .

. 17.18.

( )
, ,
.

17.9.
( | ) .
:
,

;
, -

, ,
(. 17.19).

17.

279

. 17.19.

17.10.
, , .
( , ) .
| .

17.11.

. , .
, , .
:
;
;

V. GIMP

280

;
-

, (. 17.20);
-

;
;
;
;
.

. 17.20.

17.

281

17.12.
. GIMP , .
, . | .
.
, :
| , -

( ,
);
, ;
, ;
Gfig , - -

;
|

( ).

17.13. -
| :
( 19) .
, - (
| | -). . , , GIF, ( - 0,
255), ( 1 254). , , .
:
1. ,
Web-
.
2. .
3. | | .

V. GIMP

282

17.14.
|
, ,
. 14 15.

17.15.
|
. | , . 15.2,
.

17.16.
| :
;
;
-

(. 17.21);

. 17.21.

17.

. 17.22.

. 17.23.

283

284

V. GIMP

;
,

(. 17.22);
, ;

(. 17.23).

17.17.
GIMP
. .
http://registry.gimp.org/faceted_search/results/filter ,
.
. , , 18. Script-Fu (
GIMP), Perl Python.

18

18.1. .

(, )
GIMP, . () , C ( GIMP),
, GIMP .
GIMP .
GIMP . (
),
. - , , ().
, | GIMP. ,
(. 18.1).
, ! , ,
. ( )
. , .
, ,
, , (. 18.2).
:
INDEXED ;
INDEXEDA -;

286

V. GIMP

RGB , RGB (Red, Green, Blue);


RGBA -;
GRAY ;
GRAYA -.

. 18.1.

. 18.2.

18.

287

, ( ), : RGBA, GRAYA. RGB* , RGB-, RGBA-. ,


A .

18.2.
, (, )
C, , GIMP.
: Perl, Python
Script-Fu ( GIMP). . ,
, C,
. ,
.
:
chmod +x <>.pl

. "", C-.
,
Perl (Python/Script-Fu), ,
, , .

18.3.

GIMP. GIMP
, , GIMP.
. Web, . , .

, .
(2.0) GIMP. 2.2, -

288

V. GIMP
, , , , 2.4 , 2.6. , ,
, . ,
. , ,
.

, .
, . , . ,
, ,
GIMP.
GIMP , ( , ). , ( , GIMP
).

18.4.
(, http://registry.gimp.org/)
. GIMP GIMP plugins GIMP scripts . Google 3 870 000 (. 18.3).
, ,
, . http://registry.gimp.org, ,
, , .
, (, ),
(. 18.4).

18.

289

. 18.3. GIMP plugins

. 18.4. http://registry.gimp.org

290

V. GIMP

18.5.
, GIMP,
. .
GIMP.
,
pl (Perl), py (Python) scm (Script-Fu), . 18.5.4. .
,
c ( exe Windows ), . Windows,
Linux Mac OS, .

18.5.1. Windows
C-.
( , )
Windows . Linux Mac OS . Windows
. , Windows , ( Windows ), .
Windows .
Windows-, GIMP? , :
,

GIMP Windows, . ,
GIMP;
-, ;
C Windows -


, -

, .
,
( setup.exe install.exe), .
.

18.

291

, :
X:\Program Files\GIMP-2.n\share\gimp\2.n\plug-ins\ ( X ,

GIMP, n GIMP).
( NTFS);
X:\Documents and Settings\< >\.gimp-2.n\plug-ins\ (n

GIMP) Windows XP X:\Users\< >\.gimp-2.n\plug-ins\ ( Windows Vista Windows 7).

Program Files
. , 2.4 Program Files\
GIMP-2.4, GIMP 2.7 Program Files\GIMP-2.7,
2.6.7 - Program Files\GIMP-2.0.

, , .
( ),
.
!
.
, , -,
, -, GIMP "",
.

? . , C Windows . , , .
C : http://www.mingw.org/.
,
, C.
glava18
.

18.5.2. Linux
Linux gcc,
make automake.
. ,
Linux .

V. GIMP

292

GIMP :
. c.
:
gimptool-2.0 --install <>.c

( ), GIMP.

gimptool ,
gimptool. Windows- gimptool , -
glava18.

.
README ( INSTALL),
.
, ,
.
:
make
make install


root.
README (INSTALL) .

18.5.3. Mac OS
Mac OS , Linux. .

18.5.4.
. . GIMP (. 18.5).
Windows,
( ) :
X:\Program Files\GIMP-2.n\share\gimp\2.0\scripts\ ( X ,

GIMP, n GIMP, . ).
( NTFS);

18.

293

. 18.5. GIMP

X:\Documents and Settings\< >\.gimp-2.n\ scripts\ ( Win-

dows XP) X:\Users\< >\.gimp-2.n\ scripts\ ( Windows


Vista Windows 7).
!
Vista : , , .
(X:\Program Files\GIMP-2.n\lib\gimp\2.0\scripts\), . , .

Linux :
/usr/share/gimp/2.n/scripts ( root);
~/.gimp-2.n/scripts.

( Linux!) :
chmod +x < >/<>

V. GIMP

294

chmod , Perl
Python.

GIMP | Script-Fu |
.

18.6.
18.6.1.
, GIMP
: C, Perl, Python Script-Fu. Linux- , Windows-
Script-Fu , ,
.

Script-Fu
Script-Fu GIMP.
, Script-Fu,
GIMP ,
( Perl Python).
, Script-Fu GIMP, . , , . , , .
Script-Fu. Script-Fu
,
.
Script-Fu . Lisp,
1960 . ,
( C).
, - Script-Fu.

18.

295

Python
Python , 1990 . . ,
Script-Fu, GIMP, Python
, .
GIMP 2.4 Python- Python. 2.4, gimp-python, Python-
. pygtk,
http://pygtk.org.

Perl
Perl ,
UNIX/Linux-, Linux. Perl
GIMP, Perl. GIMP ,
Perl, gimp-perl.

C
C ,

(Linux, UNIX, C)
(GIMP) . C, .
( ,
C),
C,
http://www.gimp.org/docs/plug-in/plug-in.html.

gimp-perl gimp-python.
, , , Linux. , ,
.
.

18.6.2.
() .
, , register.

296

V. GIMP

, GIMP
( PDB, Procedure
Data Base). ,
, (GIMP)
.

Script-Fu
Script-Fu script-fu-register,
:
, , , script-fu-myscript;

( );
;
;
,
;

;
, .

, ;
.

.
18.1 ,
Script-Fu. , "".
myscript.scm.
18.1. SCM-
;
;
(script-fu-register "script-fu-my-script"
_"My Script..."
_"My first script"
"Denis Kolisnichenko"
"(c) 2010 Denis Kolisnichenko "

18.

297

"2010"
""
SF-STRING

"text" _"Text"

"GIMP"

: _, , GIMP (
). , .

"My first script" ,


, .
. . RGB-, RGB ( ), RGBA
( -) RGB* ( ,
). INDEXED GRAY .
, :
RGB*, INDEXED*

,
.
"GIMP". ,
.
.
script-fu-menu-register:
(script-fu-menu-register "script-fu-my-script"
"<Image>/MyScripts/")

, , . , GIMP ,
<Toolbox>, ,
, <Image>,
. <Image>,
.
, , . , , <Image>/Filters,
<Image>/Filters/Decor. ,

V. GIMP

298

,
<Image>/File/Create.

Perl
"" Perl ( 18.2).
pl (myscript.pl).
18.2. Perl
#!/usr/bin/perl
eval 'exec /usr/bin/perl -S $0 ${1+"$@"}'
if 0;
use Gimp qw(:auto __ N_);
use Gimp::Fu;
use Gimp::Util;
use strict;
# perl_fu_my_script ( )
register "perl_fu_my_script",
"My first script",
"Hint for HELP button",
"Denis Kolisnichenko",
"(c) 2010 Denis Kolisnichenko ",
"2010",
N_"<Image>/My Script/First",
"*",
[
[PF_ STRING, "text", "Text", "GIMP"]
],
\&perl_fu_my_script;
exit main();

N_ ,
, . N_ Perl ,
_ Script-Fu.

18.

299

.
/usr/bin/perl. ( eval) .
, Perl:
use Gimp qw(:auto __ N_);
use Gimp::Fu;
use Gimp::Util;

, . :
use strict;

register. ,
Perl register :
, , , script-fu-myscript;
;
,

(Help);
;
;
;

, <Image>,
GIMP, <Toolbox>. , , ;

, .

, ;
. ,
, Script-Fu:
,
;
.
"", Perl, :
chmod +x myscript.pl

, .

300

V. GIMP

Python
Python ( 18.3).
18.3. Python
#!/usr/bin/env python
# ,
# GIMP
import math
from gimpfu import *
# python_fu_my_script ( )
register(
"python_fu_my_script",
"My First Script",
"Description",
[
(PF_STRING, "text", "Text", "GIMP"),
],
[],
my_script)
main()

, -, :
script-fu-register Script-Fu;
register Perl Python.

register GIMP. GIMP. . | . (. 18.6)


, .
. ,
GIMP.

18.

301

. 18.6.

.
PF_STRING ( Script-Fu SF-STRING).
"" . . 18.1 . , Perl/Python- : PF_, Script-Fu: SF-.
Perl/Python :
[, , , __, _]

Script-Fu :
__ _

, .

18.1.

STRING

TEXT

ADJUSTMENT

. , /. SLIDER + SPINNER

V. GIMP

302

18.1 ()

FLOAT

FONT

. :
[PF_FONT, "font", "Font", "Hevletica"]
,
. ,

SLIDER

SPINNER

/.
,
:
[PF_SPINNER, "width", "Width", 100, [10, 300, 1]]

COLOR

. :
[PF_COLOR, "color", "Color", [0, 0, 0]]
RGB

TOGGLE

(). 1, . :
[PF_TOGGLE, "checkbox", "Checkbox", 1]

RADIO

:
[PF_RADIO, "radio", "Radio/Box", 1, [radio1 => 0, radio2 =>1]]
""
( 1), ,

BRUSH

, .

GRADIENT

FILE

PATTERN

GIMP.
Script-Fu,
. Perl Python,
, . ,
GIMP- .

18.

303

18.6.3. Script-Fu
Script-Fu .
. SCM- (*.scm)
. . sphere.scm.
"" , ,
GIMP .
18.4.
18.4. SCM-
(define (script-fu-my-sphere radius
light
shadow
bg-color
sphere-color))
(script-fu-register "script-fu-my-sphere"
_"My Sphere..."
"My Sphere"
"Denis Kolisnichenko"
"(c) 2010 Denis Kolisnichenko "
"2010"
""
SF-ADJUSTMENT _"Radius (pixels)" '(100 5 500 1 10 0 1)
SF-ADJUSTMENT _"Lighting (degrees)" '(45 0 360 1 10 0 0)
SF-TOGGLE _"Shadow" TRUE
SF-COLOR _"Background color" '(255 255 255)
SF-COLOR _"Sphere color" '(255 0 0))
(script-fu-menu-register "script-fu-my-sphere" _"<Image>/Filters")

, .
define script-fu-my-sphere.
script-fu-sphere.
, .

V. GIMP

304

: radius, light, shadow, bg-color


sphere-color. , Script-Fu :
(define ( )

,
.
, .
( ) :
( )

script-fu-my-sphere GIMP.
: , scriptfu-my-sphere, ( !)
,
.
radius, SF-ADJUSTMENT, light, . .
,
, (
). GIMP ,
.
script-fu-menu-register
. GIMP ( ).
, ( ,
sphere.scm) | ScriptFu. | . My Sphere. . ,
, GIMP (. 18.7).

, , , , 2.7 (-
) 2.6 .


, GIMP.

18.

305

. 18.7.

OK, , -,
.
,
Script-Fu.

Script-Fu
Script-Fu Script-Fu. ,
. . -, , .
| Script-Fu | (. 18.8).
, Script-Fu :
( )

(+, , *, /) . ,
2 + 2, :
(+ 2 2)

, . 18.9, :
(/ 99 (+ 1 (sqrt 4)))

306

V. GIMP

. 18.8. Script-Fu

. 18.9.

, ,
.

set!:
(set! Width 300)

18.

307

Width (
300) , :
(/ Width 5)

set! , . GIMP
, , - GIMP,
. , :
=> (set! sqrt 10)
10
=> (sqrt 4)

:
ERROR: bad function (see errobj)
let, . let :
(let* ((1 )
(2 ) ... )
())

:
=>(let* ((a 2) (b 2)) (+ a b))

Script-Fu
Script-Fu , .
let set.
string-append:
=> (set! str1 (string-append "test " "string"))

"test string"
=> str1

"test string"
string-length:
=> (string-length str1)

11
substring string index1 index2 . index1 , index2 ( index1 + ).

V. GIMP

308


, Script-Fu
:
(if () ( 1) ( 2))

, .
.
:
=> (set! x 100)

100
=> (set! y 500)

500
=> (if (> x y) (- x y) (- y x))

400
x (100) y (500). x > y,
:
(- x y)

; x y

:
(- y x)

; y x

y > x, :
500 100 = 400

(sphere.scm)
, :
(define (script-fu-my-sphere radius
light
shadow
bg-color
sphere-color)

let,
:
(let* (
(width (* radius 3.75))
(height (* radius 2.5))
(img (car (gimp-image-new width height RGB)))
(drawable (car (gimp-layer-new img width height RGB-IMAGE
"Sphere Layer" 100 NORMAL-MODE)))

18.

309

(radians (/ (* light *pi*) 180))


(cx (/ width 2))
(cy (/ height 2))
(light-x (+ cx (* radius (* 0.6 (cos radians)))))
(light-y (- cy (* radius (* 0.6 (sin radians)))))
(light-end-x (+ cx (* radius (cos (+ *pi* radians)))))
(light-end-y (- cy (* radius (sin (+ *pi* radians)))))
(offset (* radius 0.1))
)

let, ( , SCM-).
gimp-context-push,
. , , , , . . ,
,
, .
, , ,
( gimp-context-pop).
. , ,
,
gimp-image-undo-enable:
(gimp-image-undo-disable img)
;
(gimp-image-undo-enable img)

gimp-image-add-layer .
(gimp-image-add-layer img drawable 0)

gimp-context-set-background
, (gimp-edit-fill), :
(gimp-context-set-background bg-color)
(gimp-edit-fill drawable BACKGROUND-FILL)

gimp-context-set-foreground:
(gimp-context-set-foreground sphere-color)

V. GIMP

310

if,
. , , . , , .
, :
(gimp-selection-none img)
(gimp-image-undo-enable img)
(gimp-display-new img)
(gimp-context-pop)

| . . .
,
. gimpcontext-pop (. ).
, ,
. , :
gimp-image ;
gimp-context ;
gimp-edit ;
gimp-selection ;
gimp-display ;
gimp-brush ( -

gimp-edit-brush);
gimp-by-color ;
gimp-channel ;
gimp-layer ;
gimp-palette ;
gimp-patterns ;
gimp-clone ;
gimp-file ;
gimp-gradient ;
gimp-text ( ).

18.

311


, ( 18.5).
18.5. ,
(define (my-header header text)
(let*
( (font "-*-hevletica-bold-r-*-*-*-*-*-*-*-*-*-*")
(tcol '(150 3 160))
(col '(255 255 0))
(scol '(200 200 200))
(sf 4)
(so 2)
(tsize (cond ((equal? header "H1") 280)
((equal? header "H2") 220)
((equal? header "H3") 190)))
(border (* sf 1.5))
(oldbg (car (gimp-palette-get-background)))
(oldfg (car (gimp-palette-get-foreground)))
(aa (gimp-palette-set-foreground tcol))
(img (car (gimp-image-new 30 30 RGB)))
(txtlayer (car (gimp-text-fontname img -1 border border
text 0 TRUE tsize 1 font)))
(txsize (car (gimp-drawable-width txtlayer)))
(tysize (car (gimp-drawable-height txtlayer)))
(xsize (+ txsize (* 2 border)))
(ysize (+ tysize (* 2 border)))
(bglayer (car (gimp-layer-new img xsize ysize
RGB "Bg" 100 NORMAL)))
(shlayer (car (gimp-layer-new img xsize ysize
RGB "Shadow" 100 NORMAL)))
)
(gimp-image-undo-disable img)
(gimp-image-resize img xsize ysize 0 0)
(gimp-image-add-layer img bglayer 0)

V. GIMP

312
(gimp-image-add-layer img shlayer 0)
(gimp-palette-set-background col)
(gimp-edit-clear bglayer)
(gimp-edit-clear shlayer)
(gimp-selection-layer-alpha txtlayer)
(gimp-selection-feather img sf)
(gimp-palette-set-background scol)
(gimp-edit-fill shlayer 1)
(gimp-selection-none img)
(gimp-layer-translate shlayer so so)

(gimp-image-raise-layer-to-top img txtlayer)


(gimp-palette-set-background oldbg)
(gimp-palette-set-foreground oldfg)
(gimp-convert-indexed img 0 0 8 FALSE FALSE "")
(gimp-image-clean-all img)
(gimp-display-new img)
(gimp-image-undo-enable img)
)
)

, ,
1.scm. Script-Fu :
load "1.scm"

. :
(my-header "H1" "")

my-header (H1
, H2 , H3 ).
(. ).
.
" " myheader :
, (

);
, ;
GIMP,

GIMP, Script-Fu.

18.

313

18.6.4. Perl
Perl -,
(. 18.2). , Perl
,
,
. , Perl,
. Perl, Python,
GIMP "" Script-Fu.
18.6 Perl-,
.
: , .
, .
18.6. Perl-,
#!/usr/bin/perl
eval 'exec /usr/bin/perl -S $0 ${1+"$@"}'
if 0;
use Gimp qw(:auto __ N_);
use Gimp::Fu;
use Gimp::Util;
use strict;
# perl_fu_my_script ,
#
sub perl_fu_my_script {
#
my($x, $y, $bgcolor) = @_;
#
$img = new Image($x, $y, RGB);
#

314

V. GIMP

$img->undo_disable;
# :
# , , img
# =
# RGB
# First Layer
# 100
# NORMAL_MODE ()
$layer = new Layer($img, $x, $y, RGB, "First layer", 100, NORMAL_MODE);
#
$layer->add_layer(-1);
#
$prev_bg = Palette->get_background();
#
Palette->set_background($bgcolor);
#
$layer->edit_clear();
#
Palette->set_background($prev_bg);
#
$img->undo_enable;
# ()
return $img;
}
register "perl_fu_my_script",
"Create a new image",
"Hint for HELP button",
"Denis Kolisnichenko",
"(c) 2010 Denis Kolisnichenko ",

18.

315

"2010",
N_"<Image>/File/New image",
"*",
[
[PF_ADJUSTMENT, "x", N_"Width", "100"]
[PF_ADJUSTMENT, "y", N_"Height", "100"]
[PF_COLOR, "bgcolor", N_"Background", [255,0,0]]
],
\&perl_fu_my_script;
exit main();

, chmod + x <>.pl.

18.6.5. Python
Perl-, . , Python
( 18.7).
18.7. Python-,
#!/usr/bin/env python
import math
from gimpfu import *

# math
# GIMP

def create_new_image(bx=9, by=9, bg_color):


img = gimp.Image(bx, by, RGB)
img.disable_undo()

#
drawable = gimp.Layer(img, "Layer", width, height, RGB, 100, NORMAL_MODE)
#
old_bg = gimp.get_background()
#

V. GIMP

316
img.add_layer(drawable, 0)
#
gimp.set_background(bg_color)

# . GIMP
# pdb
pdb.gimp_edit_fill(drawable, BACKGROUND_FILL)
img.enable_undo()

#
gimp.set_background(old_bg)
#
register(
"python_fu_create_new_image",

"Create a new image",


"Create a new image",
"Denis Kolisnichenko",
"Denis Kolisnichenko",
"2010",
"<Image>/_File/_Create...",

#
#

"",
[
(PF_ADJUSTMENT, "bx", "Width", 100),
(PF_ADJUSTMENT, "by", "Heigth", 100),
(PF_COLOR, "bg_color", "Color", [0,0,0]),
],
[],
create_new_image)
main()

, chmod + x <>.py.

18.

317

18.7.
() GIMP .
: C, Script-Fu, Perl Python. C , GIMP C-,
, , C. Windows . C, , .

Script-Fu GIMP ,
.
Script-Fu, ( , )
,
. , , Script-Fu ( ).
glava18 , . glava18\Scripts 50 GIMP-, Script-Fu.
, , .
GIMP, GIMP API (, ):
http://developer.gimp.org/api/2.0/index.html.

http://gug.sunsite.dk/?page=tutorials.

Scheme, Script-Fu,
: http://www.schemers.org/Documents/Standards/R5RS/HTML/.
,
. , Script-Fu
Scheme, .

19


19.1. ?
, , . , (). .

.
? , ,
HTML-,
.
Web-, GIMP
, . GIMP!
GIMP .
. ,
(URL),
, .
, ,
HTML-. ,
.

19.2.
,
. ,
GIMP (. 19.1).

19.

. 19.1. GIMP

. 19.2.

319

320

V. GIMP

. 19.3. ,

| | . Image Map (. 19.2),


, , , (. Image Map).
, (URL) ,
(. 19.3).
. 19.2 , : URL. Image Map
, URL.
:
(. . 19.3) , URL

, ( target
_blank ), .
, ../index.html,
.

19.

321

, http://server.ru/text/index.html,
;
(. 19.4) :

, .
,
;

. 19.4. ,

JavaScript (. 19.5) JavaScript-

:
onMouseover , ""
;
onMouseout ,
;
onFocus
;
onBlur
.

322

V. GIMP

JavaScript- ,
, .
( URL) |
Image Map .
(. 19.6).

. 19.5. , JavaScript

. 19.6.

19.

323

.
, 19.1. , .
19.1.
<img src="127_2727.jpg" width="1024" height="768" border="0" usemap="#map" />
<map name="map">
<!-- #$-:Image map file created by GIMP Image Map plug-in -->
<!-- #$-:GIMP Image Map plug-in by Maurits Rijk -->
<!-- #$-:Please do not edit lines starting with "#$" -->
<!-- #$VERSION:2.3 -->
<!-- #$AUTHOR:Denis -->
<area shape="circle" coords="306,465,43" href="http://dkws.org.ua" />
<area shape="rect" coords="109,400,193,502" href="http://bmwclub.org.ua"
/>
<area shape="rect" coords="450,478,590,624"
href="http://bmwclub.org.ua/phpbb2/" />
</map>

, HTML-.
,
, <IMG>:
<img src="335i 007.jpg" width="1300" height="973" border="0" usemap="#map" />


( )
. , GIMP, .

19.3.
. , GIMP . 20
GIMP.

20


GIMP
20.1.
Windows- , () <PrintScreen>, <Alt>+<PrintScreen>.
, : Paint GIMP. Linux , , ksnapshot.
PNG.
GIMP . , GIMP.
.
GIMP.
<PrintScreen> ( -

<Alt>+<PrintScreen>), .
:
1. <PrintScreen> <Alt>+
+<PrintScreen>) ,
.
2. GIMP
<Shift>+<Ctrl>+<V>. |
| . GIMP
. .
. 20.1 GIMP.

20. GIMP

325

. 20.1.


: ,
.
Linux- . -

. (, GIMP )
, . Windows "" , . Linux
, ,

V. GIMP

326

. "" Linux , | | . (. 20.2),


( ). , ,
"",
. 5
. 5 .

. 20.2.

20.2. GIMP
GIMP . | | / , .
GIMP : TWAIN SANE
(Scanner Access Now Easy).
Windows, Mac OS.

TWAIN , , TWAIN
, : Technology Without
An Important Name ( ).

SANE , Linux
Mac OS, Windows .
SANE http://www.sane-project.org.

20. GIMP

327

GIMP ,
. TWAIN, SANE- . .
, TWAIN-,
( TWAIN- ).
USB-,

.

20.3. GIMP
20.3.1. Windows
( | ) , Windows (. 20.3).

. 20.3. ,

V. GIMP

328

. 20.4. ,


(. 20.4):
-

X Y;
, ,

, ;
-

(, , ).
, , (
), , ,
(. . 20.3)
. (. 20.5),

(, ). ,

20. GIMP

329

- ,

.

. 20.5.

20.3.2. Linux
GIMP Linux
gnome-print ( libgnomeprint). , . , , ,
. ,
gnome-print.

330

V. GIMP


()
. Linux
. , Fedora
system-config-printer, Mandriva drakprinter . .
Fedora
system-config-printer. , .
.

(. 20.6) .

. 20.6.

(. 20.7)
(. 20.8). ,
. ,
.
, .
(. 20.9).

20. GIMP

. 20.7.

. 20.8.

331

332

V. GIMP

. 20.9. ,

. 20.10.

20. GIMP

333

. 20.11.


(. 20.10).
, , :
-, . .
(. 20.11).


Linux- GIMP:
(. 20.12) ,

, ;
(. 20.13) , -

, ,
.;
(. 20.14) -

Windows- (. . 20.3.1);
(. 20.15) -

, , ,
;

334

V. GIMP

. 20.12.

. 20.13.

20. GIMP

. 20.14.

. 20.15.

335

V. GIMP

336

. 20.16.

(. 20.16) -

( Printout Mode) (
Resolution). Printout Mode :
Draft ( ?);
Normal ;
High Quality .

20.4.
Linux
20.4.1. Windows-
GDI- (Windows-) , Linux . GDI (Graphic
Device Interface, ),

20. GIMP

337

Linux? ( GDI) ,
.
. GDI- , , , "", , . , GDI-
Windows. . ,
, . ,
GDI- Linux, Windows Mac OS. Win-
Windows.
,
Linux. , -
Windows, Mac OS,
Linux. , , Windows
. Linux .
, , Linux . ,
, , . , .
, MS-DOS
, "" MS-DOS. - MS-DOS Windows 9x ( ), :
echo 1111 > PRN

, .
,
(LPT). , , USB.
Windows 9x ?
( ), GDI- Win? , ,
Linux . Windows, Linux , Samba, Linux

338

V. GIMP

Microsoft. - GDI Linux, ,


Windows, .
.
, " Win- Linux" http://www.nixp.ru/cgibin/go.pl?q=articles;a=win_printing_in_linux.
,
LINUX
GDI-,
, Windows .
, ,
. , ,
, . ,
, , .

20.4.2. Linux
Linux . , Mandriva scannerdrake. , Linux
.
Linux, ,
sane,
sane xsane.
, GIMP,

xsane, GIMP.
GIMP xsane-gimp.
, .

. - . , , .

20. GIMP

339


,
. , ?
, , xsane. , ,
.
, , , , .


?
, .
-, .
Fedora libsane-hpaio,
( ) HP,
. :
# yum install libsane-hpaio

Xerox :
http://www.support.xerox.com/go/prodselect.asp?Xlang=en_US
, .
Linux :
Samsung http://www.samsung.com/ur/support/productsupport/download/

index.aspx;
Epson http://support.epson.ru;
Lexmark http://support.lexmark.com/.

USB-
USB- ( LPT ) usbdevfs .
/etc/fstab ( ):
none /proc/bus/usb usbfs defaults 0 0

V. GIMP

340

mount -a ,
/etc/fstab .
usbdevfs.
:
# mknod /dev/usbscanner0 c 180 48
# chmod a+rw /dev/usbscanner0

, 2.6 ( ), .

USB-. :
# lspci | grep USB

- :
00:07.2 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB,
, USB-.
, USB-, Linux " "
. ,
:
# modprobe usb-uhci

:
# cat /proc/bus/usb/devices

, , :
...
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=ff(vend.) Sub=ff Prot=ff MxPS=64 #Cfgs= 1
P: Vendor=04b8 ProdID=0x0110 Rev= 1.00
S: Manufacturer=EPSON
S: Product=EPSON Scanner
...
(Vendor) 04b8
(ProdID) 0x0110.
EPSON, , ProdID=0x1110
Perfection 1650. Epson
. 20.1.

20. GIMP

341

20.1. Epson

0x0101

Perfection 636U

0x0103

Perfection 610

0x0104

Perfection 1200U

0x0106

Stylus Scan 2500

0x0107

Espression 1600

0x010a

Perfection 1640

0x010b

Perfection 1240U

0x010e

Espression 1680

0x0110

Perfection 1660

0x011b

Perfection 2400

0x0112

Perfection 2450

.
. , ,
cat /proc/bus/usb/devices, scanner:
# modprobe scanner

.
, ID ID , scanner,
:
# modprobe scanner vendor=XXX product=XXX


/etc/modules.conf :
# echo "options scanner vendor=xxx product=xxx" >> /etc/modules.conf

xsane. :
# sane-find-scanner

"" ( scanner "" ),


sane-find-scanner . :
sane-find-scanner: found USB scanner (vendor = 0x04b8, product = 0x1110)
at device /dev/usb/scanner0

V. GIMP

342

/etc/sane.d.
. , , , epson.conf, :
usb /dev/usb/scanner0

: /dev/usb/scanner0 ,
sane-find-scanner.
, xsane:
xsane

LPT-
LPT-, . BIOS EPP+ECP . .
Linux :
# modprobe scsi_mod
# modprobe sg
# modprobe parport
# modprobe parport_pc
# modprobe ppscsi
# modprobe epst
# modprobe scsi_mod

SCSI . /proc/scsi/scsi , :
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: xxxx
Type:

Model: xxxxx

Processor

Rev: 3740

ANSI SCSI revision: 02

:
ln -s /dev/sgX /dev/scanner

X .
/proc/scsi/scsi , X 0, 1,
2 . . , , , :
ln -s /dev/sg0 /dev/scanner0

20. GIMP

343

/etc/sane.d ,
, , epson.conf. :
scsi /dev/scanner0

/dev/sgX,
:
chmod og+rw /dev/sgX

20.5.
GIMP ,
, . .

! , ,
GIMP.
, , GIMP
.
,
, , .

. , , , , GIMP,
, .
, GIMP . , !
! , (
).
GIMP!

GIMP,
:
() .

,
. ,
|
;

, , -. | | -;
GIMP , . -

. .
;

GIMP, , ;
GIMP " ".

gz ( bz2). , example.bmp example.bmp.gz.


, .
Windows, Linux;
<Tab>, , /

GIMP ;

350

, 15,

<Ctrl>;
.

,
| ;
|

;
-

. "" .
, | ( ).

DVD
GIMP (2.6.7), GIMP
(2.7), , .
. 2 .
2. DVD

brushes

740 GIMP. 10

10

docs

( 2.6.0) ( , )

gimp

GIMP ( 2.6.7 2.7.0)


Windows- Mac-. Linux-, ,
Linux

glava13

13

glava14

() GIF- XCF

14

glava15

, JavaScript-

15

glava17

17

glava18

18

glava18/mingw

C Windows

18

352

2 ()

glava18/scripts

GIMP

18

images

116 ,

patterns

400 GIMP

11

src

2.6.7 2.7.0.
GAP (GIMP Animation
Package).

A
ACDSee 13
C
cannerdrake 338
CCITT Fax 3 & 4 86
CMYK 256
CompuServe 83

K
ksnapshot 324
L
libgnomeprint 329
LPT- 342
LZW- 83
O

Open Source 17

drakprinter 330
P
G
GDI- 336
GIMP 126
gimptool 292
GPL 17
GTK 16
H
HSV (HSB) 245
HTML- 246
I
IDE- 71
J
JavaScript 321
JBIG 86

PDB 296
Perl 290, 295
Photoshop 13
Python 290, 295
R
Red Hat 25
RGB 202, 245
RGBA 202
RPM- 26, 27
RPM- 25
S
SANE 326
SATA- 71
Script-Fu 290, 294
splash- 72
system-config-printer 330

354

T
TWAIN 326

W
Web- 236
X

U
USB- 339
User Account Control 17

219
82
- 34, 77, 200
227
231
219
145
82

151

129
151
275
108

- 85
262
77
185

:
38, 196, 212
, , 36
66
184
259, 285

X Window System 86
X11 30
xsane 339

26
144

60
219
:
let 307
set! 306
:
150
102
108
105
143
94
121
185
144
123
139
139
183
158
254
145
119
120
123
117
119
96
101

114
- 114
106
113
99
- 116
/ 149
149
148
256
120
/ 132
110
147, 217
251
- 250
112
249
149
55

131
34
34, 153
279
281, 318
70
JPEG 129
168
171
171
171
171

17
35, 156
162
159
159

145
195

355

127
28
339

53
53
GEGL 125
234

26
189
189
60
264
285
68
269
259, 281
77

132
35, 285
285
:
151
75
RGB 76
76
77
95
27

227
61
57
35, 287

356

34, 195
200
214
205
202
GIMP 16

181
181
57
RPM 25

269
269
66
117
254
254

259
282
281
282
279
270
267
277
278
261
274
267
275
:
BMP 12, 78
DDB 78
DIB 78
GIF 12, 77, 83
JPEG 12, 80

PCX 12
PDF 12
PNG 12, 77, 84
PNM 12
PS 12
PSD 12
SGI 12
SunRas 12
TGA 12
TIFF 12, 85
X BitMap 86
X PixMap 86
XCF 87
XPM 12
77
:
gimp-context-pop 309, 310
gimp-context-push 309
gimp-context-set-background 309
gimp-context-set-foreground 309
gimp-display-new 310
gimp-edit-fill 309
gimp-image-add-layer 309
gimp-image-undo-enable 309, 310
gimp-selection-none 310
register 299
script-fu-register 296
310

198

YCbCr 81

83

134

Оценить