Debian Codegraph @

help/C/tools_transform.page

raw
1 <?xml version="1.0" encoding="utf-8"?>
2 <page xmlns="http://projectmallard.org/1.0/"
3 xmlns:its="http://www.w3.org/2005/11/its" type="task" style="task"
4 id="tools_transform">
5
6 <info>
7 <link type="guide" xref="index#tools"/>
8 <include xmlns="http://www.w3.org/2001/XInclude" href="legal.xml"/>
9 <credit type="author">
10 <name its:translate="no">Romain F. T.</name>
11 <email its:translate="no">[email protected]</email>
12 </credit>
13 <desc>Apply a transformation to the image or the current selection.</desc>
14 </info>
15
16 <title>Transform the image or the selection</title>
17
18 <p>These tools are available from the side bar (along with
19 <link xref="tools_classic">the other tools</link>), or from a right click on
20 a <link xref="tools_selection">selected area</link>.</p>
21
22 <note style="important">
23 <p>With these tools, once you have the transformation you want, you have to
24 apply the result with the <gui style="button">Apply</gui> button at the
25 right.</p>
26 <p>Otherwise you can cancel the transformation with the <gui style="button">
27 Cancel</gui> button at the left.</p>
28 </note>
29
30 <p>When a selection is defined, these tools will transform the selected area,
31 otherwise they will transform the picture as a whole.</p>
32
33 <note style="tip">
34 <p>If you switch to another tool without applying the transformation
35 explicitely, the transformation will be automatically applied if it concerns
36 the selection, but automatically cancelled if it concerns the whole image.</p>
37 </note>
38
39 <p>If you try to save without applying the transformation, a dialog will
40 remind you that you should apply it before saving.</p>
41
42 <section id="crop">
43 <title>Crop</title>
44
45 <p>Change the size of the image, by removing parts of it. The side you're
46 cropping is indicated by the mouse cursor: it changes depending on the
47 position of the mouse pointer on the canvas.</p>
48 <p>The exact size can be set using the values in the bottom bar.</p>
49
50 <note style="tip">
51 <p>If your increasing the size of the image instead of decreasing it, you
52 may need to change the zoom level to see what you're doing.</p>
53 </note>
54
55 <p>The color of the pixels you create when increasing the size is
56 customizable, using the menu at the bottom-right of the window, or by
57 pressing <key>Shift</key> and/or <key>Alt</key> when you click to resize.</p>
58 </section>
59
60 <section id="scale">
61 <title>Scale</title>
62
63 <p>Resize the image, using the mouse or the values in the bottom bar.</p>
64 <p>These numerical values are in pixels by default, but it's possible to
65 resize according to a percentage of the original image.</p>
66
67 <p>The proportions of the image can be locked or not, using the menu at the
68 bottom-right of the window, or by pressing <key>Shift</key> when you click
69 to resize.</p>
70
71 <media type="image" mime="image/png" width="80%" its:translate="no"
72 src="figures/screenshot_scale.png" />
73 </section>
74
75 <section id="rotate">
76 <title>Rotate</title>
77
78 <p>Change the orientation of the image, or flip it, using the buttons in the
79 bottom bar.</p>
80 <p>If a selection is defined, you can freely choose the precise angle of the
81 rotation. Otherwise, only rotations of 90°, 180° or 270° are possible.</p>
82 </section>
83
84 <section id="skew">
85 <title>Skew</title>
86
87 <p>This optional tool tilts the image horizontally, vertically, or in both
88 directions.</p>
89 <p>If you're skewing the canvas, the operation creates new pixels: their
90 color is customizable, using the menu at the bottom-right of the window, or
91 by pressing <key>Shift</key> and/or <key>Alt</key> when you click to skew.</p>
92 </section>
93
94 <section id="filters">
95 <title>Filters</title>
96
97 <p>You can apply a filter to the image or the selection. Click on the
98 picture to preview the selected filter.</p>
99 <list>
100 <item>
101 <p>Change the <gui style="menuitem">Saturation</gui>: increase or
102 decrease the saturation of the image by modifying the number in the
103 bottom bar.</p>
104 <p>A saturation bigger than 100% boosts the colors, a saturation smaller
105 than 100% does a greyish image.</p>
106 </item>
107 <item>
108 <p><gui style="menuitem">Veil</gui> will add a slightly desaturated veil
109 upon the image, with a thin grey pixelated pattern.</p>
110 <!-- une trame se dit "screentone" mais ici ça ne s'applique guère -->
111 <!-- puisque c'est gris -->
112 </item>
113 <item>
114 <p><gui style="menuitem">Add transparency</gui> can make the image
115 partly translucent, depending on the percentage you can set in the
116 bottom bar.</p>
117 </item>
118 <item>
119 <p><gui style="menuitem">Increase contrast</gui> will increase the
120 contrast in the picture: dark areas will be darker, light areas will be
121 lighter, and color will be stronger. Using the option in the bottom bar,
122 you can choose how strong the effect will be.</p>
123 </item>
124 <!-- <item> -->
125 <!-- <p><gui style="menuitem">Emboss</gui>, disabled for now</p> -->
126 <!-- </item> -->
127 <item>
128 <p><gui style="menuitem">Blur</gui>, and several variations of it, will
129 blur the image using a parametrable radius.</p>
130 <note style="warning">
131 <p>Be careful, if the image is big, applying blur to the image can
132 take a few seconds.</p>
133 </note>
134 </item>
135 <item>
136 <p><gui style="menuitem">Invert colors</gui>.</p>
137 </item>
138 </list>
139
140 <p>Here is an example of filters applied on small areas of an image:</p>
141 <media type="image" mime="image/png" width="80%" its:translate="no"
142 src="figures/screenshot_filters.png" />
143 </section>
144
145 </page>
146