Regen main docs' TXT via w3m!

This commit is contained in:
Bill Kendrick 2023-07-16 10:49:44 -07:00
parent 82ee0dda75
commit 0ceb9224c4
72 changed files with 38988 additions and 37180 deletions

View file

@ -6,8 +6,7 @@
June 4, 2022
----------------------------------------------------------------------
-------------------------------------------------------------------------------
+----------------------------------------+
| Table of Contents |
|----------------------------------------|
@ -17,26 +16,22 @@
| * Replace the fringe and junk pixels |
| * Save the image for Tux Paint |
+----------------------------------------+
----------------------------------------------------------------------
----------------------------------------------------------------------
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
About this 'How-To'
This 'How-To' assumes that you want to make an excellent Tux Paint
stamp, in PNG bitmapped format, from a JPEG image (e.g., a digital
photograph). There are easier and faster methods that produce lower
quality.
This 'How-To' assumes that you want to make an excellent Tux Paint stamp,
in PNG bitmapped format, from a JPEG image (e.g., a digital photograph).
There are easier and faster methods that produce lower quality.
This 'How-To' assumes you are dealing with normal opaque objects.
Dealing with semi-transparent objects (fire, moving fan blade, kid's
balloon) or light-giving objects (fire, lightbulb, sun) is best done
with custom software. Images with perfect solid-color backgrounds are
also best done with custom software, but are not troublesome to do as
follows.
This 'How-To' assumes you are dealing with normal opaque objects. Dealing
with semi-transparent objects (fire, moving fan blade, kid's balloon) or
light-giving objects (fire, lightbulb, sun) is best done with custom
software. Images with perfect solid-color backgrounds are also best done
with custom software, but are not troublesome to do as follows.
----------------------------------------------------------------------
-------------------------------------------------------------------------------
Image choice is crucial
@ -44,9 +39,9 @@ Image choice is crucial
If you wish to submit artwork to the Tux Paint developers for
consideration for inclusion in the official project, or if you wish to
release your own copy of Tux Paint, bundled with your own graphics,
you need an image that is compatible with the GNU General Public
License used by Tux Paint.
release your own copy of Tux Paint, bundled with your own graphics, you
need an image that is compatible with the GNU General Public License
used by Tux Paint.
Images produced by the US government are Public Domain, but be aware
that the US government sometimes uses other images on the web. Google
@ -71,10 +66,10 @@ Image choice is crucial
Rotating an image can make it blurry, especially if you only rotate by
a few degrees. Images that don't need rotation are best, images that
need lots of rotation (30 to 60 degrees) are next best, and images
that need just a few degrees are worst. Rotation will also make an
image darker because most image editing software is very bad about
gamma handling. (Rotation is only legitimate for gamma=1.0 images.)
need lots of rotation (30 to 60 degrees) are next best, and images that
need just a few degrees are worst. Rotation will also make an image
darker because most image editing software is very bad about gamma
handling. (Rotation is only legitimate for gamma=1.0 images.)
Very large images are more forgiving of mistakes, and thus easier to
work with. Choose an image with an object that is over 1000 pixels
@ -83,31 +78,31 @@ Image choice is crucial
Be sure that the image is not too grainy, dim, or washed out.
Pay attention to feet and wheels. If they are buried in something, you
will need to draw new ones. If only one is buried, you might be able
to copy the other one as a replacement.
will need to draw new ones. If only one is buried, you might be able to
copy the other one as a replacement.
----------------------------------------------------------------------
-------------------------------------------------------------------------------
Prepare the image
First of all, be sure to avoid re-saving the image as a JPEG. This
causes quality loss. There is a special tool called jpegtran that lets
you crop an image without the normal quality loss.
First of all, be sure to avoid re-saving the image as a JPEG. This causes
quality loss. There is a special tool called jpegtran that lets you crop an
image without the normal quality loss.
jpegtran -trim -copy none -crop 512x1728+160+128 < src.jpg >
cropped.jpg
Bring that image up in your image editor. If you didn't crop it yet, you
may find that your image editor is very slow. Rotate and crop the image
as needed. Save the image — choose whatever native format supports
layers, masks, alpha, etc. GIMP users should choose "XCF", and Adobe
Photoshop users should choose "PSD", for example.
may find that your image editor is very slow. Rotate and crop the image as
needed. Save the image — choose whatever native format supports layers,
masks, alpha, etc. GIMP users should choose "XCF", and Adobe Photoshop
users should choose "PSD", for example.
If you have rotated or cropped the image in your image editor, flatten
it now. You need to have just one RGB layer without mask or alpha.
If you have rotated or cropped the image in your image editor, flatten it
now. You need to have just one RGB layer without mask or alpha.
Open the layers dialog box. Replicate the one layer several times. From
top to bottom you will need something like this:
Open the layers dialog box. Replicate the one layer several times. From top
to bottom you will need something like this:
1. unmodified image (write-protect this if you can)
2. an image you will modify — the "work in progress" layer
@ -115,152 +110,147 @@ Prepare the image
4. solid magenta (write-protect this if you can)
5. unmodified image (write-protect this if you can)
Give the work in progress (WIP) layer a rough initial mask. You might
start with a selection, or by using the grayscale value of the WIP
layer. You might invert the mask.
Give the work in progress (WIP) layer a rough initial mask. You might start
with a selection, or by using the grayscale value of the WIP layer. You
might invert the mask.
Warning: once you have the mask, you may not rotate or scale the image
normally. This would cause data loss. You will be given special scaling
instructions later.
----------------------------------------------------------------------
-------------------------------------------------------------------------------
Prepare the mask
Get used to doing [Control]-click and [Alt]-click on the thumbnail
images in the layers dialog. You will need this to control what you are
looking at and what you are editing. Sometimes you will be editing
things you can't see. For example, you might edit the mask of the WIP
layer while looking at the unmodified image. Pay attention so you don't
screw up. Always verify that you are editing the right thing.
Get used to doing [Control]-click and [Alt]-click on the thumbnail images
in the layers dialog. You will need this to control what you are looking at
and what you are editing. Sometimes you will be editing things you can't
see. For example, you might edit the mask of the WIP layer while looking at
the unmodified image. Pay attention so you don't screw up. Always verify
that you are editing the right thing.
Set an unmodified image as what you will view (the top one is easiest).
Set the WIP mask as what you will edit. At some point, perhaps not
immediately, you should magnify the image to about 400% (each pixel of
the image is seen and edited as a 4x4 block of pixels on your screen).
Set an unmodified image as what you will view (the top one is easiest). Set
the WIP mask as what you will edit. At some point, perhaps not immediately,
you should magnify the image to about 400% (each pixel of the image is seen
and edited as a 4x4 block of pixels on your screen).
Select parts of the image that need to be 100% opaque or 0% opaque. If
you can select the object or background somewhat accurately by color, do
so. As needed to avoid selecting any pixels that should be partially
opaque (generally at the edge of the object) you should grow, shrink,
and invert the selection.
Select parts of the image that need to be 100% opaque or 0% opaque. If you
can select the object or background somewhat accurately by color, do so. As
needed to avoid selecting any pixels that should be partially opaque
(generally at the edge of the object) you should grow, shrink, and invert
the selection.
Fill the 100% opaque areas with white, and the 0% opaque areas with
black. This is most easily done by drag-and-drop from the
foreground/background color indicator. You should not see anything
happen, because you are viewing the unmodified image layer while editing
the mask of the WIP layer. Large changes might be noticable in the
thumbnail.
Fill the 100% opaque areas with white, and the 0% opaque areas with black.
This is most easily done by drag-and-drop from the foreground/background
color indicator. You should not see anything happen, because you are
viewing the unmodified image layer while editing the mask of the WIP layer.
Large changes might be noticable in the thumbnail.
Now you must be zoomed in.
Check your work. Hide the top unmodified image layer. Display just the
mask, which should be a white object on a black background (probably
with unedited grey at the edge). Now display the WIP layer normally, so
that the mask is active. This should show your object over top of the
next highest enabled layer, which should be green or magenta as needed
for maximum contrast. You might wish to flip back and forth between
those backgrounds by repeatedly clicking to enable/disable the green
layer. Fix any obvious and easy problems by editing the mask while
viewing the mask.
mask, which should be a white object on a black background (probably with
unedited grey at the edge). Now display the WIP layer normally, so that the
mask is active. This should show your object over top of the next highest
enabled layer, which should be green or magenta as needed for maximum
contrast. You might wish to flip back and forth between those backgrounds
by repeatedly clicking to enable/disable the green layer. Fix any obvious
and easy problems by editing the mask while viewing the mask.
Go back to viewing the top unmodified layer while editing the WIP mask.
Set your drawing tool the paintbrush. For the brush, choose a small
fuzzy circle. The 5x5 size is good for most uses.
Go back to viewing the top unmodified layer while editing the WIP mask. Set
your drawing tool the paintbrush. For the brush, choose a small fuzzy
circle. The 5x5 size is good for most uses.
With a steady hand, trace around the image. Use black around the
outside, and white around the inside. Avoid making more than one pass
without switching colors (and thus sides).
With a steady hand, trace around the image. Use black around the outside,
and white around the inside. Avoid making more than one pass without
switching colors (and thus sides).
Flip views a bit, checking to see that the mask is working well. When
the WIP layer is composited over the green or magenta, you should see a
tiny bit of the original background as an ugly fringe around the edge.
If this fringe is missing, then you made the object mask too small. The
fringe consists of pixels that are neither 100% object nor 0% object.
For them, the mask should be neither 100% nor 0%. The fringe gets
removed soon.
Flip views a bit, checking to see that the mask is working well. When the
WIP layer is composited over the green or magenta, you should see a tiny
bit of the original background as an ugly fringe around the edge. If this
fringe is missing, then you made the object mask too small. The fringe
consists of pixels that are neither 100% object nor 0% object. For them,
the mask should be neither 100% nor 0%. The fringe gets removed soon.
View and edit the mask. Select by color, choosing either black or white.
Most likely you will see unselected specks that are not quite the
expected color. Invert the selection, then paint these away using the
pencil tool. Do this operation for both white and black.
Most likely you will see unselected specks that are not quite the expected
color. Invert the selection, then paint these away using the pencil tool.
Do this operation for both white and black.
----------------------------------------------------------------------
-------------------------------------------------------------------------------
Replace the fringe and junk pixels
Still viewing the mask, select by color. Choose black. Shrink the
selection by several pixels, being sure to NOT shrink from the edges of
the mask (the shrink helps you avoid and recover from mistakes).
Still viewing the mask, select by color. Choose black. Shrink the selection
by several pixels, being sure to NOT shrink from the edges of the mask (the
shrink helps you avoid and recover from mistakes).
Now disable the mask. View and edit the unmasked WIP layer. Using the
color picker tool, choose a color that is average for the object.
Drag-and-drop this color into the selection, thus removing most of the
non-object pixels.
Now disable the mask. View and edit the unmasked WIP layer. Using the color
picker tool, choose a color that is average for the object. Drag-and-drop
this color into the selection, thus removing most of the non-object pixels.
This solid color will compress well and will help prevent ugly color
fringes when Tux Paint scales the image down. If the edge of the object
has multiple colors that are very different, you should split up your
selection so that you can color the nearby background to be similar.
fringes when Tux Paint scales the image down. If the edge of the object has
multiple colors that are very different, you should split up your selection
so that you can color the nearby background to be similar.
Now you will paint away the existing edge fringe. Be sure that you are
editing and viewing the WIP image. Frequent layer visibility changes
will help you to see what you are doing. You are likely to use all of:
editing and viewing the WIP image. Frequent layer visibility changes will
help you to see what you are doing. You are likely to use all of:
* composited over green (mask enabled)
* composited over magenta (mask enabled)
* original (the top or bottom layer)
* composited over the original (mask enabled)
* raw WIP layer (mask disabled)
+ composited over green (mask enabled)
+ composited over magenta (mask enabled)
+ original (the top or bottom layer)
+ composited over the original (mask enabled)
+ raw WIP layer (mask disabled)
To reduce accidents, you may wish to select only those pixels that are
not grey in the mask. (Select by color from the mask, choose black, add
mode, choose white, invert. Alternately: Select all, select by color
from the mask, subtract mode, choose black, choose white.) If you do
this, you'll probably want to expand the selection a bit and/or hide the
"crawling ants" line that marks the selection.
To reduce accidents, you may wish to select only those pixels that are not
grey in the mask. (Select by color from the mask, choose black, add mode,
choose white, invert. Alternately: Select all, select by color from the
mask, subtract mode, choose black, choose white.) If you do this, you'll
probably want to expand the selection a bit and/or hide the "crawling ants"
line that marks the selection.
Use the clone tool and the brush tool. Vary the opacity as needed. Use
small round brushes mostly, perhaps 3x3 or 5x5, fuzzy or not. (It is
generally nice to pair up fuzzy brushes with 100% opacity and non-fuzzy
brushes with about 70% opacity.) Unusual drawing modes can be helpful
with semi-transparent objects.
brushes with about 70% opacity.) Unusual drawing modes can be helpful with
semi-transparent objects.
The goal is to remove the edge fringe, both inside and outside of the
object. The inside fringe, visible when the object is composited over
magenta or green, must be removed for obvious reasons. The outside
fringe must also be removed because it will become visible when the
image is scaled down. As an example, consider a 2x2 region of pixels at
the edge of a sharp-edged object. The left half is black and 0% opaque.
The right half is white and 100% opaque. That is, we have a white object
on a black background. When Tux Paint scales this to 50% (a 1x1 pixel
area), the result will be a grey 50% opaque pixel. The correct result
would be a white 50% opaque pixel. To get this result, we would paint
away the black pixels. They matter, despite being 0% opaque.
magenta or green, must be removed for obvious reasons. The outside fringe
must also be removed because it will become visible when the image is
scaled down. As an example, consider a 2x2 region of pixels at the edge of
a sharp-edged object. The left half is black and 0% opaque. The right half
is white and 100% opaque. That is, we have a white object on a black
background. When Tux Paint scales this to 50% (a 1x1 pixel area), the
result will be a grey 50% opaque pixel. The correct result would be a white
50% opaque pixel. To get this result, we would paint away the black pixels.
They matter, despite being 0% opaque.
Tux Paint can scale images down by a very large factor, so it is
important to extend the edge of your object outward by a great deal.
Right at the edge of your object, you should be very accurate about
this. As you go outward away from the object, you can get a bit sloppy.
It is reasonable to paint outward by a dozen pixels or more. The farther
you go, the more Tux Paint can scale down without creating ugly color
fringes. For areas that are more than a few pixels away from the object
edge, you should use the pencil tool (or sloppy select with
drag-and-drop color) to ensure that the result will compress well.
Tux Paint can scale images down by a very large factor, so it is important
to extend the edge of your object outward by a great deal. Right at the
edge of your object, you should be very accurate about this. As you go
outward away from the object, you can get a bit sloppy. It is reasonable to
paint outward by a dozen pixels or more. The farther you go, the more Tux
Paint can scale down without creating ugly color fringes. For areas that
are more than a few pixels away from the object edge, you should use the
pencil tool (or sloppy select with drag-and-drop color) to ensure that the
result will compress well.
----------------------------------------------------------------------
-------------------------------------------------------------------------------
Save the image for Tux Paint
It is very easy to ruin your hard work. Image editors can silently
destroy pixels in 0% opaque areas. The conditions under which this
happens may vary from version to version. If you are very trusting, you
can try saving your image directly as a PNG. Be sure to read it back in
again to verify that the 0% opaque areas didn't turn black or white,
which would create fringes when Tux Paint scales the image down. If you
need to scale your image to save space (and hide your mistakes), you are
almost certain to destroy all the 0% opaque areas. So here is a better
way...
It is very easy to ruin your hard work. Image editors can silently destroy
pixels in 0% opaque areas. The conditions under which this happens may vary
from version to version. If you are very trusting, you can try saving your
image directly as a PNG. Be sure to read it back in again to verify that
the 0% opaque areas didn't turn black or white, which would create fringes
when Tux Paint scales the image down. If you need to scale your image to
save space (and hide your mistakes), you are almost certain to destroy all
the 0% opaque areas. So here is a better way...
A Safer Way to Save
@ -271,17 +261,17 @@ Save the image for Tux Paint
with an image that is about 700 to 1500 pixels across, and end up with
one that is 300 to 400.
Save the mask image as a NetPBM portable greymap (".pgm") file. (If
you are using an old release of The GIMP, you might need to convert
the image to greyscale before you can save it.) Choose the more
compact "RAW PGM" format. (The second character of the file should be
the ASCII digit "5", hex byte 0x35.)
Save the mask image as a NetPBM portable greymap (".pgm") file. (If you
are using an old release of The GIMP, you might need to convert the
image to greyscale before you can save it.) Choose the more compact
"RAW PGM" format. (The second character of the file should be the ASCII
digit "5", hex byte 0x35.)
You may close the mask image.
Going back to the multi-layer image, now select the WIP layer. As you
did with the mask, drag this from the layers dialog to the toolbar.
You should get a single-layer image of your WIP data. If the mask came
did with the mask, drag this from the layers dialog to the toolbar. You
should get a single-layer image of your WIP data. If the mask came
along too, get rid of it. You should be seeing the object and the
painted-away surroundings, without any mask thumbnail in the layers
dialog. If you scaled the mask, then scale this image in exactly the
@ -289,8 +279,9 @@ Save the image for Tux Paint
(Note: .ppm, not .pgm.) (If you choose the RAW PPM format, the second
byte of the file should be the ASCII digit "6", hex byte 0x36.)
Now you need to merge the two files into one. Do that with the
pnmtopng command, like this:
Now you need to merge the two files into one. Do that with the pnmtopng
command, like this:
pnmtopng -force -compression 9 -alpha mask.pgm fg.ppm >
final-stamp.png

View file

@ -7,91 +7,97 @@
May 5, 2023
----------------------------------------------------------------------
-------------------------------------------------------------------------------
Tux Paint understands a number of environment variables, either directly,
or indirectly by the libraries that it utilizes.
Tux Paint understands a number of environment variables, either directly, or
indirectly by the libraries that it utilizes.
Storage-related environment variables
HOME
Specifies the user's "home directory", which is used to locate
numerous other files or directories. In some cases, it is utilized
as part of a fall-back location, when other environment variables
(elsewhere in this documentation) are not set. Sometimes, the
location to use can be overridden by options provided on the
command-line or via Tux Paint's configuration file. See the
"OPTIONS" documentation for details.
Specifies the user's "home directory", which is used to locate numerous
other files or directories. In some cases, it is utilized as part of a
fall-back location, when other environment variables (elsewhere in this
documentation) are not set. Sometimes, the location to use can be
overridden by options provided on the command-line or via Tux Paint's
configuration file. See the "OPTIONS" documentation for details.
A few examples of where "$HOME" is used include:
* The location of Tux Paint's configuration file
* The basis of where Tux Paint saves and loads users' drawings
* The location of a user's private collection of data files —
stamps, brushes, etc. — (versus those available system wide)
+ The location of Tux Paint's configuration file
+ The basis of where Tux Paint saves and loads users' drawings
+ The location of a user's private collection of data files — stamps,
brushes, etc. — (versus those available system wide)
XDG_CONFIG_HOME
On Linux and other platforms where the X Desktop Group standards
are used, the location of the user's configuration files.
Specifically, where to find "user-dirs.dirs", where the
"XDG_PICTURES_DIR" might be defined. It is used for exporting
drawings and animated GIFs. Generally it's set to something like
"$HOME/Pictures/". If not specified, Tux Paint checks in the
directory "$HOME/.config/". If the configuration cannot be found,
Tux Paint simply exports drawings and GIFs to "$HOME".
On Linux and other platforms where the X Desktop Group standards are used,
the location of the user's configuration files. Specifically, where to find
"user-dirs.dirs", where the "XDG_PICTURES_DIR" might be defined. It is used
for exporting drawings and animated GIFs. Generally it's set to something
like "$HOME/Pictures/". If not specified, Tux Paint checks in the directory
"$HOME/.config/". If the configuration cannot be found, Tux Paint simply
exports drawings and GIFs to "$HOME".
XDG_DATA_HOME
On Linux and other platforms where the X Desktop Group standards
are used, the location of the user's data directories.
Specifically, where to find the "Trash" directory. It is used when
deleting images from Tux Paint's "Open" dialog. If not set, the
location "$HOME/.local/share/Trash/" is used, if available. If
not, images are simply deleted, rather than moved anywhere.
On Linux and other platforms where the X Desktop Group standards are used,
the location of the user's data directories. Specifically, where to find
the "Trash" directory. It is used when deleting images from Tux Paint's
"Open" dialog. If not set, the location "$HOME/.local/share/Trash/" is
used, if available. If not, images are simply deleted, rather than moved
anywhere.
TEMP
Specifies the location where temporary files may be created. Only
used by Tux Paint on Microsoft Windows OSes. Uses "userdata" if
not set.
Specifies the location where temporary files may be created. Only used by
Tux Paint on Microsoft Windows OSes. Uses "userdata" if not set.
Language-related environment variables
LANG
LANGUAGE
LC_ALL
LC_MESSAGES
Specify the language Tux Paint should utilize in its user
interface. Overridde by the "--lang" and "--locale" command-line
options or their configuration file counterparts. The "LANGUAGE"
environment variable is used, if set. If not, "LC_ALL" is used as
a fallback. Then "LC_MESSAGES", and finally "LANG".
Specify the language Tux Paint should utilize in its user interface.
Overridde by the "--lang" and "--locale" command-line options or their
configuration file counterparts. The "LANGUAGE" environment variable is
used, if set. If not, "LC_ALL" is used as a fallback. Then "LC_MESSAGES",
and finally "LANG".
Display-related environment variables
The following are a few of the environment variables supported by Simple
DirectMedia Layer (libSDL) — which Tux Paint utilizes for displaying
graphics, playing sounds, and receiving mouse, keyboard, and joystick
input — and which may be useful to users of Tux Paint.
DirectMedia Layer (libSDL) — which Tux Paint utilizes for displaying graphics,
playing sounds, and receiving mouse, keyboard, and joystick input — and which
may be useful to users of Tux Paint.
SDL_VIDEO_ALLOW_SCREENSAVER
Specifies whether Tux Paint should allow a screensaver to run. Can
be set to '1' (true) by Tux Paint itself by issuing the
command-line option "--allowscreensaver" or its configuration file
counterpart.
Specifies whether Tux Paint should allow a screensaver to run. Can be set
to '1' (true) by Tux Paint itself by issuing the command-line option
"--allowscreensaver" or its configuration file counterpart.
SDL_VIDEO_WINDOW_POS
Requests where to position Tux Paint's window, and can be used to
specify what display to place a fullscreen Tux Paint in a
multi-monitor configuration. If not set, or set to "nopref"
(meaning "no preference"), Simple DirectMedia Layer (libSDL)
decides. Can be set to an X,Y coordinate (e.g. 200,100), or
"center" (meaning "center").
Requests where to position Tux Paint's window, and can be used to specify
what display to place a fullscreen Tux Paint in a multi-monitor
configuration. If not set, or set to "nopref" (meaning "no preference"),
Simple DirectMedia Layer (libSDL) decides. Can be set to an X,Y coordinate
(e.g. 200,100), or "center" (meaning "center").

File diff suppressed because it is too large Load diff

View file

@ -6,8 +6,7 @@
July 13, 2023
----------------------------------------------------------------------
-------------------------------------------------------------------------------
+------------------------------+
| Table of Contents |
|------------------------------|
@ -20,549 +19,549 @@
| * Other Problems |
| * Help / Contact |
+------------------------------+
----------------------------------------------------------------------
-------------------------------------------------------------------------------
Drawing-related
Fonts I added to Tux Paint only show squares
The TrueType Font you're using might have the wrong encoding. If
it's 'custom' encoded, for example, you can try running it through
FontForge (http://fontforge.sourceforge.net/) to convert it to an
ISO-8859 format. (Email us if you need help with special fonts.)
The TrueType Font you're using might have the wrong encoding. If it's
'custom' encoded, for example, you can try running it through FontForge (
http://fontforge.sourceforge.net/) to convert it to an ISO-8859 format.
(Email us if you need help with special fonts.)
The Rubber Stamp tool is greyed out!
This means that Tux Paint either couldn't find any stamp images,
or was asked not to load them.
This means that Tux Paint either couldn't find any stamp images, or was
asked not to load them.
If you installed Tux Paint, but did not install the separate,
optional "Stamps" collection, quit Tux Paint and install it now.
It should be available from the same place you got the main Tux
Paint program. (Note: As of version 0.9.14, Tux Paint comes with a
small collection of example stamps.)
If you installed Tux Paint, but did not install the separate, optional
"Stamps" collection, quit Tux Paint and install it now. It should be
available from the same place you got the main Tux Paint program. (Note: As
of version 0.9.14, Tux Paint comes with a small collection of example
stamps.)
If you don't want to install the default collection of stamps, you
can just create your own. See the "Extending Tux Paint"
documentation for more on creating PNG and SVG image files, TXT
text description files, Ogg Vorbis, MP3 or WAV sound files, and
DAT text data files that make up stamps.
If you don't want to install the default collection of stamps, you can just
create your own. See the "Extending Tux Paint" documentation for more on
creating PNG and SVG image files, TXT text description files, Ogg Vorbis,
MP3 or WAV sound files, and DAT text data files that make up stamps.
Finally, if you installed stamps, and think they should be loading, check
to see that the "nostamps" option isn't being set. (Either via a
"--nostamps" option to Tux Paint's command line, or "nostamps=yes" in the
configuration file.)
Either change/remove the "nostamps" option, or you can override it with
"--stamps" on the command line or either "nostamps=no" or "stamps=yes" in a
configuration file.
Finally, if you installed stamps, and think they should be
loading, check to see that the "nostamps" option isn't being set.
(Either via a "--nostamps" option to Tux Paint's command line, or
"nostamps=yes" in the configuration file.)
Either change/remove the "nostamps" option, or you can override it
with "--stamps" on the command line or either "nostamps=no" or
"stamps=yes" in a configuration file.
Stamp outlines are always rectangles
Tux Paint was built with low-quality (but faster) stamp outlines.
To change this, you must rebuild Tux Paint from source. Be sure to
remove or comment out any line that says:
To change this, you must rebuild Tux Paint from source. Be sure to remove
or comment out any line that says:
#define LOW_QUALITY_STAMP_OUTLINE
in the "tuxpaint.c" file in the "src" directory.
----------------------------------------------------------------------
-------------------------------------------------------------------------------
Interface Problems
Stamp thumbnails in the Stamp Selector look bad
Tux Paint was probably compiled with the faster, lower quality
thumbnail code enabled. Run the command: "tuxpaint
--verbose-version" from a command line. If, amongst the other
output, you see the text: "Low Quality Thumbnails enabled", then
this is what's happening.
Tux Paint was probably compiled with the faster, lower quality thumbnail
code enabled. Run the command: "tuxpaint --verbose-version" from a command
line. If, amongst the other output, you see the text: "Low Quality
Thumbnails enabled", then this is what's happening.
To change this, you must rebuild Tux Paint from source. Be sure to
remove or comment out any line that says:
To change this, you must rebuild Tux Paint from source. Be sure to remove
or comment out any line that says:
#define LOW_QUALITY_THUMBNAILS
in the "tuxpaint.c" file in the "src" directory.
Pictures in the 'Open' dialog look bad
"Low Quality Thumbnails" is probably enabled. See: "Stamp
thumbnails in the Stamp Selector look bad", above.
"Low Quality Thumbnails" is probably enabled. See: "Stamp thumbnails in the
Stamp Selector look bad", above.
All of the text is in uppercase!
The "uppercase" option is on.
Either change/remove the "uppercase" option, or you can override
it with "--mixedcase" on the command line or either "uppercase=no"
or "mixedcase=yes" in a configuration file.
Either change/remove the "uppercase" option, or you can override it with
"--mixedcase" on the command line or either "uppercase=no" or "mixedcase=
yes" in a configuration file.
Tux Paint is in a different language
Make sure your locale setting is correct. See "Tux Paint won't
switch to my language", below.
Make sure your locale setting is correct. See "Tux Paint won't switch to my
language", below.
Tux Paint won't switch to my language
* Linux and Unix users: Make sure the locale is available
+ Linux and Unix users: Make sure the locale is available
Make sure the locale you want is available. Check your
"/etc/locale.gen" file. See the "Options Documentation" for
the locales Tux Paint uses (especially when using the
"--lang" option).
Make sure the locale you want is available. Check your "/etc/
locale.gen" file. See the "Options Documentation" for the locales Tux
Paint uses (especially when using the "--lang" option).
Note: Debian and derivative (e.g., Ubuntu) users can simply
run "dpkg-reconfigure locales" if the locales are managed by
"dpkg".
Note: Debian and derivative (e.g., Ubuntu) users can simply run
"dpkg-reconfigure locales" if the locales are managed by "dpkg".
* If you're using the "--lang" command-line option
+ If you're using the "--lang" command-line option
Try using the "--locale" command-line option, or your
operating system's locale settings (e.g., the "$LANG"
environment variable), and please e-mail us regarding your
trouble.
Try using the "--locale" command-line option, or your operating
system's locale settings (e.g., the "$LANG" environment variable), and
please e-mail us regarding your trouble.
* If you're using the "--locale" command-line option
+ If you're using the "--locale" command-line option
If this doesn't work, please e-mail us regarding your
trouble.
If this doesn't work, please e-mail us regarding your trouble.
* If you're trying to use your Operating System's locale
+ If you're trying to use your Operating System's locale
If this doesn't work, please e-mail us regarding your
trouble.
If this doesn't work, please e-mail us regarding your trouble.
* Make sure you have the necessary font
+ Make sure you have the necessary font
Some translations require their own font. Chinese and Korean,
for example, need Chinese and Korean TrueType Fonts installed
and placed in the proper location, respectively.
Some translations require their own font. Chinese and Korean, for
example, need Chinese and Korean TrueType Fonts installed and placed in
the proper location, respectively.
The appropriate fonts for such locales can be downloaded from
the Tux Paint website:
The appropriate fonts for such locales can be downloaded from the Tux
Paint website:
https://tuxpaint.org/download/fonts/
----------------------------------------------------------------------
-------------------------------------------------------------------------------
Printing
Tux Paint won't print, gives an error, or prints garbage (Unix/Linux)
Tux Paint prints by creating a PostScript rendition of the picture
and sending it to an external command. By default, this command is
the "lpr" printing tool.
Tux Paint prints by creating a PostScript rendition of the picture and
sending it to an external command. By default, this command is the "lpr"
printing tool.
If that program is not available (for example, you're using CUPS,
the Common Unix Printing System, and do not have "cups-lpr"
installed), you will need to specify an appropriate command using
the "printcommand" option in Tux Paint's configuration file. (See
the "Options Documentation".)
If that program is not available (for example, you're using CUPS, the
Common Unix Printing System, and do not have "cups-lpr" installed), you
will need to specify an appropriate command using the "printcommand" option
in Tux Paint's configuration file. (See the "Options Documentation".)
Note: Versions of Tux Paint prior to 0.9.15 used a different default
command for printing, "pngtopnm | pnmtops | lpr", as Tux Paint output PNG
format, rather than PostScript.
If you had changed your "printcommand" option prior to Tux Paint 0.9.15,
you will need to go back and alter it to accept PostScript.
Note: Versions of Tux Paint prior to 0.9.15 used a different
default command for printing, "pngtopnm | pnmtops | lpr", as Tux
Paint output PNG format, rather than PostScript.
If you had changed your "printcommand" option prior to Tux Paint
0.9.15, you will need to go back and alter it to accept
PostScript.
I get the message "You can't print yet!" when I go to print
The "print delay" option is on. You can only print once every X
seconds.
The "print delay" option is on. You can only print once every X seconds.
If you're running Tux Paint from a command-line, make sure you're
not giving it a "--printdelay=..." option.
If you're running Tux Paint from a command-line, make sure you're not
giving it a "--printdelay=..." option.
If you're running Tux Paint by double-clicking an icon, check the
properties of the icon to see if "--printdelay=..." is listed as a
command-line argument.
If a "--printdelay=..." option isn't being sent on the command
line, check Tux Paint's configuration file for a line reading:
"printdelay=...".
If a "--printdelay=..." option isn't being sent on the command line, check
Tux Paint's configuration file for a line reading: "printdelay=...".
Either remove that line, set the delay value to 0 (no delay), or
decrease the delay to a value you prefer. (See the "Options
Documentation".)
Either remove that line, set the delay value to 0 (no delay), or decrease
the delay to a value you prefer. (See the "Options Documentation".)
Or, you can simply run Tux Paint with the command-line argument:
"--printdelay=0", which will override the configuration file's
setting, and allow unlimited printing. (You won't have to wait
between prints.)
"--printdelay=0", which will override the configuration file's setting, and
allow unlimited printing. (You won't have to wait between prints.)
I simply can't print! The button is greyed out!
The "no print" option is on.
If you're running Tux Paint from a command-line, make sure you're
not giving it a "--noprint" option.
If you're running Tux Paint from a command-line, make sure you're not
giving it a "--noprint" option.
If you're running Tux Paint by double-clicking an icon, check the
properties of the icon to see if "--noprint" is listed as a
command-line argument.
properties of the icon to see if "--noprint" is listed as a command-line
argument.
If a "--noprint" option isn't being sent on the command line,
check Tux Paint's configuration file for a line reading:
"noprint=yes".
If a "--noprint" option isn't being sent on the command line, check Tux
Paint's configuration file for a line reading: "noprint=yes".
Either remove that line, or simply run Tux Paint with the
command-line argument: "--print", which will override the
configuration file's setting.
Either remove that line, or simply run Tux Paint with the command-line
argument: "--print", which will override the configuration file's setting.
Or use Tux Paint Config. and make sure "Allow Printing" (under
"Printing") is checked.
Or use Tux Paint Config. and make sure "Allow Printing" (under "Printing")
is checked.
----------------------------------------------------------------------
-------------------------------------------------------------------------------
Saving
Where does Tux Paint save my drawings?
Unless you asked Tux Paint to save into a specific location (using
the "savedir" option), Tux Paint saves into a standard location on
your local drive:
Unless you asked Tux Paint to save into a specific location (using the
"savedir" option), Tux Paint saves into a standard location on your local
drive:
Windows Vista, Windows 8, Windows 10, Windows 11
In the user's "AppData" folder:
e.g.,
C:\Users\Username\AppData\Roaming\TuxPaint\saved
e.g., C:\Users\Username\AppData\Roaming\TuxPaint\saved
macOS
In the user's "Application Support" folder:
e.g., /Users/Username/Library/Applicaton
Support/TuxPaint/saved/
e.g., /Users/Username/Library/Applicaton Support/TuxPaint/saved/
Linux / Unix
In the user's home directory ("$HOME"), under a
".tuxpaint" subfolder:
In the user's home directory ("$HOME"), under a ".tuxpaint" subfolder:
e.g., /home/username/.tuxpaint/saved/
The images are stored as PNG bitmaps, which most modern programs
should be able to load (image editors, word processors, web
browsers, etc.)
The images are stored as PNG bitmaps, which most modern programs should be
able to load (image editors, word processors, web browsers, etc.)
Tux Paint always saves over my old picture
The "save over" option is enabled. (This disables the prompt that
would appear when you click 'Save.')
The "save over" option is enabled. (This disables the prompt that would
appear when you click 'Save.')
If you're running Tux Paint from a command-line, make sure you're
not giving it a "--saveover" option.
If you're running Tux Paint from a command-line, make sure you're not
giving it a "--saveover" option.
If you're running Tux Paint by double-clicking an icon, check the
properties of the icon to see if "--saveover" is listed as a
command-line argument.
properties of the icon to see if "--saveover" is listed as a command-line
argument.
If a "--saveover" option isn't being sent on the command line,
check Tux Paint's configuration file for a line reading:
"saveover=yes".
If a "--saveover" option isn't being sent on the command line, check Tux
Paint's configuration file for a line reading: "saveover=yes".
Either remove that line, or simply run Tux Paint with the
command-line argument: "--saveoverask", which will override the
configuration file's setting.
Either remove that line, or simply run Tux Paint with the command-line
argument: "--saveoverask", which will override the configuration file's
setting.
Or use Tux Paint Config. and make sure "Ask Before Overwriting"
(under "Saving") is checked.
Or use Tux Paint Config. and make sure "Ask Before Overwriting" (under
"Saving") is checked.
Also, see "Tux Paint always saves a new picture!", below.
Tux Paint always saves a new picture!
The "never save over" option is enabled. (This disables the prompt
that would appear when you click 'Save.')
The "never save over" option is enabled. (This disables the prompt that
would appear when you click 'Save.')
If you're running Tux Paint from a command-line, make sure you're
not giving it a "--saveovernew" option.
If you're running Tux Paint from a command-line, make sure you're not
giving it a "--saveovernew" option.
If you're running Tux Paint by double-clicking an icon, check the
properties of the icon to see if "--saveovernew" is listed as a
command-line argument.
If a "--saveovernew" option isn't being sent on the command line,
check Tux Paint's configuration file for a line reading:
"saveover=new".
If a "--saveovernew" option isn't being sent on the command line, check Tux
Paint's configuration file for a line reading: "saveover=new".
Either remove that line, or simply run Tux Paint with the
command-line argument: "--saveoverask", which will override the
configuration file's setting.
Either remove that line, or simply run Tux Paint with the command-line
argument: "--saveoverask", which will override the configuration file's
setting.
Or use Tux Paint Config. and make sure "Ask Before Overwriting"
(under "Saving") is checked.
Or use Tux Paint Config. and make sure "Ask Before Overwriting" (under
"Saving") is checked.
Also, see "Tux Paint always saves over my old picture!", above.
----------------------------------------------------------------------
-------------------------------------------------------------------------------
Audio Problems
There's no sound!
* First, check the obvious:
* Are your speakers connected and turned on?
* Is the volume turned up on your speakers?
* Is the volume turned up in your Operating System's
"mixer?"
* Are you certain you're using a computer with a sound
card?
* Are any other programs running that use sound? (They may
be 'blocking' Tux Paint from accessing your sound
device)
* (Unix/Linux) Are you using a sound system, such as aRts,
ESD or GStreamer? If so, try setting the
"SDL_AUDIODRIVER" environment variable before running
Tux Paint (e.g., "export SDL_AUDIODRIVER=arts"). Or, run
Tux Paint through the system's rerouter (e.g., run
"artsdsp tuxpaint" or "esddsp tuxpaint", instead of
simply "tuxpaint").
* Is sound disabled in Tux Paint?
+ First, check the obvious:
o Are your speakers connected and turned on?
o Is the volume turned up on your speakers?
o Is the volume turned up in your Operating System's "mixer?"
o Are you certain you're using a computer with a sound card?
o Are any other programs running that use sound? (They may be
'blocking' Tux Paint from accessing your sound device)
o (Unix/Linux) Are you using a sound system, such as aRts, ESD or
GStreamer? If so, try setting the "SDL_AUDIODRIVER" environment
variable before running Tux Paint (e.g., "export SDL_AUDIODRIVER=
arts"). Or, run Tux Paint through the system's rerouter (e.g., run
"artsdsp tuxpaint" or "esddsp tuxpaint", instead of simply
"tuxpaint").
+ Is sound disabled in Tux Paint?
If sound seems to work otherwise (and you're sure no other
program is "blocking" the sound device), then Tux Paint may
be running with a "no sound" option.
If sound seems to work otherwise (and you're sure no other program is
"blocking" the sound device), then Tux Paint may be running with a "no
sound" option.
If you're running Tux Paint from a command-line, make sure
you're not giving it a "--nosound" option.
If you're running Tux Paint from a command-line, make sure you're not
giving it a "--nosound" option.
If you're running Tux Paint by double-clicking an icon, check
the properties of the icon to see if "--nosound" is listed as
a command-line argument.
If you're running Tux Paint by double-clicking an icon, check the
properties of the icon to see if "--nosound" is listed as a
command-line argument.
If a "--nosound" option isn't being sent on the command line,
check Tux Paint's configuration file for a line reading:
"nosound=yes".
If a "--nosound" option isn't being sent on the command line, check Tux
Paint's configuration file for a line reading: "nosound=yes".
Either remove that line, or simply run Tux Paint with the
command-line argument: "--sound", which will override the
configuration file's setting.
Either remove that line, or simply run Tux Paint with the command-line
argument: "--sound", which will override the configuration file's
setting.
Or, you can simply run Tux Paint with the command-line
argument: "Enable Sound Effects", which will override the
configuration file's setting, and allow unlimited printing.
(You won't have to wait between prints.)
Or, you can simply run Tux Paint with the command-line argument:
"Enable Sound Effects", which will override the configuration file's
setting, and allow unlimited printing. (You won't have to wait between
prints.)
* Were sounds temporarily disabled?
+ Were sounds temporarily disabled?
Even if sounds are enabled in Tux Paint, it is possible to
disable and re-enable them temporarily using the [Alt] + [S]
key sequence. Try pressing those keys to see if sounds begin
working again.
Even if sounds are enabled in Tux Paint, it is possible to disable and
re-enable them temporarily using the [Alt] + [S] key sequence. Try
pressing those keys to see if sounds begin working again.
* Was Tux Paint built without sound support?
+ Was Tux Paint built without sound support?
Tux Paint may have been compiled with sound support disabled.
To test whether sound support was enabled when Tux Paint was
compiled, run Tux Paint from a command line, like so:
Tux Paint may have been compiled with sound support disabled. To test
whether sound support was enabled when Tux Paint was compiled, run Tux
Paint from a command line, like so:
tuxpaint --verbose-version
If, amongst the other information, you see "Sound disabled",
then the version of Tux Paint you're running has sound
disabled. Recompile Tux Paint, and be sure NOT to build the
"nosound" target. (i.e., don't run "make nosound") Be sure
the SDL_mixer library and its development headers are
available!
If, amongst the other information, you see "Sound disabled", then the
version of Tux Paint you're running has sound disabled. Recompile Tux
Paint, and be sure NOT to build the "nosound" target. (i.e., don't run
"make nosound") Be sure the SDL_mixer library and its development
headers are available!
Tux Paint makes too much noise! Can I turn them off?
Yes, there are a number of ways to disable sounds in Tux Paint:
* Press [Alt] + [S] while in Tux Paint to temporarily disable
sounds. (Press that key sequence again to re-enable sounds.)
* Run Tux Paint with the "no sound" option:
* Run "tuxpaint --nosound" from the command line or
shortcut or desktop icon.
* Edit Tux Paint's configuration file (see "Options
Documentation" for details) and add a line containing
"nosound=yes".
* Or use Tux Paint Config. and make sure "Enable Sound
Effects" (under "Video & Sound") is not checked.
* Alternatively, recompile Tux Paint with sound support
disabled. (See above, and the 'Install' documentation.
+ Press [Alt] + [S] while in Tux Paint to temporarily disable sounds.
(Press that key sequence again to re-enable sounds.)
+ Run Tux Paint with the "no sound" option:
o Run "tuxpaint --nosound" from the command line or shortcut or
desktop icon.
o Edit Tux Paint's configuration file (see "Options Documentation"
for details) and add a line containing "nosound=yes".
o Or use Tux Paint Config. and make sure "Enable Sound Effects"
(under "Video & Sound") is not checked.
o Alternatively, recompile Tux Paint with sound support disabled.
(See above, and the 'Install' documentation.
The stereo panning of sound effects is bothersome; can sound effects be
monophonic?
Run Tux Paint with the "no stereo" option:
* Run "tuxpaint --nostereo" from the command line or shortcut
or desktop icon.
* Edit Tux Paint's configuration file (see "Options
Documentation" for details) and add a line containing
"nostereo=yes".
* Or use Tux Paint Config. and make sure "Enable Stereo
Effects" (under "Video & Sound") is not checked.
+ Run "tuxpaint --nostereo" from the command line or shortcut or desktop
icon.
+ Edit Tux Paint's configuration file (see "Options Documentation" for
details) and add a line containing "nostereo=yes".
+ Or use Tux Paint Config. and make sure "Enable Stereo Effects" (under
"Video & Sound") is not checked.
The sound effects sound strange
This could have to do with how SDL and SDL_mixer were initialized.
(The buffer size chosen.)
This could have to do with how SDL and SDL_mixer were initialized. (The
buffer size chosen.)
Please e-mail us with details about your computer system.
(Operating system and version, sound card, which version of Tux
Paint you're running (run "tuxpaint --version" to verify), and so
on.)
Please e-mail us with details about your computer system. (Operating system
and version, sound card, which version of Tux Paint you're running (run
"tuxpaint --version" to verify), and so on.)
----------------------------------------------------------------------
-------------------------------------------------------------------------------
Fullscreen Mode Problems
When I run Tux Paint full-screen and [Alt] + [Tab] out, the window turns
black!
When I run Tux Paint full-screen and [Alt] + [Tab] out, the window turns black!
This is apparently a bug in the SDL library. Sorry.
When I run Tux Paint full-screen, it has large borders around it
Linux users - Your X-Window server is probably not set with the
ability to switch to the desired resolution: 800×600. (or whatever
resolution you have Tux Paint set to run at.) (This is typically
done manually under the X-Window server by pressing [Control] +
[Alt] + [Keypad Plus (+)] and [Control] + [Alt] + [Keypad Minus
(-)].)
Linux users - Your X-Window server is probably not set with the ability to
switch to the desired resolution: 800×600. (or whatever resolution you have
Tux Paint set to run at.) (This is typically done manually under the
X-Window server by pressing [Control] + [Alt] + [Keypad Plus (+)] and
[Control] + [Alt] + [Keypad Minus (-)].)
For this to work, your monitor must support that resolution, and
you need to have it listed in your X server configuration.
For this to work, your monitor must support that resolution, and you need
to have it listed in your X server configuration.
Check the "Display" subsection of the "Screen" section of your
XFree86 or X.org configuration file (typically
"/etc/X11/XF86Config-4" or "/etc/X11/XF86Config", depending on the
version of XFree86 you're using; 3.x or 4.x, respectively, or
"/etc/X11/xorg.conf" for X.org).
Check the "Display" subsection of the "Screen" section of your XFree86 or
X.org configuration file (typically "/etc/X11/XF86Config-4" or "/etc/X11/
XF86Config", depending on the version of XFree86 you're using; 3.x or 4.x,
respectively, or "/etc/X11/xorg.conf" for X.org).
Add "800x600" (or whatever resolution(s) you want) to the
appropriate "Modes" line. (e.g., in the "Display" subsection that
contains 24-bit color depth ("Depth 24"), which is what Tux Paint
tries to use.)
Add "800x600" (or whatever resolution(s) you want) to the appropriate
"Modes" line. (e.g., in the "Display" subsection that contains 24-bit color
depth ("Depth 24"), which is what Tux Paint tries to use.)
Modes "1280x1024" "1024x768" "800x600" "640x480"
Note that some Linux distributions have tools that can make these
changes for you. Debian users can run the command
"dpkg-reconfigure xserver-xfree86" as root, for example.
Note that some Linux distributions have tools that can make these changes
for you. Debian users can run the command "dpkg-reconfigure
xserver-xfree86" as root, for example.
Tux Paint keeps running in Full Screen mode - I want it windowed!
The "fullscreen" option is set.
If you're running Tux Paint from a command-line, make sure you're
not giving it a "--fullscreen" option.
If you're running Tux Paint from a command-line, make sure you're not
giving it a "--fullscreen" option.
If you're running Tux Paint by double-clicking an icon, check the
properties of the icon to see if "--fullscreen" is listed as a
command-line argument.
properties of the icon to see if "--fullscreen" is listed as a command-line
argument.
If a "--fullscreen" option isn't being sent on the command line,
check Tux Paint's configuration file for a line reading:
"fullscreen=yes".
If a "--fullscreen" option isn't being sent on the command line, check Tux
Paint's configuration file for a line reading: "fullscreen=yes".
Either remove that line, or simply run Tux Paint with the
command-line argument: "--windowed", which will override the
configuration file's setting.
Either remove that line, or simply run Tux Paint with the command-line
argument: "--windowed", which will override the configuration file's
setting.
Or use Tux Paint Config. and make sure "Fullscreen" (under "Video
& Sound") is not checked.
Or use Tux Paint Config. and make sure "Fullscreen" (under "Video & Sound")
is not checked.
----------------------------------------------------------------------
-------------------------------------------------------------------------------
Other Problems
Tux Paint won't run
If Tux Paint aborts with the message: "You're already running a
copy of Tux Paint!", this means it has been launched in the last
30 seconds. (On Unix/Linux, this message would appear in a
terminal console if you ran Tux Paint from a command-line. On
Windows, this message would appear in a file named "stdout.txt" in
the same folder where TuxPaint.exe resides (e.g., in "C:\Program
Files\TuxPaint").
If Tux Paint aborts with the message: "You're already running a copy of Tux
Paint!", this means it has been launched in the last 30 seconds. (On Unix/
Linux, this message would appear in a terminal console if you ran Tux Paint
from a command-line. On Windows, this message would appear in a file named
"stdout.txt" in the same folder where TuxPaint.exe resides (e.g., in "C:\
Program Files\TuxPaint").
A lockfile ("~/.tuxpaint/lockfile.dat" on Linux and Unix,
"userdata\lockfile.dat" on Windows) is used to make sure Tux Paint
isn't run too many times at once (e.g., due to a child impatiently
clicking its icon more than once).
A lockfile ("~/.tuxpaint/lockfile.dat" on Linux and Unix, "userdata\
lockfile.dat" on Windows) is used to make sure Tux Paint isn't run too many
times at once (e.g., due to a child impatiently clicking its icon more than
once).
Even if the lockfile exists, it contains the 'time' Tux Paint was
last run. If it's been more than 30 seconds, Tux Paint should run
fine, and simply update the lockfile with the current time.
Even if the lockfile exists, it contains the 'time' Tux Paint was last run.
If it's been more than 30 seconds, Tux Paint should run fine, and simply
update the lockfile with the current time.
If multiple users are sharing the directory where this file is stored
(e.g., on a shared network drive), then you'll need to disable this
feature.
To disable the lockfile, add the "--nolockfile" argument to Tux Paint's
command-line, or "nolockfile=yes" to the configuration file.
If multiple users are sharing the directory where this file is
stored (e.g., on a shared network drive), then you'll need to
disable this feature.
To disable the lockfile, add the "--nolockfile" argument to Tux
Paint's command-line, or "nolockfile=yes" to the configuration
file.
I can't quit Tux Paint
The "no quit" option is set. This disables the "Quit" button in
Tux Paint's toolbar (greying it out), and prevents Tux Paint from
being exited via the [Escape] key.
The "no quit" option is set. This disables the "Quit" button in Tux Paint's
toolbar (greying it out), and prevents Tux Paint from being exited via the
[Escape] key.
If Tux Paint is not in fullscreen mode, simply click the window
close button on Tux Paint's title bar. (i.e., the "ⓧ" at the upper
right.)
If Tux Paint is not in fullscreen mode, simply click the window close
button on Tux Paint's title bar. (i.e., the "ⓧ" at the upper right.)
If Tux Paint is in fullscreen mode, you will need to use the [Shift] +
[Control] + [Escape] sequence on the keyboard to quit Tux Paint.
(Note: with or without "no quit" set, you can always use the [Alt] + [F4]
combination on your keyboard to quit Tux Paint.)
If Tux Paint is in fullscreen mode, you will need to use the
[Shift] + [Control] + [Escape] sequence on the keyboard to quit
Tux Paint.
(Note: with or without "no quit" set, you can always use the [Alt]
+ [F4] combination on your keyboard to quit Tux Paint.)
I don't want "no quit" mode enabled!
If you're running Tux Paint from a command-line, make sure you're
not giving it a "--noquit" option.
If you're running Tux Paint from a command-line, make sure you're not
giving it a "--noquit" option.
If you're running Tux Paint by double-clicking an icon, check the
properties of the icon to see if "--noquit" is listed as a
command-line argument.
properties of the icon to see if "--noquit" is listed as a command-line
argument.
If a "--noquit" option isn't being sent on the command line, check
Tux Paint's configuration file for a line reading: "noquit=yes".
If a "--noquit" option isn't being sent on the command line, check Tux
Paint's configuration file for a line reading: "noquit=yes".
Either remove that line, or simply run Tux Paint with the command-line
argument: "--quit", which will override the configuration file's setting.
Or use Tux Paint Config. and make sure "Disable Quit Button and [Escape]
Key" (under "Simplification") is not checked.
Either remove that line, or simply run Tux Paint with the
command-line argument: "--quit", which will override the
configuration file's setting.
Or use Tux Paint Config. and make sure "Disable Quit Button and
[Escape] Key" (under "Simplification") is not checked.
Tux Paint keeps writing weird messages to the screen / to a text file
A few messages are normal, but if Tux Paint is being extremely
verbose (like listing the name of every rubber-stamp image it
finds while loading them), then it was probably compiled with
debugging output turned on.
A few messages are normal, but if Tux Paint is being extremely verbose
(like listing the name of every rubber-stamp image it finds while loading
them), then it was probably compiled with debugging output turned on.
To change this, you must rebuild Tux Paint from source. Be sure to
remove or comment out any line that says:
To change this, you must rebuild Tux Paint from source. Be sure to remove
or comment out any line that says:
#define DEBUG
in the "tuxpaint.c" file in the "src" directory.
Tux Paint is using options I didn't specify!
By default, Tux Paint first looks at configuration files for
options.
By default, Tux Paint first looks at configuration files for options.
* Windows
+ Windows
Under Windows, Tux Paint first examines the configuration
file:
Under Windows, Tux Paint first examines the configuration file:
tuxpaint.cfg
Finally, any options sent as command-line arguments are used.
* macOS
+ macOS
* Unix and Linux
+ Unix and Linux
Under Unix and Linux, it first examines the system-wide
configuration file, located here:
Under Unix and Linux, it first examines the system-wide configuration
file, located here:
/etc/tuxpaint/tuxpaint.conf
@ -572,19 +571,19 @@ Other Problems
Finally, any options sent as command-line arguments are used.
* Haiku
+ Haiku
This means that if anything is set in a configuration file that
you don't want set, you'll need to either change the config. file
(if you can), or override the option on the command-line.
This means that if anything is set in a configuration file that you don't
want set, you'll need to either change the config. file (if you can), or
override the option on the command-line.
For example, on Linux and Unix, if "/etc/tuxpaint/tuxpaint.conf"
includes this option to disable sound...
For example, on Linux and Unix, if "/etc/tuxpaint/tuxpaint.conf" includes
this option to disable sound...
nosound=yes
...then you can reenable sound by either adding this option to
your own ".tuxpaintrc" file:
...then you can reenable sound by either adding this option to your own
".tuxpaintrc" file:
sound=yes
@ -592,24 +591,27 @@ Other Problems
--sound
Linux and Unix users can also disable the system-wide
configuration file by including the following command-line
argument:
Linux and Unix users can also disable the system-wide configuration file by
including the following command-line argument:
--nosysconfig
Tux Paint will then only look at "~/.tuxpaintrc" and command-line
arguments to determine what options should be set.
Tux Paint will then only look at "~/.tuxpaintrc" and command-line arguments
to determine what options should be set.
----------------------------------------------------------------------
-------------------------------------------------------------------------------
Help / Contact
Any questions you don't see answered? Please let us know! You can
subscribe and post to our "tuxpaint-users" mailing list:
Any questions you don't see answered? Please let us know! You can subscribe and
post to our "tuxpaint-users" mailing list:
https://tuxpaint.org/lists/
Or, contact lead developer Bill Kendrick directly:
bill@newbreedsoftware.com

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -10,79 +10,83 @@
About PNGs
PNG is the Portable Network Graphic format. It is an open standard, not
burdened by patents (like GIFs). It is a highly compressed format (though
not "lossy" like JPEGs - lossiness allows files to be much smaller, but
introduces 'mistakes' in the image when saved), and supports 24-bit color
(16.7 million colors) as well as a full "alpha channel" - that is, each
pixel can have a varying degree of transparency.
burdened by patents (like GIFs). It is a highly compressed format (though not
"lossy" like JPEGs - lossiness allows files to be much smaller, but introduces
'mistakes' in the image when saved), and supports 24-bit color (16.7 million
colors) as well as a full "alpha channel" - that is, each pixel can have a
varying degree of transparency.
For more information, visit: http://www.libpng.org/
These features (openness, losslessness, compression, transparency/alpha)
make it the best choice for Tux Paint. (Tux Paint's support for the PNG
format comes from the Open Source SDL_Image library, which in turn gets it
from the libPNG library.)
These features (openness, losslessness, compression, transparency/alpha) make
it the best choice for Tux Paint. (Tux Paint's support for the PNG format comes
from the Open Source SDL_Image library, which in turn gets it from the libPNG
library.)
Support for many colors allows photo-quality "rubber stamp" images to be
used in Tux Paint, and alpha transparency allows for high-quality brushes.
Support for many colors allows photo-quality "rubber stamp" images to be used
in Tux Paint, and alpha transparency allows for high-quality brushes.
How To Make PNGs
The following is a very brief list of ways to create PNGs or convert
existing images into PNGs.
The following is a very brief list of ways to create PNGs or convert existing
images into PNGs.
GIMP & Krita
Excellent tools with which to create PNG images for use in Tux
Paint are GIMP and Krita, both high-quality Open Source
interactive drawing and photo editing programs.
Excellent tools with which to create PNG images for use in Tux Paint are
GIMP and Krita, both high-quality Open Source interactive drawing and photo
editing programs.
It is likely that one or both are already installed on your system. If not,
they should be readily available from your Linux distribution's software
repository. If not, or to learn more, visit http://www.gimp.org/ and http:/
/www.krita.org/, respectively.
It is likely that one or both are already installed on your
system. If not, they should be readily available from your Linux
distribution's software repository. If not, or to learn more,
visit http://www.gimp.org/ and http://www.krita.org/,
respectively.
Command-line Tools
NetPBM
The Portable Bitmap tools (collectively known as
"NetPBM") is a collection of Open Source command-line
tools which convert to and from various formats,
including GIF, TIFF, BMP, PNG, and many more.
The Portable Bitmap tools (collectively known as "NetPBM") is a
collection of Open Source command-line tools which convert to and from
various formats, including GIF, TIFF, BMP, PNG, and many more.
It is possible that it's already installed on your system. If not, they
it be readily available from your Linux distribution's software
repository. If not, or to learn more, visit http://
netpbm.sourceforge.net/.
It is possible that it's already installed on your
system. If not, they it be readily available from
your Linux distribution's software repository. If
not, or to learn more, visit
http://netpbm.sourceforge.net/.
cjpeg/djpeg
The "cjpeg" and "djpeg" command-line programs convert
between the NetPBM Portable Any Map (PNM) format and
JPEGs. It is possible that it's already installed on
your system. If not, they it be readily available
from your Linux distribution's software repository.
If not, or to learn more, visit
https://jpegclub.org/.
The "cjpeg" and "djpeg" command-line programs convert between the
NetPBM Portable Any Map (PNM) format and JPEGs. It is possible that
it's already installed on your system. If not, they it be readily
available from your Linux distribution's software repository. If not,
or to learn more, visit https://jpegclub.org/.
Proprietary Software for Windows
* CorelDRAW (Corel) — http://www.corel.com/
* Illustrator (Adobe) —
http://www.adobe.com/products/illustrator.html
* Paint Shop Pro (Corel) — https://www.paintshoppro.com/
* Photoshop (Adobe) —
http://www.adobe.com/products/photoshop.html
* PIXresizer (Bluefive software) —
http://bluefive.pair.com/pixresizer.htm
+ CorelDRAW (Corel) — http://www.corel.com/
+ Illustrator (Adobe) — http://www.adobe.com/products/illustrator.html
+ Paint Shop Pro (Corel) — https://www.paintshoppro.com/
+ Photoshop (Adobe) — http://www.adobe.com/products/photoshop.html
+ PIXresizer (Bluefive software) — http://bluefive.pair.com/
pixresizer.htm
Macintosh Users
* CorelDRAW (Corel) — http://www.corel.com/
* GraphicConverter (Lemke Software) —
https://www.lemkesoft.de/mac-fotobearbeitung-mac-diashow-mac-grafikprogramm-mac-bildbetrachter/
* Illustrator (Adobe) —
http://www.adobe.com/products/illustrator.html
* Photoshop (Adobe) —
http://www.adobe.com/products/photoshop.html
+ CorelDRAW (Corel) — http://www.corel.com/
+ GraphicConverter (Lemke Software) — https://www.lemkesoft.de/
mac-fotobearbeitung-mac-diashow-mac-grafikprogramm-mac-bildbetrachter/
+ Illustrator (Adobe) — http://www.adobe.com/products/illustrator.html
+ Photoshop (Adobe) — http://www.adobe.com/products/photoshop.html

File diff suppressed because it is too large Load diff

View file

@ -7,47 +7,51 @@
June 4, 2022
Tux Paint responds to the following signals (which can be sent to the
program's process via `kill` or `killall`, for example).
Tux Paint responds to the following signals (which can be sent to the program's
process via `kill` or `killall`, for example).
SIGTERM (also, [Control] + [C] from a terminal running `tuxpaint`)
Tux Paint responds as if the "Quit" button were pressed, or the
desktop environment was told to close Tux Paint (e.g., by clicking
a window close button, or pressing [Alt] + [F4] on most systems).
Tux Paint responds as if the "Quit" button were pressed, or the desktop
environment was told to close Tux Paint (e.g., by clicking a window close
button, or pressing [Alt] + [F4] on most systems).
From the main interface, Tux Paint will prompt whether or not you
wish to quit, and (unless overridden by the auto-save option, e.g.
"--autosave") if you'd like to save the current drawing (if
unsaved), and if so, and it's a modified version of an existing
drawing (unless overridden by the options to save over old images,
or always save new images; e.g. "--saveover" and "--saveovernew",
respectively), whether or not to overwrite the existing drawing,
or save to a new file.
From the main interface, Tux Paint will prompt whether or not you wish to
quit, and (unless overridden by the auto-save option, e.g. "--autosave") if
you'd like to save the current drawing (if unsaved), and if so, and it's a
modified version of an existing drawing (unless overridden by the options
to save over old images, or always save new images; e.g. "--saveover" and
"--saveovernew", respectively), whether or not to overwrite the existing
drawing, or save to a new file.
Example: killall tuxpaint
💡 Note: From other parts of the interface, the signal is currently
interpreted as a request to go back (e.g., from the "New" dialog
back to the main interface), as if a "Back" button in Tux Paint
were clicked, or the [Esc] was key pressed.
interpreted as a request to go back (e.g., from the "New" dialog back to
the main interface), as if a "Back" button in Tux Paint were clicked, or
the [Esc] was key pressed.
SIGUSR1 & SIGUSR2
Tux Paint responds by setting its auto-save option (as if it had
been launched with "--autosave"), as well as either the option to
always save new images (as if launched with "--saveovernew") in
the case of receiving a SIGUSR1 signal, or to always save over the
existing image (as if launched with "--saveover") in the case of
receiving SIGUSR2. Then Tux Paint sends itself a SIGTERM signal,
in an attempt to quit. (See above.)
Tux Paint responds by setting its auto-save option (as if it had been
launched with "--autosave"), as well as either the option to always save
new images (as if launched with "--saveovernew") in the case of receiving a
SIGUSR1 signal, or to always save over the existing image (as if launched
with "--saveover") in the case of receiving SIGUSR2. Then Tux Paint sends
itself a SIGTERM signal, in an attempt to quit. (See above.)
So, from the main interface, Tux Paint should quit almost
immediately, with no questions asked.
So, from the main interface, Tux Paint should quit almost immediately, with
no questions asked.
Example: killall -s SIGUSR1 tuxpaint
💡 Note: From other parts of the interface, unfortunately, Tux
Paint will go back one level in the interface. Therefore, at this
time, it may be necessary to send this signal to Tux Paint a few
times, for it to quit completely.
💡 Note: From other parts of the interface, unfortunately, Tux Paint will go
back one level in the interface. Therefore, at this time, it may be
necessary to send this signal to Tux Paint a few times, for it to quit
completely.

View file

@ -10,27 +10,28 @@
About SVGs
SVG (Scalable Vector Graphics) is an open standard used to describe
two-dimensional vector graphics. It is great for diagrams and shapes,
while PNGs are better for photographs. SVG files are a bit like
instructions on how to make an image. This means that they can be resized
without looking pixelated or blocky.
two-dimensional vector graphics. It is great for diagrams and shapes, while
PNGs are better for photographs. SVG files are a bit like instructions on how
to make an image. This means that they can be resized without looking pixelated
or blocky.
For more information, visit: https://www.w3.org/Graphics/SVG/
How to make SVGs
An excellent tool with which to create SVG images for use in Tux Paint is
Inkscape, a high-quality Open Source interactive drawing program available
for Windows, macOS, and Linux. There are also other applications that can
produce SVGs, both free/open source, and commerical/proprietary.
Inkscape, a high-quality Open Source interactive drawing program available for
Windows, macOS, and Linux. There are also other applications that can produce
SVGs, both free/open source, and commerical/proprietary.
Open Source
* Inkscape — http://www.inkscape.org/
* Karbon — https://calligra.org/karbon/
+ Inkscape — http://www.inkscape.org/
+ Karbon — https://calligra.org/karbon/
Proprietary
* CorelDRAW (Corel) — https://www.coreldraw.com/en/
* Illustrator (Adobe) —
http://www.adobe.com/products/illustrator.html
* Boxy SVG — https://boxy-svg.com/
* Sketch (Sketch B.V.) — https://boxy-svg.com/
+ CorelDRAW (Corel) — https://www.coreldraw.com/en/
+ Illustrator (Adobe) — http://www.adobe.com/products/illustrator.html
+ Boxy SVG — https://boxy-svg.com/
+ Sketch (Sketch B.V.) — https://boxy-svg.com/

View file

@ -14,18 +14,18 @@ Tools (Drawing)
* Change categories with the arrow buttons ⇦⇨ near the bottom right.
* Choose a stamp on the right.
* Some stamps may be mirrored 🪞, and/or flipped ↕, using controls near
the bottom right.
* Some stamps may be mirrored 🪞, and/or flipped ↕, using controls near the
bottom right.
* Some stamps allow you to choose their color (see "Colors").
* Change stamp size with the bars 📶 at the bottom right.
* Rotation ⟳ may be enabled, if desired.
* Click/tap in the canvas to place a stamp.
* If rotation is enabled, drag to rotate it, and click/tap again to
add it to the drawing.
+ If rotation is enabled, drag to rotate it, and click/tap again to add
it to the drawing.
* Some stamps play sound effects; press the speaker 🕪 button to hear it
again.
* Some stamps play descriptive sounds; press the headphones 🎧 button to
hear it again.
* Some stamps play descriptive sounds; press the headphones 🎧 button to hear
it again.
⚟Lines
@ -35,71 +35,68 @@ Tools (Drawing)
⭓Shapes
* Choose a shape on the right.
* Select whether you want to extend the shape from the center ⧈, or a
corner ◰, using controls at the bottom right.
* Select whether you want to extend the shape from the center ⧈, or a corner
◰, using controls at the bottom right.
* Click/tap to position, and drag to set the size of the shape.
* Drag to rotate it, and click/tap again to add it to the drawing.
🄰Text
* Choose a font on the right.
* Select whether you want the text bold 𝗔 and/or italic 𝘈, using
controls near the bottom right.
* Select whether you want the text bold 𝗔 and/or italic 𝘈, using controls
near the bottom right.
* Change text size using the up 🡁 and down 🡃 arrow buttons at the bottom
right.
* Choose a color (see "Colors").
* Click/tap the canvas to position an insertion cursor.
* Enter text via your keyboard or the on-screen keyboard.
* Click/tap the canvas again if you wish to reposition the text.
* Press [Enter]/[Return] or click/tap ⮨ to add the text to the drawing
and begin entering more text one line down.
* Press [Enter]/[Return] or click/tap ⮨ to add the text to the drawing and
begin entering more text one line down.
* Or, press [Tab] or click/tap or ⟷ to add the text to the drawing and
continue entering more text immediately to the right.
* Using the on-screen keyboard:
* "Cmp" can be used to compose characters, e.g. Cmp ' a results in
á.
* "AltGr" can be used to quickly access more characters.
* Left/Right arrows switches keyboard layouts (e.g., "QWERTY" vs.
"ABC")
+ "Cmp" can be used to compose characters, e.g. Cmp ' a results in á.
+ "AltGr" can be used to quickly access more characters.
+ Left/Right arrows switches keyboard layouts (e.g., "QWERTY" vs. "ABC")
🅰Label
* (See Text)
* Labels float 'above' the drawing; you cannot paint or stamp over them,
apply Magic effects, etc.
* Labels may be edited, repositioned, and styled after they've been
added to the drawing.
* Click/tap the ☝ button near the lower right to choose a label.
Click/tap the label you wish to modify, then click/tap somewhere else
in the canvas to reposition, or change the font/style, change color,
and/or type to edit the text.
* Or, use the 🖑 button near the lower right to "flatten" a label,
applying it to the canvas; it may no longer be edited with the Label
tool.
* Labels may be edited, repositioned, and styled after they've been added to
the drawing.
* Click/tap the ☝ button near the lower right to choose a label. Click/tap
the label you wish to modify, then click/tap somewhere else in the canvas
to reposition, or change the font/style, change color, and/or type to edit
the text.
* Or, use the 🖑 button near the lower right to "flatten" a label, applying it
to the canvas; it may no longer be edited with the Label tool.
🪣Fill
* Choose a fill mode on the right.
* Choose a color (see "Colors").
* Click/tap (and drag, with Brush and Linear modes) to fill an area of
the picture with a color.
* Solid - Flood-fills an area with a solid color
* Brush - Paints with a solid color, without drawing outside the
chosen area
* Linear - Fills the area with a linear gradient (drag to choose
angle and gradient)
* Radial - Fills the area with a radial gradient, centered where
you clicked/tapped
* Shaped - Fills the area with a gradient that follows the contours
of the area being filled
* Click/tap (and drag, with Brush and Linear modes) to fill an area of the
picture with a color.
+ Solid - Flood-fills an area with a solid color
+ Brush - Paints with a solid color, without drawing outside the chosen
area
+ Linear - Fills the area with a linear gradient (drag to choose angle
and gradient)
+ Radial - Fills the area with a radial gradient, centered where you
clicked/tapped
+ Shaped - Fills the area with a gradient that follows the contours of
the area being filled
🪄Magic
* Choose a magic tool on the right.
* Change categories with the arrow buttons ⇦⇨ near the bottom right.
* Some magic tools draw or apply effects via click/tap and drag 〰🪄, some
affect the entire drawing 🖻🪄, and some offer both options; use the
controls at the bottom right.
affect the entire drawing 🖻🪄, and some offer both options; use the controls
at the bottom right.
* Some magic tools offer various sizes; change it with the bars 📶 at the
bottom right.
* Some magic tools allow you to choose their color.
@ -117,8 +114,8 @@ Tools (Drawing)
◪Eraser
* Choose the size and shape of the eraser on the right.
* Click/tap and drag to erase parts of the picture (solid color, or
starter or template image).
* Click/tap and drag to erase parts of the picture (solid color, or starter
or template image).
* Shortcut: [X] and click/tap in the drawing (not always available)
Tools (Controls)
@ -126,11 +123,10 @@ Tools (Controls)
🗏New
* Choose a solid color, starter, or template image to start with.
* Starters allow drawing "under" a picture (e.g., a coloring book
+ Starters allow drawing "under" a picture (e.g., a coloring book
outline), sometimes with a background layer, too.
* Templates are pictures to start with (background only).
* Eraser tool ◪ reveals the solid color, or starter/template
background.
+ Templates are pictures to start with (background only).
+ Eraser tool ◪ reveals the solid color, or starter/template background.
* Click/tap "🕮⮫Open" to begin a new drawing.
* Click/tap "⤺Back" to abort and return to your current drawing.
* Shortcut: [Ctrl]+[N]
@ -141,32 +137,31 @@ Tools (Controls)
* Click/tap "🕮⮫Open" to open the saved drawing and continue editing it.
* Click/tap "🗏⮫Export" to save the drawing to your system's "Pictures"
folder.
* Click/tap "🗑Erase" to move the drawing to your system's Trash/Recycle
Bin.
* Click/tap "🗑Erase" to move the drawing to your system's Trash/Recycle Bin.
* Click/tap "⤺Back" to abort and return to your current drawing.
* Click/tap "📽Slides" to switch to slideshow mode:
* Click/tap two or more of your previously-saved drawings, in the
order you want them shown. Numbers will appear on them.
* Choose the playback speed using the bars 📶 near the lower left.
* Click/tap "⯈Play" to watch the slideshow/animation.
* Or, click/tap "🎞GIF Export" to save an animated GIF of the
animation to your system's "Pictures" folder.
* Click/tap "⤺Back" to return to the Open dialog.
+ Click/tap two or more of your previously-saved drawings, in the order
you want them shown. Numbers will appear on them.
+ Choose the playback speed using the bars 📶 near the lower left.
+ Click/tap "⯈Play" to watch the slideshow/animation.
+ Or, click/tap "🎞GIF Export" to save an animated GIF of the animation to
your system's "Pictures" folder.
+ Click/tap "⤺Back" to return to the Open dialog.
* Shortcut: [Ctrl]+[O]
🕮⮪Save
* Click/tap to save your drawing.
* If you've saved previously, you'll be prompted whether to overwrite
the previously-saved drawing (a la "File→Save") or create a new saved
drawing (a la "File→Save As...")
* If you've saved previously, you'll be prompted whether to overwrite the
previously-saved drawing (a la "File→Save") or create a new saved drawing
(a la "File→Save As...")
* Shortcut: [Ctrl]+[S]
🖶Print
* Click/tap to print your drawing.
* Hold [Alt] or [Option] while clicking/tapping to bring up printer
dialog, if available.
* Hold [Alt] or [Option] while clicking/tapping to bring up printer dialog,
if available.
* Shortcut: [Ctrl]+[P]
🗙Quit
@ -176,28 +171,27 @@ Tools (Controls)
Colors
* Click/tap to choose a color to use with the Paint, Lines, and Shapes
tools, and Stamps and Magic tools that support colors.
* Use the pipette / color picker 💉 button to choose a color from a pixel
in your current drawing.
* Shortcut: When colors are available, press [Ctrl] and click/tap
in your drawing, to quickly pick a color from your drawing.
* Click/tap to choose a color to use with the Paint, Lines, and Shapes tools,
and Stamps and Magic tools that support colors.
* Use the pipette / color picker 💉 button to choose a color from a pixel in
your current drawing.
+ Shortcut: When colors are available, press [Ctrl] and click/tap in your
drawing, to quickly pick a color from your drawing.
* Click/tap the rainbow 🌈 button to choose a arbitrary color.
* Click/tap in the rainbow square to pick a color (hue and
saturation).
* Click/tap in the grey gradient bar to adjust brightness (value).
* Click/tap the green checkbox ✓ to accept.
* Click/tap "⤺Back" to abort and dismiss the palette.
* You may grab the currently-chosen built-in color (if any), the
color in the pipette / color picker, or the color in the color
mixer, by clicking one of the colored arrow ⇫ buttons.
* Click/tap the paint palette 🎨 button to create a color by mixing
primary colors: red, yellow, and blue, and white (tint), grey (tone),
and black (shade).
* Click/tap the green checkbox ✓ to accept.
* Color mixing offers its own 🖓Undo and 🖒Redo options.
* Click/tap "🗑Clear" to start over with no mixed colors.
* Click/tap "⤺Back" to abort and dismiss the color mixer.
+ Click/tap in the rainbow square to pick a color (hue and saturation).
+ Click/tap in the grey gradient bar to adjust brightness (value).
+ Click/tap the green checkbox ✓ to accept.
+ Click/tap "⤺Back" to abort and dismiss the palette.
+ You may grab the currently-chosen built-in color (if any), the color in
the pipette / color picker, or the color in the color mixer, by
clicking one of the colored arrow ⇫ buttons.
* Click/tap the paint palette 🎨 button to create a color by mixing primary
colors: red, yellow, and blue, and white (tint), grey (tone), and black
(shade).
+ Click/tap the green checkbox ✓ to accept.
+ Color mixing offers its own 🖓Undo and 🖒Redo options.
+ Click/tap "🗑Clear" to start over with no mixed colors.
+ Click/tap "⤺Back" to abort and dismiss the color mixer.
Shortcuts while drawing:
@ -213,3 +207,4 @@ Shortcuts while drawing:
* [Esc] - ⤺Back or 🗙Quit
Last updated: May 9, 2023

View file

@ -6,8 +6,7 @@
junio 4, 2022
----------------------------------------------------------------------
-------------------------------------------------------------------------------
+----------------------------------------+
| Table of Contents |
|----------------------------------------|
@ -17,26 +16,22 @@
| * Replace the fringe and junk pixels |
| * Save the image for Tux Paint |
+----------------------------------------+
----------------------------------------------------------------------
----------------------------------------------------------------------
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
About this 'How-To'
This 'How-To' assumes that you want to make an excellent Tux Paint
stamp, in PNG bitmapped format, from a JPEG image (e.g., a digital
photograph). There are easier and faster methods that produce lower
quality.
This 'How-To' assumes that you want to make an excellent Tux Paint stamp,
in PNG bitmapped format, from a JPEG image (e.g., a digital photograph).
There are easier and faster methods that produce lower quality.
This 'How-To' assumes you are dealing with normal opaque objects.
Dealing with semi-transparent objects (fire, moving fan blade, kid's
balloon) or light-giving objects (fire, lightbulb, sun) is best done
with custom software. Images with perfect solid-color backgrounds are
also best done with custom software, but are not troublesome to do as
follows.
This 'How-To' assumes you are dealing with normal opaque objects. Dealing
with semi-transparent objects (fire, moving fan blade, kid's balloon) or
light-giving objects (fire, lightbulb, sun) is best done with custom
software. Images with perfect solid-color backgrounds are also best done
with custom software, but are not troublesome to do as follows.
----------------------------------------------------------------------
-------------------------------------------------------------------------------
Image choice is crucial
@ -44,9 +39,9 @@ Image choice is crucial
If you wish to submit artwork to the Tux Paint developers for
consideration for inclusion in the official project, or if you wish to
release your own copy of Tux Paint, bundled with your own graphics,
you need an image that is compatible with the GNU General Public
License used by Tux Paint.
release your own copy of Tux Paint, bundled with your own graphics, you
need an image that is compatible with the GNU General Public License
used by Tux Paint.
Images produced by the US government are Public Domain, but be aware
that the US government sometimes uses other images on the web. Google
@ -71,10 +66,10 @@ Image choice is crucial
Rotating an image can make it blurry, especially if you only rotate by
a few degrees. Images that don't need rotation are best, images that
need lots of rotation (30 to 60 degrees) are next best, and images
that need just a few degrees are worst. Rotation will also make an
image darker because most image editing software is very bad about
gamma handling. (Rotation is only legitimate for gamma=1.0 images.)
need lots of rotation (30 to 60 degrees) are next best, and images that
need just a few degrees are worst. Rotation will also make an image
darker because most image editing software is very bad about gamma
handling. (Rotation is only legitimate for gamma=1.0 images.)
Very large images are more forgiving of mistakes, and thus easier to
work with. Choose an image with an object that is over 1000 pixels
@ -83,31 +78,31 @@ Image choice is crucial
Be sure that the image is not too grainy, dim, or washed out.
Pay attention to feet and wheels. If they are buried in something, you
will need to draw new ones. If only one is buried, you might be able
to copy the other one as a replacement.
will need to draw new ones. If only one is buried, you might be able to
copy the other one as a replacement.
----------------------------------------------------------------------
-------------------------------------------------------------------------------
Prepare the image
First of all, be sure to avoid re-saving the image as a JPEG. This
causes quality loss. There is a special tool called jpegtran that lets
you crop an image without the normal quality loss.
First of all, be sure to avoid re-saving the image as a JPEG. This causes
quality loss. There is a special tool called jpegtran that lets you crop an
image without the normal quality loss.
jpegtran -trim -copy none -crop 512x1728+160+128 < src.jpg >
cropped.jpg
Bring that image up in your image editor. If you didn't crop it yet, you
may find that your image editor is very slow. Rotate and crop the image
as needed. Save the image — choose whatever native format supports
layers, masks, alpha, etc. GIMP users should choose "XCF", and Adobe
Photoshop users should choose "PSD", for example.
may find that your image editor is very slow. Rotate and crop the image as
needed. Save the image — choose whatever native format supports layers,
masks, alpha, etc. GIMP users should choose "XCF", and Adobe Photoshop
users should choose "PSD", for example.
If you have rotated or cropped the image in your image editor, flatten
it now. You need to have just one RGB layer without mask or alpha.
If you have rotated or cropped the image in your image editor, flatten it
now. You need to have just one RGB layer without mask or alpha.
Open the layers dialog box. Replicate the one layer several times. From
top to bottom you will need something like this:
Open the layers dialog box. Replicate the one layer several times. From top
to bottom you will need something like this:
1. unmodified image (write-protect this if you can)
2. an image you will modify — the "work in progress" layer
@ -115,152 +110,147 @@ Prepare the image
4. solid magenta (write-protect this if you can)
5. unmodified image (write-protect this if you can)
Give the work in progress (WIP) layer a rough initial mask. You might
start with a selection, or by using the grayscale value of the WIP
layer. You might invert the mask.
Give the work in progress (WIP) layer a rough initial mask. You might start
with a selection, or by using the grayscale value of the WIP layer. You
might invert the mask.
Warning: once you have the mask, you may not rotate or scale the image
normally. This would cause data loss. You will be given special scaling
instructions later.
----------------------------------------------------------------------
-------------------------------------------------------------------------------
Prepare the mask
Get used to doing [Control]-click and [Alt]-click on the thumbnail
images in the layers dialog. You will need this to control what you are
looking at and what you are editing. Sometimes you will be editing
things you can't see. For example, you might edit the mask of the WIP
layer while looking at the unmodified image. Pay attention so you don't
screw up. Always verify that you are editing the right thing.
Get used to doing [Control]-click and [Alt]-click on the thumbnail images
in the layers dialog. You will need this to control what you are looking at
and what you are editing. Sometimes you will be editing things you can't
see. For example, you might edit the mask of the WIP layer while looking at
the unmodified image. Pay attention so you don't screw up. Always verify
that you are editing the right thing.
Set an unmodified image as what you will view (the top one is easiest).
Set the WIP mask as what you will edit. At some point, perhaps not
immediately, you should magnify the image to about 400% (each pixel of
the image is seen and edited as a 4x4 block of pixels on your screen).
Set an unmodified image as what you will view (the top one is easiest). Set
the WIP mask as what you will edit. At some point, perhaps not immediately,
you should magnify the image to about 400% (each pixel of the image is seen
and edited as a 4x4 block of pixels on your screen).
Select parts of the image that need to be 100% opaque or 0% opaque. If
you can select the object or background somewhat accurately by color, do
so. As needed to avoid selecting any pixels that should be partially
opaque (generally at the edge of the object) you should grow, shrink,
and invert the selection.
Select parts of the image that need to be 100% opaque or 0% opaque. If you
can select the object or background somewhat accurately by color, do so. As
needed to avoid selecting any pixels that should be partially opaque
(generally at the edge of the object) you should grow, shrink, and invert
the selection.
Fill the 100% opaque areas with white, and the 0% opaque areas with
black. This is most easily done by drag-and-drop from the
foreground/background color indicator. You should not see anything
happen, because you are viewing the unmodified image layer while editing
the mask of the WIP layer. Large changes might be noticable in the
thumbnail.
Fill the 100% opaque areas with white, and the 0% opaque areas with black.
This is most easily done by drag-and-drop from the foreground/background
color indicator. You should not see anything happen, because you are
viewing the unmodified image layer while editing the mask of the WIP layer.
Large changes might be noticable in the thumbnail.
Now you must be zoomed in.
Check your work. Hide the top unmodified image layer. Display just the
mask, which should be a white object on a black background (probably
with unedited grey at the edge). Now display the WIP layer normally, so
that the mask is active. This should show your object over top of the
next highest enabled layer, which should be green or magenta as needed
for maximum contrast. You might wish to flip back and forth between
those backgrounds by repeatedly clicking to enable/disable the green
layer. Fix any obvious and easy problems by editing the mask while
viewing the mask.
mask, which should be a white object on a black background (probably with
unedited grey at the edge). Now display the WIP layer normally, so that the
mask is active. This should show your object over top of the next highest
enabled layer, which should be green or magenta as needed for maximum
contrast. You might wish to flip back and forth between those backgrounds
by repeatedly clicking to enable/disable the green layer. Fix any obvious
and easy problems by editing the mask while viewing the mask.
Go back to viewing the top unmodified layer while editing the WIP mask.
Set your drawing tool the paintbrush. For the brush, choose a small
fuzzy circle. The 5x5 size is good for most uses.
Go back to viewing the top unmodified layer while editing the WIP mask. Set
your drawing tool the paintbrush. For the brush, choose a small fuzzy
circle. The 5x5 size is good for most uses.
With a steady hand, trace around the image. Use black around the
outside, and white around the inside. Avoid making more than one pass
without switching colors (and thus sides).
With a steady hand, trace around the image. Use black around the outside,
and white around the inside. Avoid making more than one pass without
switching colors (and thus sides).
Flip views a bit, checking to see that the mask is working well. When
the WIP layer is composited over the green or magenta, you should see a
tiny bit of the original background as an ugly fringe around the edge.
If this fringe is missing, then you made the object mask too small. The
fringe consists of pixels that are neither 100% object nor 0% object.
For them, the mask should be neither 100% nor 0%. The fringe gets
removed soon.
Flip views a bit, checking to see that the mask is working well. When the
WIP layer is composited over the green or magenta, you should see a tiny
bit of the original background as an ugly fringe around the edge. If this
fringe is missing, then you made the object mask too small. The fringe
consists of pixels that are neither 100% object nor 0% object. For them,
the mask should be neither 100% nor 0%. The fringe gets removed soon.
View and edit the mask. Select by color, choosing either black or white.
Most likely you will see unselected specks that are not quite the
expected color. Invert the selection, then paint these away using the
pencil tool. Do this operation for both white and black.
Most likely you will see unselected specks that are not quite the expected
color. Invert the selection, then paint these away using the pencil tool.
Do this operation for both white and black.
----------------------------------------------------------------------
-------------------------------------------------------------------------------
Replace the fringe and junk pixels
Still viewing the mask, select by color. Choose black. Shrink the
selection by several pixels, being sure to NOT shrink from the edges of
the mask (the shrink helps you avoid and recover from mistakes).
Still viewing the mask, select by color. Choose black. Shrink the selection
by several pixels, being sure to NOT shrink from the edges of the mask (the
shrink helps you avoid and recover from mistakes).
Now disable the mask. View and edit the unmasked WIP layer. Using the
color picker tool, choose a color that is average for the object.
Drag-and-drop this color into the selection, thus removing most of the
non-object pixels.
Now disable the mask. View and edit the unmasked WIP layer. Using the color
picker tool, choose a color that is average for the object. Drag-and-drop
this color into the selection, thus removing most of the non-object pixels.
This solid color will compress well and will help prevent ugly color
fringes when Tux Paint scales the image down. If the edge of the object
has multiple colors that are very different, you should split up your
selection so that you can color the nearby background to be similar.
fringes when Tux Paint scales the image down. If the edge of the object has
multiple colors that are very different, you should split up your selection
so that you can color the nearby background to be similar.
Now you will paint away the existing edge fringe. Be sure that you are
editing and viewing the WIP image. Frequent layer visibility changes
will help you to see what you are doing. You are likely to use all of:
editing and viewing the WIP image. Frequent layer visibility changes will
help you to see what you are doing. You are likely to use all of:
* composited over green (mask enabled)
* composited over magenta (mask enabled)
* original (the top or bottom layer)
* composited over the original (mask enabled)
* raw WIP layer (mask disabled)
+ composited over green (mask enabled)
+ composited over magenta (mask enabled)
+ original (the top or bottom layer)
+ composited over the original (mask enabled)
+ raw WIP layer (mask disabled)
To reduce accidents, you may wish to select only those pixels that are
not grey in the mask. (Select by color from the mask, choose black, add
mode, choose white, invert. Alternately: Select all, select by color
from the mask, subtract mode, choose black, choose white.) If you do
this, you'll probably want to expand the selection a bit and/or hide the
"crawling ants" line that marks the selection.
To reduce accidents, you may wish to select only those pixels that are not
grey in the mask. (Select by color from the mask, choose black, add mode,
choose white, invert. Alternately: Select all, select by color from the
mask, subtract mode, choose black, choose white.) If you do this, you'll
probably want to expand the selection a bit and/or hide the "crawling ants"
line that marks the selection.
Use the clone tool and the brush tool. Vary the opacity as needed. Use
small round brushes mostly, perhaps 3x3 or 5x5, fuzzy or not. (It is
generally nice to pair up fuzzy brushes with 100% opacity and non-fuzzy
brushes with about 70% opacity.) Unusual drawing modes can be helpful
with semi-transparent objects.
brushes with about 70% opacity.) Unusual drawing modes can be helpful with
semi-transparent objects.
The goal is to remove the edge fringe, both inside and outside of the
object. The inside fringe, visible when the object is composited over
magenta or green, must be removed for obvious reasons. The outside
fringe must also be removed because it will become visible when the
image is scaled down. As an example, consider a 2x2 region of pixels at
the edge of a sharp-edged object. The left half is black and 0% opaque.
The right half is white and 100% opaque. That is, we have a white object
on a black background. When Tux Paint scales this to 50% (a 1x1 pixel
area), the result will be a grey 50% opaque pixel. The correct result
would be a white 50% opaque pixel. To get this result, we would paint
away the black pixels. They matter, despite being 0% opaque.
magenta or green, must be removed for obvious reasons. The outside fringe
must also be removed because it will become visible when the image is
scaled down. As an example, consider a 2x2 region of pixels at the edge of
a sharp-edged object. The left half is black and 0% opaque. The right half
is white and 100% opaque. That is, we have a white object on a black
background. When Tux Paint scales this to 50% (a 1x1 pixel area), the
result will be a grey 50% opaque pixel. The correct result would be a white
50% opaque pixel. To get this result, we would paint away the black pixels.
They matter, despite being 0% opaque.
Tux Paint can scale images down by a very large factor, so it is
important to extend the edge of your object outward by a great deal.
Right at the edge of your object, you should be very accurate about
this. As you go outward away from the object, you can get a bit sloppy.
It is reasonable to paint outward by a dozen pixels or more. The farther
you go, the more Tux Paint can scale down without creating ugly color
fringes. For areas that are more than a few pixels away from the object
edge, you should use the pencil tool (or sloppy select with
drag-and-drop color) to ensure that the result will compress well.
Tux Paint can scale images down by a very large factor, so it is important
to extend the edge of your object outward by a great deal. Right at the
edge of your object, you should be very accurate about this. As you go
outward away from the object, you can get a bit sloppy. It is reasonable to
paint outward by a dozen pixels or more. The farther you go, the more Tux
Paint can scale down without creating ugly color fringes. For areas that
are more than a few pixels away from the object edge, you should use the
pencil tool (or sloppy select with drag-and-drop color) to ensure that the
result will compress well.
----------------------------------------------------------------------
-------------------------------------------------------------------------------
Save the image for Tux Paint
It is very easy to ruin your hard work. Image editors can silently
destroy pixels in 0% opaque areas. The conditions under which this
happens may vary from version to version. If you are very trusting, you
can try saving your image directly as a PNG. Be sure to read it back in
again to verify that the 0% opaque areas didn't turn black or white,
which would create fringes when Tux Paint scales the image down. If you
need to scale your image to save space (and hide your mistakes), you are
almost certain to destroy all the 0% opaque areas. So here is a better
way...
It is very easy to ruin your hard work. Image editors can silently destroy
pixels in 0% opaque areas. The conditions under which this happens may vary
from version to version. If you are very trusting, you can try saving your
image directly as a PNG. Be sure to read it back in again to verify that
the 0% opaque areas didn't turn black or white, which would create fringes
when Tux Paint scales the image down. If you need to scale your image to
save space (and hide your mistakes), you are almost certain to destroy all
the 0% opaque areas. So here is a better way...
A Safer Way to Save
@ -271,17 +261,17 @@ Save the image for Tux Paint
with an image that is about 700 to 1500 pixels across, and end up with
one that is 300 to 400.
Save the mask image as a NetPBM portable greymap (".pgm") file. (If
you are using an old release of The GIMP, you might need to convert
the image to greyscale before you can save it.) Choose the more
compact "RAW PGM" format. (The second character of the file should be
the ASCII digit "5", hex byte 0x35.)
Save the mask image as a NetPBM portable greymap (".pgm") file. (If you
are using an old release of The GIMP, you might need to convert the
image to greyscale before you can save it.) Choose the more compact
"RAW PGM" format. (The second character of the file should be the ASCII
digit "5", hex byte 0x35.)
You may close the mask image.
Going back to the multi-layer image, now select the WIP layer. As you
did with the mask, drag this from the layers dialog to the toolbar.
You should get a single-layer image of your WIP data. If the mask came
did with the mask, drag this from the layers dialog to the toolbar. You
should get a single-layer image of your WIP data. If the mask came
along too, get rid of it. You should be seeing the object and the
painted-away surroundings, without any mask thumbnail in the layers
dialog. If you scaled the mask, then scale this image in exactly the
@ -289,8 +279,9 @@ Save the image for Tux Paint
(Note: .ppm, not .pgm.) (If you choose the RAW PPM format, the second
byte of the file should be the ASCII digit "6", hex byte 0x36.)
Now you need to merge the two files into one. Do that with the
pnmtopng command, like this:
Now you need to merge the two files into one. Do that with the pnmtopng
command, like this:
pnmtopng -force -compression 9 -alpha mask.pgm fg.ppm >
final-stamp.png

View file

@ -7,91 +7,97 @@
mayo 5, 2023
----------------------------------------------------------------------
-------------------------------------------------------------------------------
Tux Paint understands a number of environment variables, either directly,
or indirectly by the libraries that it utilizes.
Tux Paint understands a number of environment variables, either directly, or
indirectly by the libraries that it utilizes.
Storage-related environment variables
HOME
Specifies the user's "home directory", which is used to locate
numerous other files or directories. In some cases, it is utilized
as part of a fall-back location, when other environment variables
(elsewhere in this documentation) are not set. Sometimes, the
location to use can be overridden by options provided on the
command-line or via Tux Paint's configuration file. See the
"OPTIONS" documentation for details.
Specifies the user's "home directory", which is used to locate numerous
other files or directories. In some cases, it is utilized as part of a
fall-back location, when other environment variables (elsewhere in this
documentation) are not set. Sometimes, the location to use can be
overridden by options provided on the command-line or via Tux Paint's
configuration file. See the "OPTIONS" documentation for details.
A few examples of where "$HOME" is used include:
* The location of Tux Paint's configuration file
* The basis of where Tux Paint saves and loads users' drawings
* The location of a user's private collection of data files —
stamps, brushes, etc. — (versus those available system wide)
+ The location of Tux Paint's configuration file
+ The basis of where Tux Paint saves and loads users' drawings
+ The location of a user's private collection of data files — stamps,
brushes, etc. — (versus those available system wide)
XDG_CONFIG_HOME
On Linux and other platforms where the X Desktop Group standards
are used, the location of the user's configuration files.
Specifically, where to find "user-dirs.dirs", where the
"XDG_PICTURES_DIR" might be defined. It is used for exporting
drawings and animated GIFs. Generally it's set to something like
"$HOME/Pictures/". If not specified, Tux Paint checks in the
directory "$HOME/.config/". If the configuration cannot be found,
Tux Paint simply exports drawings and GIFs to "$HOME".
On Linux and other platforms where the X Desktop Group standards are used,
the location of the user's configuration files. Specifically, where to find
"user-dirs.dirs", where the "XDG_PICTURES_DIR" might be defined. It is used
for exporting drawings and animated GIFs. Generally it's set to something
like "$HOME/Pictures/". If not specified, Tux Paint checks in the directory
"$HOME/.config/". If the configuration cannot be found, Tux Paint simply
exports drawings and GIFs to "$HOME".
XDG_DATA_HOME
On Linux and other platforms where the X Desktop Group standards
are used, the location of the user's data directories.
Specifically, where to find the "Trash" directory. It is used when
deleting images from Tux Paint's "Open" dialog. If not set, the
location "$HOME/.local/share/Trash/" is used, if available. If
not, images are simply deleted, rather than moved anywhere.
On Linux and other platforms where the X Desktop Group standards are used,
the location of the user's data directories. Specifically, where to find
the "Trash" directory. It is used when deleting images from Tux Paint's
"Open" dialog. If not set, the location "$HOME/.local/share/Trash/" is
used, if available. If not, images are simply deleted, rather than moved
anywhere.
TEMP
Specifies the location where temporary files may be created. Only
used by Tux Paint on Microsoft Windows OSes. Uses "userdata" if
not set.
Specifies the location where temporary files may be created. Only used by
Tux Paint on Microsoft Windows OSes. Uses "userdata" if not set.
Language-related environment variables
LANG
LANGUAGE
LC_ALL
LC_MESSAGES
Specify the language Tux Paint should utilize in its user
interface. Overridde by the "--lang" and "--locale" command-line
options or their configuration file counterparts. The "LANGUAGE"
environment variable is used, if set. If not, "LC_ALL" is used as
a fallback. Then "LC_MESSAGES", and finally "LANG".
Specify the language Tux Paint should utilize in its user interface.
Overridde by the "--lang" and "--locale" command-line options or their
configuration file counterparts. The "LANGUAGE" environment variable is
used, if set. If not, "LC_ALL" is used as a fallback. Then "LC_MESSAGES",
and finally "LANG".
Display-related environment variables
The following are a few of the environment variables supported by Simple
DirectMedia Layer (libSDL) — which Tux Paint utilizes for displaying
graphics, playing sounds, and receiving mouse, keyboard, and joystick
input — and which may be useful to users of Tux Paint.
DirectMedia Layer (libSDL) — which Tux Paint utilizes for displaying graphics,
playing sounds, and receiving mouse, keyboard, and joystick input — and which
may be useful to users of Tux Paint.
SDL_VIDEO_ALLOW_SCREENSAVER
Specifies whether Tux Paint should allow a screensaver to run. Can
be set to '1' (true) by Tux Paint itself by issuing the
command-line option "--allowscreensaver" or its configuration file
counterpart.
Specifies whether Tux Paint should allow a screensaver to run. Can be set
to '1' (true) by Tux Paint itself by issuing the command-line option
"--allowscreensaver" or its configuration file counterpart.
SDL_VIDEO_WINDOW_POS
Requests where to position Tux Paint's window, and can be used to
specify what display to place a fullscreen Tux Paint in a
multi-monitor configuration. If not set, or set to "nopref"
(meaning "no preference"), Simple DirectMedia Layer (libSDL)
decides. Can be set to an X,Y coordinate (e.g. 200,100), or
"center" (meaning "center").
Requests where to position Tux Paint's window, and can be used to specify
what display to place a fullscreen Tux Paint in a multi-monitor
configuration. If not set, or set to "nopref" (meaning "no preference"),
Simple DirectMedia Layer (libSDL) decides. Can be set to an X,Y coordinate
(e.g. 200,100), or "center" (meaning "center").

File diff suppressed because it is too large Load diff

View file

@ -6,8 +6,7 @@
julio 13, 2023
----------------------------------------------------------------------
-------------------------------------------------------------------------------
+------------------------------+
| Table of Contents |
|------------------------------|
@ -20,549 +19,549 @@
| * Other Problems |
| * Help / Contact |
+------------------------------+
----------------------------------------------------------------------
-------------------------------------------------------------------------------
Drawing-related
Fonts I added to Tux Paint only show squares
The TrueType Font you're using might have the wrong encoding. If
it's 'custom' encoded, for example, you can try running it through
FontForge (http://fontforge.sourceforge.net/) to convert it to an
ISO-8859 format. (Email us if you need help with special fonts.)
The TrueType Font you're using might have the wrong encoding. If it's
'custom' encoded, for example, you can try running it through FontForge (
http://fontforge.sourceforge.net/) to convert it to an ISO-8859 format.
(Email us if you need help with special fonts.)
The Rubber Stamp tool is greyed out!
This means that Tux Paint either couldn't find any stamp images,
or was asked not to load them.
This means that Tux Paint either couldn't find any stamp images, or was
asked not to load them.
If you installed Tux Paint, but did not install the separate,
optional "Stamps" collection, quit Tux Paint and install it now.
It should be available from the same place you got the main Tux
Paint program. (Note: As of version 0.9.14, Tux Paint comes with a
small collection of example stamps.)
If you installed Tux Paint, but did not install the separate, optional
"Stamps" collection, quit Tux Paint and install it now. It should be
available from the same place you got the main Tux Paint program. (Note: As
of version 0.9.14, Tux Paint comes with a small collection of example
stamps.)
If you don't want to install the default collection of stamps, you
can just create your own. See the "Extending Tux Paint"
documentation for more on creating PNG and SVG image files, TXT
text description files, Ogg Vorbis, MP3 or WAV sound files, and
DAT text data files that make up stamps.
If you don't want to install the default collection of stamps, you can just
create your own. See the "Extending Tux Paint" documentation for more on
creating PNG and SVG image files, TXT text description files, Ogg Vorbis,
MP3 or WAV sound files, and DAT text data files that make up stamps.
Finally, if you installed stamps, and think they should be loading, check
to see that the "nostamps" option isn't being set. (Either via a
"--nostamps" option to Tux Paint's command line, or "nostamps=yes" in the
configuration file.)
Either change/remove the "nostamps" option, or you can override it with
"--stamps" on the command line or either "nostamps=no" or "stamps=yes" in a
configuration file.
Finally, if you installed stamps, and think they should be
loading, check to see that the "nostamps" option isn't being set.
(Either via a "--nostamps" option to Tux Paint's command line, or
"nostamps=yes" in the configuration file.)
Either change/remove the "nostamps" option, or you can override it
with "--stamps" on the command line or either "nostamps=no" or
"stamps=yes" in a configuration file.
Stamp outlines are always rectangles
Tux Paint was built with low-quality (but faster) stamp outlines.
To change this, you must rebuild Tux Paint from source. Be sure to
remove or comment out any line that says:
To change this, you must rebuild Tux Paint from source. Be sure to remove
or comment out any line that says:
#define LOW_QUALITY_STAMP_OUTLINE
in the "tuxpaint.c" file in the "src" directory.
----------------------------------------------------------------------
-------------------------------------------------------------------------------
Interface Problems
Stamp thumbnails in the Stamp Selector look bad
Tux Paint was probably compiled with the faster, lower quality
thumbnail code enabled. Run the command: "tuxpaint
--verbose-version" from a command line. If, amongst the other
output, you see the text: "Low Quality Thumbnails enabled", then
this is what's happening.
Tux Paint was probably compiled with the faster, lower quality thumbnail
code enabled. Run the command: "tuxpaint --verbose-version" from a command
line. If, amongst the other output, you see the text: "Low Quality
Thumbnails enabled", then this is what's happening.
To change this, you must rebuild Tux Paint from source. Be sure to
remove or comment out any line that says:
To change this, you must rebuild Tux Paint from source. Be sure to remove
or comment out any line that says:
#define LOW_QUALITY_THUMBNAILS
in the "tuxpaint.c" file in the "src" directory.
Pictures in the 'Open' dialog look bad
"Low Quality Thumbnails" is probably enabled. See: "Stamp
thumbnails in the Stamp Selector look bad", above.
"Low Quality Thumbnails" is probably enabled. See: "Stamp thumbnails in the
Stamp Selector look bad", above.
All of the text is in uppercase!
The "uppercase" option is on.
Either change/remove the "uppercase" option, or you can override
it with "--mixedcase" on the command line or either "uppercase=no"
or "mixedcase=yes" in a configuration file.
Either change/remove the "uppercase" option, or you can override it with
"--mixedcase" on the command line or either "uppercase=no" or "mixedcase=
yes" in a configuration file.
Tux Paint is in a different language
Make sure your locale setting is correct. See "Tux Paint won't
switch to my language", below.
Make sure your locale setting is correct. See "Tux Paint won't switch to my
language", below.
Tux Paint won't switch to my language
* Linux and Unix users: Make sure the locale is available
+ Linux and Unix users: Make sure the locale is available
Make sure the locale you want is available. Check your
"/etc/locale.gen" file. See the "Options Documentation" for
the locales Tux Paint uses (especially when using the
"--lang" option).
Make sure the locale you want is available. Check your "/etc/
locale.gen" file. See the "Options Documentation" for the locales Tux
Paint uses (especially when using the "--lang" option).
Note: Debian and derivative (e.g., Ubuntu) users can simply
run "dpkg-reconfigure locales" if the locales are managed by
"dpkg".
Note: Debian and derivative (e.g., Ubuntu) users can simply run
"dpkg-reconfigure locales" if the locales are managed by "dpkg".
* If you're using the "--lang" command-line option
+ If you're using the "--lang" command-line option
Try using the "--locale" command-line option, or your
operating system's locale settings (e.g., the "$LANG"
environment variable), and please e-mail us regarding your
trouble.
Try using the "--locale" command-line option, or your operating
system's locale settings (e.g., the "$LANG" environment variable), and
please e-mail us regarding your trouble.
* If you're using the "--locale" command-line option
+ If you're using the "--locale" command-line option
If this doesn't work, please e-mail us regarding your
trouble.
If this doesn't work, please e-mail us regarding your trouble.
* If you're trying to use your Operating System's locale
+ If you're trying to use your Operating System's locale
If this doesn't work, please e-mail us regarding your
trouble.
If this doesn't work, please e-mail us regarding your trouble.
* Make sure you have the necessary font
+ Make sure you have the necessary font
Some translations require their own font. Chinese and Korean,
for example, need Chinese and Korean TrueType Fonts installed
and placed in the proper location, respectively.
Some translations require their own font. Chinese and Korean, for
example, need Chinese and Korean TrueType Fonts installed and placed in
the proper location, respectively.
The appropriate fonts for such locales can be downloaded from
the Tux Paint website:
The appropriate fonts for such locales can be downloaded from the Tux
Paint website:
https://tuxpaint.org/download/fonts/
----------------------------------------------------------------------
-------------------------------------------------------------------------------
Printing
Tux Paint won't print, gives an error, or prints garbage (Unix/Linux)
Tux Paint prints by creating a PostScript rendition of the picture
and sending it to an external command. By default, this command is
the "lpr" printing tool.
Tux Paint prints by creating a PostScript rendition of the picture and
sending it to an external command. By default, this command is the "lpr"
printing tool.
If that program is not available (for example, you're using CUPS,
the Common Unix Printing System, and do not have "cups-lpr"
installed), you will need to specify an appropriate command using
the "printcommand" option in Tux Paint's configuration file. (See
the "Options Documentation".)
If that program is not available (for example, you're using CUPS, the
Common Unix Printing System, and do not have "cups-lpr" installed), you
will need to specify an appropriate command using the "printcommand" option
in Tux Paint's configuration file. (See the "Options Documentation".)
Note: Versions of Tux Paint prior to 0.9.15 used a different default
command for printing, "pngtopnm | pnmtops | lpr", as Tux Paint output PNG
format, rather than PostScript.
If you had changed your "printcommand" option prior to Tux Paint 0.9.15,
you will need to go back and alter it to accept PostScript.
Note: Versions of Tux Paint prior to 0.9.15 used a different
default command for printing, "pngtopnm | pnmtops | lpr", as Tux
Paint output PNG format, rather than PostScript.
If you had changed your "printcommand" option prior to Tux Paint
0.9.15, you will need to go back and alter it to accept
PostScript.
I get the message "You can't print yet!" when I go to print
The "print delay" option is on. You can only print once every X
seconds.
The "print delay" option is on. You can only print once every X seconds.
If you're running Tux Paint from a command-line, make sure you're
not giving it a "--printdelay=..." option.
If you're running Tux Paint from a command-line, make sure you're not
giving it a "--printdelay=..." option.
If you're running Tux Paint by double-clicking an icon, check the
properties of the icon to see if "--printdelay=..." is listed as a
command-line argument.
If a "--printdelay=..." option isn't being sent on the command
line, check Tux Paint's configuration file for a line reading:
"printdelay=...".
If a "--printdelay=..." option isn't being sent on the command line, check
Tux Paint's configuration file for a line reading: "printdelay=...".
Either remove that line, set the delay value to 0 (no delay), or
decrease the delay to a value you prefer. (See the "Options
Documentation".)
Either remove that line, set the delay value to 0 (no delay), or decrease
the delay to a value you prefer. (See the "Options Documentation".)
Or, you can simply run Tux Paint with the command-line argument:
"--printdelay=0", which will override the configuration file's
setting, and allow unlimited printing. (You won't have to wait
between prints.)
"--printdelay=0", which will override the configuration file's setting, and
allow unlimited printing. (You won't have to wait between prints.)
I simply can't print! The button is greyed out!
The "no print" option is on.
If you're running Tux Paint from a command-line, make sure you're
not giving it a "--noprint" option.
If you're running Tux Paint from a command-line, make sure you're not
giving it a "--noprint" option.
If you're running Tux Paint by double-clicking an icon, check the
properties of the icon to see if "--noprint" is listed as a
command-line argument.
properties of the icon to see if "--noprint" is listed as a command-line
argument.
If a "--noprint" option isn't being sent on the command line,
check Tux Paint's configuration file for a line reading:
"noprint=yes".
If a "--noprint" option isn't being sent on the command line, check Tux
Paint's configuration file for a line reading: "noprint=yes".
Either remove that line, or simply run Tux Paint with the
command-line argument: "--print", which will override the
configuration file's setting.
Either remove that line, or simply run Tux Paint with the command-line
argument: "--print", which will override the configuration file's setting.
Or use Tux Paint Config. and make sure "Allow Printing" (under
"Printing") is checked.
Or use Tux Paint Config. and make sure "Allow Printing" (under "Printing")
is checked.
----------------------------------------------------------------------
-------------------------------------------------------------------------------
Saving
Where does Tux Paint save my drawings?
Unless you asked Tux Paint to save into a specific location (using
the "savedir" option), Tux Paint saves into a standard location on
your local drive:
Unless you asked Tux Paint to save into a specific location (using the
"savedir" option), Tux Paint saves into a standard location on your local
drive:
Windows Vista, Windows 8, Windows 10, Windows 11
In the user's "AppData" folder:
e.g.,
C:\Users\Username\AppData\Roaming\TuxPaint\saved
e.g., C:\Users\Username\AppData\Roaming\TuxPaint\saved
macOS
In the user's "Application Support" folder:
e.g., /Users/Username/Library/Applicaton
Support/TuxPaint/saved/
e.g., /Users/Username/Library/Applicaton Support/TuxPaint/saved/
Linux / Unix
In the user's home directory ("$HOME"), under a
".tuxpaint" subfolder:
In the user's home directory ("$HOME"), under a ".tuxpaint" subfolder:
e.g., /home/username/.tuxpaint/saved/
The images are stored as PNG bitmaps, which most modern programs
should be able to load (image editors, word processors, web
browsers, etc.)
The images are stored as PNG bitmaps, which most modern programs should be
able to load (image editors, word processors, web browsers, etc.)
Tux Paint always saves over my old picture
The "save over" option is enabled. (This disables the prompt that
would appear when you click 'Save.')
The "save over" option is enabled. (This disables the prompt that would
appear when you click 'Save.')
If you're running Tux Paint from a command-line, make sure you're
not giving it a "--saveover" option.
If you're running Tux Paint from a command-line, make sure you're not
giving it a "--saveover" option.
If you're running Tux Paint by double-clicking an icon, check the
properties of the icon to see if "--saveover" is listed as a
command-line argument.
properties of the icon to see if "--saveover" is listed as a command-line
argument.
If a "--saveover" option isn't being sent on the command line,
check Tux Paint's configuration file for a line reading:
"saveover=yes".
If a "--saveover" option isn't being sent on the command line, check Tux
Paint's configuration file for a line reading: "saveover=yes".
Either remove that line, or simply run Tux Paint with the
command-line argument: "--saveoverask", which will override the
configuration file's setting.
Either remove that line, or simply run Tux Paint with the command-line
argument: "--saveoverask", which will override the configuration file's
setting.
Or use Tux Paint Config. and make sure "Ask Before Overwriting"
(under "Saving") is checked.
Or use Tux Paint Config. and make sure "Ask Before Overwriting" (under
"Saving") is checked.
Also, see "Tux Paint always saves a new picture!", below.
Tux Paint always saves a new picture!
The "never save over" option is enabled. (This disables the prompt
that would appear when you click 'Save.')
The "never save over" option is enabled. (This disables the prompt that
would appear when you click 'Save.')
If you're running Tux Paint from a command-line, make sure you're
not giving it a "--saveovernew" option.
If you're running Tux Paint from a command-line, make sure you're not
giving it a "--saveovernew" option.
If you're running Tux Paint by double-clicking an icon, check the
properties of the icon to see if "--saveovernew" is listed as a
command-line argument.
If a "--saveovernew" option isn't being sent on the command line,
check Tux Paint's configuration file for a line reading:
"saveover=new".
If a "--saveovernew" option isn't being sent on the command line, check Tux
Paint's configuration file for a line reading: "saveover=new".
Either remove that line, or simply run Tux Paint with the
command-line argument: "--saveoverask", which will override the
configuration file's setting.
Either remove that line, or simply run Tux Paint with the command-line
argument: "--saveoverask", which will override the configuration file's
setting.
Or use Tux Paint Config. and make sure "Ask Before Overwriting"
(under "Saving") is checked.
Or use Tux Paint Config. and make sure "Ask Before Overwriting" (under
"Saving") is checked.
Also, see "Tux Paint always saves over my old picture!", above.
----------------------------------------------------------------------
-------------------------------------------------------------------------------
Audio Problems
There's no sound!
* First, check the obvious:
* Are your speakers connected and turned on?
* Is the volume turned up on your speakers?
* Is the volume turned up in your Operating System's
"mixer?"
* Are you certain you're using a computer with a sound
card?
* Are any other programs running that use sound? (They may
be 'blocking' Tux Paint from accessing your sound
device)
* (Unix/Linux) Are you using a sound system, such as aRts,
ESD or GStreamer? If so, try setting the
"SDL_AUDIODRIVER" environment variable before running
Tux Paint (e.g., "export SDL_AUDIODRIVER=arts"). Or, run
Tux Paint through the system's rerouter (e.g., run
"artsdsp tuxpaint" or "esddsp tuxpaint", instead of
simply "tuxpaint").
* Is sound disabled in Tux Paint?
+ First, check the obvious:
o Are your speakers connected and turned on?
o Is the volume turned up on your speakers?
o Is the volume turned up in your Operating System's "mixer?"
o Are you certain you're using a computer with a sound card?
o Are any other programs running that use sound? (They may be
'blocking' Tux Paint from accessing your sound device)
o (Unix/Linux) Are you using a sound system, such as aRts, ESD or
GStreamer? If so, try setting the "SDL_AUDIODRIVER" environment
variable before running Tux Paint (e.g., "export SDL_AUDIODRIVER=
arts"). Or, run Tux Paint through the system's rerouter (e.g., run
"artsdsp tuxpaint" or "esddsp tuxpaint", instead of simply
"tuxpaint").
+ Is sound disabled in Tux Paint?
If sound seems to work otherwise (and you're sure no other
program is "blocking" the sound device), then Tux Paint may
be running with a "no sound" option.
If sound seems to work otherwise (and you're sure no other program is
"blocking" the sound device), then Tux Paint may be running with a "no
sound" option.
If you're running Tux Paint from a command-line, make sure
you're not giving it a "--nosound" option.
If you're running Tux Paint from a command-line, make sure you're not
giving it a "--nosound" option.
If you're running Tux Paint by double-clicking an icon, check
the properties of the icon to see if "--nosound" is listed as
a command-line argument.
If you're running Tux Paint by double-clicking an icon, check the
properties of the icon to see if "--nosound" is listed as a
command-line argument.
If a "--nosound" option isn't being sent on the command line,
check Tux Paint's configuration file for a line reading:
"nosound=yes".
If a "--nosound" option isn't being sent on the command line, check Tux
Paint's configuration file for a line reading: "nosound=yes".
Either remove that line, or simply run Tux Paint with the
command-line argument: "--sound", which will override the
configuration file's setting.
Either remove that line, or simply run Tux Paint with the command-line
argument: "--sound", which will override the configuration file's
setting.
Or, you can simply run Tux Paint with the command-line
argument: "Enable Sound Effects", which will override the
configuration file's setting, and allow unlimited printing.
(You won't have to wait between prints.)
Or, you can simply run Tux Paint with the command-line argument:
"Enable Sound Effects", which will override the configuration file's
setting, and allow unlimited printing. (You won't have to wait between
prints.)
* Were sounds temporarily disabled?
+ Were sounds temporarily disabled?
Even if sounds are enabled in Tux Paint, it is possible to
disable and re-enable them temporarily using the [Alt] + [S]
key sequence. Try pressing those keys to see if sounds begin
working again.
Even if sounds are enabled in Tux Paint, it is possible to disable and
re-enable them temporarily using the [Alt] + [S] key sequence. Try
pressing those keys to see if sounds begin working again.
* Was Tux Paint built without sound support?
+ Was Tux Paint built without sound support?
Tux Paint may have been compiled with sound support disabled.
To test whether sound support was enabled when Tux Paint was
compiled, run Tux Paint from a command line, like so:
Tux Paint may have been compiled with sound support disabled. To test
whether sound support was enabled when Tux Paint was compiled, run Tux
Paint from a command line, like so:
tuxpaint --verbose-version
If, amongst the other information, you see "Sound disabled",
then the version of Tux Paint you're running has sound
disabled. Recompile Tux Paint, and be sure NOT to build the
"nosound" target. (i.e., don't run "make nosound") Be sure
the SDL_mixer library and its development headers are
available!
If, amongst the other information, you see "Sound disabled", then the
version of Tux Paint you're running has sound disabled. Recompile Tux
Paint, and be sure NOT to build the "nosound" target. (i.e., don't run
"make nosound") Be sure the SDL_mixer library and its development
headers are available!
Tux Paint makes too much noise! Can I turn them off?
Yes, there are a number of ways to disable sounds in Tux Paint:
* Press [Alt] + [S] while in Tux Paint to temporarily disable
sounds. (Press that key sequence again to re-enable sounds.)
* Run Tux Paint with the "no sound" option:
* Run "tuxpaint --nosound" from the command line or
shortcut or desktop icon.
* Edit Tux Paint's configuration file (see "Options
Documentation" for details) and add a line containing
"nosound=yes".
* Or use Tux Paint Config. and make sure "Enable Sound
Effects" (under "Video & Sound") is not checked.
* Alternatively, recompile Tux Paint with sound support
disabled. (See above, and the 'Install' documentation.
+ Press [Alt] + [S] while in Tux Paint to temporarily disable sounds.
(Press that key sequence again to re-enable sounds.)
+ Run Tux Paint with the "no sound" option:
o Run "tuxpaint --nosound" from the command line or shortcut or
desktop icon.
o Edit Tux Paint's configuration file (see "Options Documentation"
for details) and add a line containing "nosound=yes".
o Or use Tux Paint Config. and make sure "Enable Sound Effects"
(under "Video & Sound") is not checked.
o Alternatively, recompile Tux Paint with sound support disabled.
(See above, and the 'Install' documentation.
The stereo panning of sound effects is bothersome; can sound effects be
monophonic?
Run Tux Paint with the "no stereo" option:
* Run "tuxpaint --nostereo" from the command line or shortcut
or desktop icon.
* Edit Tux Paint's configuration file (see "Options
Documentation" for details) and add a line containing
"nostereo=yes".
* Or use Tux Paint Config. and make sure "Enable Stereo
Effects" (under "Video & Sound") is not checked.
+ Run "tuxpaint --nostereo" from the command line or shortcut or desktop
icon.
+ Edit Tux Paint's configuration file (see "Options Documentation" for
details) and add a line containing "nostereo=yes".
+ Or use Tux Paint Config. and make sure "Enable Stereo Effects" (under
"Video & Sound") is not checked.
The sound effects sound strange
This could have to do with how SDL and SDL_mixer were initialized.
(The buffer size chosen.)
This could have to do with how SDL and SDL_mixer were initialized. (The
buffer size chosen.)
Please e-mail us with details about your computer system.
(Operating system and version, sound card, which version of Tux
Paint you're running (run "tuxpaint --version" to verify), and so
on.)
Please e-mail us with details about your computer system. (Operating system
and version, sound card, which version of Tux Paint you're running (run
"tuxpaint --version" to verify), and so on.)
----------------------------------------------------------------------
-------------------------------------------------------------------------------
Fullscreen Mode Problems
When I run Tux Paint full-screen and [Alt] + [Tab] out, the window turns
black!
When I run Tux Paint full-screen and [Alt] + [Tab] out, the window turns black!
This is apparently a bug in the SDL library. Sorry.
When I run Tux Paint full-screen, it has large borders around it
Linux users - Your X-Window server is probably not set with the
ability to switch to the desired resolution: 800×600. (or whatever
resolution you have Tux Paint set to run at.) (This is typically
done manually under the X-Window server by pressing [Control] +
[Alt] + [Keypad Plus (+)] and [Control] + [Alt] + [Keypad Minus
(-)].)
Linux users - Your X-Window server is probably not set with the ability to
switch to the desired resolution: 800×600. (or whatever resolution you have
Tux Paint set to run at.) (This is typically done manually under the
X-Window server by pressing [Control] + [Alt] + [Keypad Plus (+)] and
[Control] + [Alt] + [Keypad Minus (-)].)
For this to work, your monitor must support that resolution, and
you need to have it listed in your X server configuration.
For this to work, your monitor must support that resolution, and you need
to have it listed in your X server configuration.
Check the "Display" subsection of the "Screen" section of your
XFree86 or X.org configuration file (typically
"/etc/X11/XF86Config-4" or "/etc/X11/XF86Config", depending on the
version of XFree86 you're using; 3.x or 4.x, respectively, or
"/etc/X11/xorg.conf" for X.org).
Check the "Display" subsection of the "Screen" section of your XFree86 or
X.org configuration file (typically "/etc/X11/XF86Config-4" or "/etc/X11/
XF86Config", depending on the version of XFree86 you're using; 3.x or 4.x,
respectively, or "/etc/X11/xorg.conf" for X.org).
Add "800x600" (or whatever resolution(s) you want) to the
appropriate "Modes" line. (e.g., in the "Display" subsection that
contains 24-bit color depth ("Depth 24"), which is what Tux Paint
tries to use.)
Add "800x600" (or whatever resolution(s) you want) to the appropriate
"Modes" line. (e.g., in the "Display" subsection that contains 24-bit color
depth ("Depth 24"), which is what Tux Paint tries to use.)
Modes "1280x1024" "1024x768" "800x600" "640x480"
Note that some Linux distributions have tools that can make these
changes for you. Debian users can run the command
"dpkg-reconfigure xserver-xfree86" as root, for example.
Note that some Linux distributions have tools that can make these changes
for you. Debian users can run the command "dpkg-reconfigure
xserver-xfree86" as root, for example.
Tux Paint keeps running in Full Screen mode - I want it windowed!
The "fullscreen" option is set.
If you're running Tux Paint from a command-line, make sure you're
not giving it a "--fullscreen" option.
If you're running Tux Paint from a command-line, make sure you're not
giving it a "--fullscreen" option.
If you're running Tux Paint by double-clicking an icon, check the
properties of the icon to see if "--fullscreen" is listed as a
command-line argument.
properties of the icon to see if "--fullscreen" is listed as a command-line
argument.
If a "--fullscreen" option isn't being sent on the command line,
check Tux Paint's configuration file for a line reading:
"fullscreen=yes".
If a "--fullscreen" option isn't being sent on the command line, check Tux
Paint's configuration file for a line reading: "fullscreen=yes".
Either remove that line, or simply run Tux Paint with the
command-line argument: "--windowed", which will override the
configuration file's setting.
Either remove that line, or simply run Tux Paint with the command-line
argument: "--windowed", which will override the configuration file's
setting.
Or use Tux Paint Config. and make sure "Fullscreen" (under "Video
& Sound") is not checked.
Or use Tux Paint Config. and make sure "Fullscreen" (under "Video & Sound")
is not checked.
----------------------------------------------------------------------
-------------------------------------------------------------------------------
Other Problems
Tux Paint won't run
If Tux Paint aborts with the message: "You're already running a
copy of Tux Paint!", this means it has been launched in the last
30 seconds. (On Unix/Linux, this message would appear in a
terminal console if you ran Tux Paint from a command-line. On
Windows, this message would appear in a file named "stdout.txt" in
the same folder where TuxPaint.exe resides (e.g., in "C:\Program
Files\TuxPaint").
If Tux Paint aborts with the message: "You're already running a copy of Tux
Paint!", this means it has been launched in the last 30 seconds. (On Unix/
Linux, this message would appear in a terminal console if you ran Tux Paint
from a command-line. On Windows, this message would appear in a file named
"stdout.txt" in the same folder where TuxPaint.exe resides (e.g., in "C:\
Program Files\TuxPaint").
A lockfile ("~/.tuxpaint/lockfile.dat" on Linux and Unix,
"userdata\lockfile.dat" on Windows) is used to make sure Tux Paint
isn't run too many times at once (e.g., due to a child impatiently
clicking its icon more than once).
A lockfile ("~/.tuxpaint/lockfile.dat" on Linux and Unix, "userdata\
lockfile.dat" on Windows) is used to make sure Tux Paint isn't run too many
times at once (e.g., due to a child impatiently clicking its icon more than
once).
Even if the lockfile exists, it contains the 'time' Tux Paint was
last run. If it's been more than 30 seconds, Tux Paint should run
fine, and simply update the lockfile with the current time.
Even if the lockfile exists, it contains the 'time' Tux Paint was last run.
If it's been more than 30 seconds, Tux Paint should run fine, and simply
update the lockfile with the current time.
If multiple users are sharing the directory where this file is stored
(e.g., on a shared network drive), then you'll need to disable this
feature.
To disable the lockfile, add the "--nolockfile" argument to Tux Paint's
command-line, or "nolockfile=yes" to the configuration file.
If multiple users are sharing the directory where this file is
stored (e.g., on a shared network drive), then you'll need to
disable this feature.
To disable the lockfile, add the "--nolockfile" argument to Tux
Paint's command-line, or "nolockfile=yes" to the configuration
file.
I can't quit Tux Paint
The "no quit" option is set. This disables the "Quit" button in
Tux Paint's toolbar (greying it out), and prevents Tux Paint from
being exited via the [Escape] key.
The "no quit" option is set. This disables the "Quit" button in Tux Paint's
toolbar (greying it out), and prevents Tux Paint from being exited via the
[Escape] key.
If Tux Paint is not in fullscreen mode, simply click the window
close button on Tux Paint's title bar. (i.e., the "ⓧ" at the upper
right.)
If Tux Paint is not in fullscreen mode, simply click the window close
button on Tux Paint's title bar. (i.e., the "ⓧ" at the upper right.)
If Tux Paint is in fullscreen mode, you will need to use the [Shift] +
[Control] + [Escape] sequence on the keyboard to quit Tux Paint.
(Note: with or without "no quit" set, you can always use the [Alt] + [F4]
combination on your keyboard to quit Tux Paint.)
If Tux Paint is in fullscreen mode, you will need to use the
[Shift] + [Control] + [Escape] sequence on the keyboard to quit
Tux Paint.
(Note: with or without "no quit" set, you can always use the [Alt]
+ [F4] combination on your keyboard to quit Tux Paint.)
I don't want "no quit" mode enabled!
If you're running Tux Paint from a command-line, make sure you're
not giving it a "--noquit" option.
If you're running Tux Paint from a command-line, make sure you're not
giving it a "--noquit" option.
If you're running Tux Paint by double-clicking an icon, check the
properties of the icon to see if "--noquit" is listed as a
command-line argument.
properties of the icon to see if "--noquit" is listed as a command-line
argument.
If a "--noquit" option isn't being sent on the command line, check
Tux Paint's configuration file for a line reading: "noquit=yes".
If a "--noquit" option isn't being sent on the command line, check Tux
Paint's configuration file for a line reading: "noquit=yes".
Either remove that line, or simply run Tux Paint with the command-line
argument: "--quit", which will override the configuration file's setting.
Or use Tux Paint Config. and make sure "Disable Quit Button and [Escape]
Key" (under "Simplification") is not checked.
Either remove that line, or simply run Tux Paint with the
command-line argument: "--quit", which will override the
configuration file's setting.
Or use Tux Paint Config. and make sure "Disable Quit Button and
[Escape] Key" (under "Simplification") is not checked.
Tux Paint keeps writing weird messages to the screen / to a text file
A few messages are normal, but if Tux Paint is being extremely
verbose (like listing the name of every rubber-stamp image it
finds while loading them), then it was probably compiled with
debugging output turned on.
A few messages are normal, but if Tux Paint is being extremely verbose
(like listing the name of every rubber-stamp image it finds while loading
them), then it was probably compiled with debugging output turned on.
To change this, you must rebuild Tux Paint from source. Be sure to
remove or comment out any line that says:
To change this, you must rebuild Tux Paint from source. Be sure to remove
or comment out any line that says:
#define DEBUG
in the "tuxpaint.c" file in the "src" directory.
Tux Paint is using options I didn't specify!
By default, Tux Paint first looks at configuration files for
options.
By default, Tux Paint first looks at configuration files for options.
* Windows
+ Windows
Under Windows, Tux Paint first examines the configuration
file:
Under Windows, Tux Paint first examines the configuration file:
tuxpaint.cfg
Finally, any options sent as command-line arguments are used.
* macOS
+ macOS
* Unix and Linux
+ Unix and Linux
Under Unix and Linux, it first examines the system-wide
configuration file, located here:
Under Unix and Linux, it first examines the system-wide configuration
file, located here:
/etc/tuxpaint/tuxpaint.conf
@ -572,19 +571,19 @@ Other Problems
Finally, any options sent as command-line arguments are used.
* Haiku
+ Haiku
This means that if anything is set in a configuration file that
you don't want set, you'll need to either change the config. file
(if you can), or override the option on the command-line.
This means that if anything is set in a configuration file that you don't
want set, you'll need to either change the config. file (if you can), or
override the option on the command-line.
For example, on Linux and Unix, if "/etc/tuxpaint/tuxpaint.conf"
includes this option to disable sound...
For example, on Linux and Unix, if "/etc/tuxpaint/tuxpaint.conf" includes
this option to disable sound...
nosound=yes
...then you can reenable sound by either adding this option to
your own ".tuxpaintrc" file:
...then you can reenable sound by either adding this option to your own
".tuxpaintrc" file:
sound=yes
@ -592,24 +591,27 @@ Other Problems
--sound
Linux and Unix users can also disable the system-wide
configuration file by including the following command-line
argument:
Linux and Unix users can also disable the system-wide configuration file by
including the following command-line argument:
--nosysconfig
Tux Paint will then only look at "~/.tuxpaintrc" and command-line
arguments to determine what options should be set.
Tux Paint will then only look at "~/.tuxpaintrc" and command-line arguments
to determine what options should be set.
----------------------------------------------------------------------
-------------------------------------------------------------------------------
Help / Contact
Any questions you don't see answered? Please let us know! You can
subscribe and post to our "tuxpaint-users" mailing list:
Any questions you don't see answered? Please let us know! You can subscribe and
post to our "tuxpaint-users" mailing list:
https://tuxpaint.org/lists/
Or, contact lead developer Bill Kendrick directly:
bill@newbreedsoftware.com

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -10,79 +10,83 @@
About PNGs
PNG is the Portable Network Graphic format. It is an open standard, not
burdened by patents (like GIFs). It is a highly compressed format (though
not "lossy" like JPEGs - lossiness allows files to be much smaller, but
introduces 'mistakes' in the image when saved), and supports 24-bit color
(16.7 million colors) as well as a full "alpha channel" - that is, each
pixel can have a varying degree of transparency.
burdened by patents (like GIFs). It is a highly compressed format (though not
"lossy" like JPEGs - lossiness allows files to be much smaller, but introduces
'mistakes' in the image when saved), and supports 24-bit color (16.7 million
colors) as well as a full "alpha channel" - that is, each pixel can have a
varying degree of transparency.
For more information, visit: http://www.libpng.org/
These features (openness, losslessness, compression, transparency/alpha)
make it the best choice for Tux Paint. (Tux Paint's support for the PNG
format comes from the Open Source SDL_Image library, which in turn gets it
from the libPNG library.)
These features (openness, losslessness, compression, transparency/alpha) make
it the best choice for Tux Paint. (Tux Paint's support for the PNG format comes
from the Open Source SDL_Image library, which in turn gets it from the libPNG
library.)
Support for many colors allows photo-quality "rubber stamp" images to be
used in Tux Paint, and alpha transparency allows for high-quality brushes.
Support for many colors allows photo-quality "rubber stamp" images to be used
in Tux Paint, and alpha transparency allows for high-quality brushes.
How To Make PNGs
The following is a very brief list of ways to create PNGs or convert
existing images into PNGs.
The following is a very brief list of ways to create PNGs or convert existing
images into PNGs.
GIMP & Krita
Excellent tools with which to create PNG images for use in Tux
Paint are GIMP and Krita, both high-quality Open Source
interactive drawing and photo editing programs.
Excellent tools with which to create PNG images for use in Tux Paint are
GIMP and Krita, both high-quality Open Source interactive drawing and photo
editing programs.
It is likely that one or both are already installed on your system. If not,
they should be readily available from your Linux distribution's software
repository. If not, or to learn more, visit http://www.gimp.org/ and http:/
/www.krita.org/, respectively.
It is likely that one or both are already installed on your
system. If not, they should be readily available from your Linux
distribution's software repository. If not, or to learn more,
visit http://www.gimp.org/ and http://www.krita.org/,
respectively.
Command-line Tools
NetPBM
The Portable Bitmap tools (collectively known as
"NetPBM") is a collection of Open Source command-line
tools which convert to and from various formats,
including GIF, TIFF, BMP, PNG, and many more.
The Portable Bitmap tools (collectively known as "NetPBM") is a
collection of Open Source command-line tools which convert to and from
various formats, including GIF, TIFF, BMP, PNG, and many more.
It is possible that it's already installed on your system. If not, they
it be readily available from your Linux distribution's software
repository. If not, or to learn more, visit http://
netpbm.sourceforge.net/.
It is possible that it's already installed on your
system. If not, they it be readily available from
your Linux distribution's software repository. If
not, or to learn more, visit
http://netpbm.sourceforge.net/.
cjpeg/djpeg
The "cjpeg" and "djpeg" command-line programs convert
between the NetPBM Portable Any Map (PNM) format and
JPEGs. It is possible that it's already installed on
your system. If not, they it be readily available
from your Linux distribution's software repository.
If not, or to learn more, visit
https://jpegclub.org/.
The "cjpeg" and "djpeg" command-line programs convert between the
NetPBM Portable Any Map (PNM) format and JPEGs. It is possible that
it's already installed on your system. If not, they it be readily
available from your Linux distribution's software repository. If not,
or to learn more, visit https://jpegclub.org/.
Proprietary Software for Windows
* CorelDRAW (Corel) — http://www.corel.com/
* Illustrator (Adobe) —
http://www.adobe.com/products/illustrator.html
* Paint Shop Pro (Corel) — https://www.paintshoppro.com/
* Photoshop (Adobe) —
http://www.adobe.com/products/photoshop.html
* PIXresizer (Bluefive software) —
http://bluefive.pair.com/pixresizer.htm
+ CorelDRAW (Corel) — http://www.corel.com/
+ Illustrator (Adobe) — http://www.adobe.com/products/illustrator.html
+ Paint Shop Pro (Corel) — https://www.paintshoppro.com/
+ Photoshop (Adobe) — http://www.adobe.com/products/photoshop.html
+ PIXresizer (Bluefive software) — http://bluefive.pair.com/
pixresizer.htm
Macintosh Users
* CorelDRAW (Corel) — http://www.corel.com/
* GraphicConverter (Lemke Software) —
https://www.lemkesoft.de/mac-fotobearbeitung-mac-diashow-mac-grafikprogramm-mac-bildbetrachter/
* Illustrator (Adobe) —
http://www.adobe.com/products/illustrator.html
* Photoshop (Adobe) —
http://www.adobe.com/products/photoshop.html
+ CorelDRAW (Corel) — http://www.corel.com/
+ GraphicConverter (Lemke Software) — https://www.lemkesoft.de/
mac-fotobearbeitung-mac-diashow-mac-grafikprogramm-mac-bildbetrachter/
+ Illustrator (Adobe) — http://www.adobe.com/products/illustrator.html
+ Photoshop (Adobe) — http://www.adobe.com/products/photoshop.html

File diff suppressed because it is too large Load diff

View file

@ -7,47 +7,51 @@
junio 4, 2022
Tux Paint responds to the following signals (which can be sent to the
program's process via `kill` or `killall`, for example).
Tux Paint responds to the following signals (which can be sent to the program's
process via `kill` or `killall`, for example).
SIGTERM (also, [Control] + [C] from a terminal running `tuxpaint`)
Tux Paint responds as if the "Quit" button were pressed, or the
desktop environment was told to close Tux Paint (e.g., by clicking
a window close button, or pressing [Alt] + [F4] on most systems).
Tux Paint responds as if the "Quit" button were pressed, or the desktop
environment was told to close Tux Paint (e.g., by clicking a window close
button, or pressing [Alt] + [F4] on most systems).
From the main interface, Tux Paint will prompt whether or not you
wish to quit, and (unless overridden by the auto-save option, e.g.
"--autosave") if you'd like to save the current drawing (if
unsaved), and if so, and it's a modified version of an existing
drawing (unless overridden by the options to save over old images,
or always save new images; e.g. "--saveover" and "--saveovernew",
respectively), whether or not to overwrite the existing drawing,
or save to a new file.
From the main interface, Tux Paint will prompt whether or not you wish to
quit, and (unless overridden by the auto-save option, e.g. "--autosave") if
you'd like to save the current drawing (if unsaved), and if so, and it's a
modified version of an existing drawing (unless overridden by the options
to save over old images, or always save new images; e.g. "--saveover" and
"--saveovernew", respectively), whether or not to overwrite the existing
drawing, or save to a new file.
Example: killall tuxpaint
💡 Note: From other parts of the interface, the signal is currently
interpreted as a request to go back (e.g., from the "New" dialog
back to the main interface), as if a "Back" button in Tux Paint
were clicked, or the [Esc] was key pressed.
interpreted as a request to go back (e.g., from the "New" dialog back to
the main interface), as if a "Back" button in Tux Paint were clicked, or
the [Esc] was key pressed.
SIGUSR1 & SIGUSR2
Tux Paint responds by setting its auto-save option (as if it had
been launched with "--autosave"), as well as either the option to
always save new images (as if launched with "--saveovernew") in
the case of receiving a SIGUSR1 signal, or to always save over the
existing image (as if launched with "--saveover") in the case of
receiving SIGUSR2. Then Tux Paint sends itself a SIGTERM signal,
in an attempt to quit. (See above.)
Tux Paint responds by setting its auto-save option (as if it had been
launched with "--autosave"), as well as either the option to always save
new images (as if launched with "--saveovernew") in the case of receiving a
SIGUSR1 signal, or to always save over the existing image (as if launched
with "--saveover") in the case of receiving SIGUSR2. Then Tux Paint sends
itself a SIGTERM signal, in an attempt to quit. (See above.)
So, from the main interface, Tux Paint should quit almost
immediately, with no questions asked.
So, from the main interface, Tux Paint should quit almost immediately, with
no questions asked.
Example: killall -s SIGUSR1 tuxpaint
💡 Note: From other parts of the interface, unfortunately, Tux
Paint will go back one level in the interface. Therefore, at this
time, it may be necessary to send this signal to Tux Paint a few
times, for it to quit completely.
💡 Note: From other parts of the interface, unfortunately, Tux Paint will go
back one level in the interface. Therefore, at this time, it may be
necessary to send this signal to Tux Paint a few times, for it to quit
completely.

View file

@ -10,27 +10,28 @@
About SVGs
SVG (Scalable Vector Graphics) is an open standard used to describe
two-dimensional vector graphics. It is great for diagrams and shapes,
while PNGs are better for photographs. SVG files are a bit like
instructions on how to make an image. This means that they can be resized
without looking pixelated or blocky.
two-dimensional vector graphics. It is great for diagrams and shapes, while
PNGs are better for photographs. SVG files are a bit like instructions on how
to make an image. This means that they can be resized without looking pixelated
or blocky.
For more information, visit: https://www.w3.org/Graphics/SVG/
How to make SVGs
An excellent tool with which to create SVG images for use in Tux Paint is
Inkscape, a high-quality Open Source interactive drawing program available
for Windows, macOS, and Linux. There are also other applications that can
produce SVGs, both free/open source, and commerical/proprietary.
Inkscape, a high-quality Open Source interactive drawing program available for
Windows, macOS, and Linux. There are also other applications that can produce
SVGs, both free/open source, and commerical/proprietary.
Open Source
* Inkscape — http://www.inkscape.org/
* Karbon — https://calligra.org/karbon/
+ Inkscape — http://www.inkscape.org/
+ Karbon — https://calligra.org/karbon/
Proprietary
* CorelDRAW (Corel) — https://www.coreldraw.com/en/
* Illustrator (Adobe) —
http://www.adobe.com/products/illustrator.html
* Boxy SVG — https://boxy-svg.com/
* Sketch (Sketch B.V.) — https://boxy-svg.com/
+ CorelDRAW (Corel) — https://www.coreldraw.com/en/
+ Illustrator (Adobe) — http://www.adobe.com/products/illustrator.html
+ Boxy SVG — https://boxy-svg.com/
+ Sketch (Sketch B.V.) — https://boxy-svg.com/

View file

@ -14,18 +14,18 @@ Tools (Drawing)
* Change categories with the arrow buttons ⇦⇨ near the bottom right.
* Choose a stamp on the right.
* Some stamps may be mirrored 🪞, and/or flipped ↕, using controls near
the bottom right.
* Some stamps may be mirrored 🪞, and/or flipped ↕, using controls near the
bottom right.
* Some stamps allow you to choose their color (see "Colors").
* Change stamp size with the bars 📶 at the bottom right.
* Rotation ⟳ may be enabled, if desired.
* Click/tap in the canvas to place a stamp.
* If rotation is enabled, drag to rotate it, and click/tap again to
add it to the drawing.
+ If rotation is enabled, drag to rotate it, and click/tap again to add
it to the drawing.
* Some stamps play sound effects; press the speaker 🕪 button to hear it
again.
* Some stamps play descriptive sounds; press the headphones 🎧 button to
hear it again.
* Some stamps play descriptive sounds; press the headphones 🎧 button to hear
it again.
⚟Lines
@ -35,71 +35,68 @@ Tools (Drawing)
⭓Shapes
* Choose a shape on the right.
* Select whether you want to extend the shape from the center ⧈, or a
corner ◰, using controls at the bottom right.
* Select whether you want to extend the shape from the center ⧈, or a corner
◰, using controls at the bottom right.
* Click/tap to position, and drag to set the size of the shape.
* Drag to rotate it, and click/tap again to add it to the drawing.
🄰Text
* Choose a font on the right.
* Select whether you want the text bold 𝗔 and/or italic 𝘈, using
controls near the bottom right.
* Select whether you want the text bold 𝗔 and/or italic 𝘈, using controls
near the bottom right.
* Change text size using the up 🡁 and down 🡃 arrow buttons at the bottom
right.
* Choose a color (see "Colors").
* Click/tap the canvas to position an insertion cursor.
* Enter text via your keyboard or the on-screen keyboard.
* Click/tap the canvas again if you wish to reposition the text.
* Press [Enter]/[Return] or click/tap ⮨ to add the text to the drawing
and begin entering more text one line down.
* Press [Enter]/[Return] or click/tap ⮨ to add the text to the drawing and
begin entering more text one line down.
* Or, press [Tab] or click/tap or ⟷ to add the text to the drawing and
continue entering more text immediately to the right.
* Using the on-screen keyboard:
* "Cmp" can be used to compose characters, e.g. Cmp ' a results in
á.
* "AltGr" can be used to quickly access more characters.
* Left/Right arrows switches keyboard layouts (e.g., "QWERTY" vs.
"ABC")
+ "Cmp" can be used to compose characters, e.g. Cmp ' a results in á.
+ "AltGr" can be used to quickly access more characters.
+ Left/Right arrows switches keyboard layouts (e.g., "QWERTY" vs. "ABC")
🅰Label
* (See Text)
* Labels float 'above' the drawing; you cannot paint or stamp over them,
apply Magic effects, etc.
* Labels may be edited, repositioned, and styled after they've been
added to the drawing.
* Click/tap the ☝ button near the lower right to choose a label.
Click/tap the label you wish to modify, then click/tap somewhere else
in the canvas to reposition, or change the font/style, change color,
and/or type to edit the text.
* Or, use the 🖑 button near the lower right to "flatten" a label,
applying it to the canvas; it may no longer be edited with the Label
tool.
* Labels may be edited, repositioned, and styled after they've been added to
the drawing.
* Click/tap the ☝ button near the lower right to choose a label. Click/tap
the label you wish to modify, then click/tap somewhere else in the canvas
to reposition, or change the font/style, change color, and/or type to edit
the text.
* Or, use the 🖑 button near the lower right to "flatten" a label, applying it
to the canvas; it may no longer be edited with the Label tool.
🪣Fill
* Choose a fill mode on the right.
* Choose a color (see "Colors").
* Click/tap (and drag, with Brush and Linear modes) to fill an area of
the picture with a color.
* Solid - Flood-fills an area with a solid color
* Brush - Paints with a solid color, without drawing outside the
chosen area
* Linear - Fills the area with a linear gradient (drag to choose
angle and gradient)
* Radial - Fills the area with a radial gradient, centered where
you clicked/tapped
* Shaped - Fills the area with a gradient that follows the contours
of the area being filled
* Click/tap (and drag, with Brush and Linear modes) to fill an area of the
picture with a color.
+ Solid - Flood-fills an area with a solid color
+ Brush - Paints with a solid color, without drawing outside the chosen
area
+ Linear - Fills the area with a linear gradient (drag to choose angle
and gradient)
+ Radial - Fills the area with a radial gradient, centered where you
clicked/tapped
+ Shaped - Fills the area with a gradient that follows the contours of
the area being filled
🪄Magic
* Choose a magic tool on the right.
* Change categories with the arrow buttons ⇦⇨ near the bottom right.
* Some magic tools draw or apply effects via click/tap and drag 〰🪄, some
affect the entire drawing 🖻🪄, and some offer both options; use the
controls at the bottom right.
affect the entire drawing 🖻🪄, and some offer both options; use the controls
at the bottom right.
* Some magic tools offer various sizes; change it with the bars 📶 at the
bottom right.
* Some magic tools allow you to choose their color.
@ -117,8 +114,8 @@ Tools (Drawing)
◪Eraser
* Choose the size and shape of the eraser on the right.
* Click/tap and drag to erase parts of the picture (solid color, or
starter or template image).
* Click/tap and drag to erase parts of the picture (solid color, or starter
or template image).
* Shortcut: [X] and click/tap in the drawing (not always available)
Tools (Controls)
@ -126,11 +123,10 @@ Tools (Controls)
🗏New
* Choose a solid color, starter, or template image to start with.
* Starters allow drawing "under" a picture (e.g., a coloring book
+ Starters allow drawing "under" a picture (e.g., a coloring book
outline), sometimes with a background layer, too.
* Templates are pictures to start with (background only).
* Eraser tool ◪ reveals the solid color, or starter/template
background.
+ Templates are pictures to start with (background only).
+ Eraser tool ◪ reveals the solid color, or starter/template background.
* Click/tap "🕮⮫Open" to begin a new drawing.
* Click/tap "⤺Back" to abort and return to your current drawing.
* Shortcut: [Ctrl]+[N]
@ -141,32 +137,31 @@ Tools (Controls)
* Click/tap "🕮⮫Open" to open the saved drawing and continue editing it.
* Click/tap "🗏⮫Export" to save the drawing to your system's "Pictures"
folder.
* Click/tap "🗑Erase" to move the drawing to your system's Trash/Recycle
Bin.
* Click/tap "🗑Erase" to move the drawing to your system's Trash/Recycle Bin.
* Click/tap "⤺Back" to abort and return to your current drawing.
* Click/tap "📽Slides" to switch to slideshow mode:
* Click/tap two or more of your previously-saved drawings, in the
order you want them shown. Numbers will appear on them.
* Choose the playback speed using the bars 📶 near the lower left.
* Click/tap "⯈Play" to watch the slideshow/animation.
* Or, click/tap "🎞GIF Export" to save an animated GIF of the
animation to your system's "Pictures" folder.
* Click/tap "⤺Back" to return to the Open dialog.
+ Click/tap two or more of your previously-saved drawings, in the order
you want them shown. Numbers will appear on them.
+ Choose the playback speed using the bars 📶 near the lower left.
+ Click/tap "⯈Play" to watch the slideshow/animation.
+ Or, click/tap "🎞GIF Export" to save an animated GIF of the animation to
your system's "Pictures" folder.
+ Click/tap "⤺Back" to return to the Open dialog.
* Shortcut: [Ctrl]+[O]
🕮⮪Save
* Click/tap to save your drawing.
* If you've saved previously, you'll be prompted whether to overwrite
the previously-saved drawing (a la "File→Save") or create a new saved
drawing (a la "File→Save As...")
* If you've saved previously, you'll be prompted whether to overwrite the
previously-saved drawing (a la "File→Save") or create a new saved drawing
(a la "File→Save As...")
* Shortcut: [Ctrl]+[S]
🖶Print
* Click/tap to print your drawing.
* Hold [Alt] or [Option] while clicking/tapping to bring up printer
dialog, if available.
* Hold [Alt] or [Option] while clicking/tapping to bring up printer dialog,
if available.
* Shortcut: [Ctrl]+[P]
🗙Quit
@ -176,28 +171,27 @@ Tools (Controls)
Colors
* Click/tap to choose a color to use with the Paint, Lines, and Shapes
tools, and Stamps and Magic tools that support colors.
* Use the pipette / color picker 💉 button to choose a color from a pixel
in your current drawing.
* Shortcut: When colors are available, press [Ctrl] and click/tap
in your drawing, to quickly pick a color from your drawing.
* Click/tap to choose a color to use with the Paint, Lines, and Shapes tools,
and Stamps and Magic tools that support colors.
* Use the pipette / color picker 💉 button to choose a color from a pixel in
your current drawing.
+ Shortcut: When colors are available, press [Ctrl] and click/tap in your
drawing, to quickly pick a color from your drawing.
* Click/tap the rainbow 🌈 button to choose a arbitrary color.
* Click/tap in the rainbow square to pick a color (hue and
saturation).
* Click/tap in the grey gradient bar to adjust brightness (value).
* Click/tap the green checkbox ✓ to accept.
* Click/tap "⤺Back" to abort and dismiss the palette.
* You may grab the currently-chosen built-in color (if any), the
color in the pipette / color picker, or the color in the color
mixer, by clicking one of the colored arrow ⇫ buttons.
* Click/tap the paint palette 🎨 button to create a color by mixing
primary colors: red, yellow, and blue, and white (tint), grey (tone),
and black (shade).
* Click/tap the green checkbox ✓ to accept.
* Color mixing offers its own 🖓Undo and 🖒Redo options.
* Click/tap "🗑Clear" to start over with no mixed colors.
* Click/tap "⤺Back" to abort and dismiss the color mixer.
+ Click/tap in the rainbow square to pick a color (hue and saturation).
+ Click/tap in the grey gradient bar to adjust brightness (value).
+ Click/tap the green checkbox ✓ to accept.
+ Click/tap "⤺Back" to abort and dismiss the palette.
+ You may grab the currently-chosen built-in color (if any), the color in
the pipette / color picker, or the color in the color mixer, by
clicking one of the colored arrow ⇫ buttons.
* Click/tap the paint palette 🎨 button to create a color by mixing primary
colors: red, yellow, and blue, and white (tint), grey (tone), and black
(shade).
+ Click/tap the green checkbox ✓ to accept.
+ Color mixing offers its own 🖓Undo and 🖒Redo options.
+ Click/tap "🗑Clear" to start over with no mixed colors.
+ Click/tap "⤺Back" to abort and dismiss the color mixer.
Shortcuts while drawing:
@ -213,3 +207,4 @@ Shortcuts while drawing:
* [Esc] - ⤺Back or 🗙Quit
Last updated: mayo 9, 2023

View file

@ -6,8 +6,7 @@
juin 4, 2022
----------------------------------------------------------------------
-------------------------------------------------------------------------------
+----------------------------------------------------+
| Table des matières |
|----------------------------------------------------|
@ -17,26 +16,24 @@
| * Remplacer la frange et les pixels indésirables |
| * Sauvegarder l'image pour Tux Paint |
+----------------------------------------------------+
----------------------------------------------------------------------
----------------------------------------------------------------------
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
À propos de ce 'guide pratique'
Ce 'guide pratique' suppose que vous vouliez créer un excellent tampon
pour Tux Paint, au format bitmap PNG, à partir d'une image JPEG (par ex.
une photographie digitale). Il existe des méthodes plus faciles et plus
rapides donnant de moins bons résultats.
Ce 'guide pratique' suppose que vous vouliez créer un excellent tampon pour
Tux Paint, au format bitmap PNG, à partir d'une image JPEG (par ex. une
photographie digitale). Il existe des méthodes plus faciles et plus rapides
donnant de moins bons résultats.
Ce 'guide pratique' suppose que vous travaillez avec des objets
normalement opaques. Pour des objets semi-transparents (flamme, hélice
de ventilateur en mouvement) ou des objets luminescents (feu, ampoule,
soleil) mieux vaut travailler avec un logiciel adapté. Des images avec
de parfaits arrière-plans de couleur unie sont mieux réalisées avec un
logiciel adapté, mais ne posent pas de problèmes avec ce qui suit.
Ce 'guide pratique' suppose que vous travaillez avec des objets normalement
opaques. Pour des objets semi-transparents (flamme, hélice de ventilateur
en mouvement) ou des objets luminescents (feu, ampoule, soleil) mieux vaut
travailler avec un logiciel adapté. Des images avec de parfaits
arrière-plans de couleur unie sont mieux réalisées avec un logiciel adapté,
mais ne posent pas de problèmes avec ce qui suit.
----------------------------------------------------------------------
-------------------------------------------------------------------------------
Le choix de l'image est crucial
@ -55,10 +52,10 @@ Le choix de l'image est crucial
conviendront. (Note : les sites *.mil peuvent avoir aussi des contenus
non-militaires !)
Vos propres images peuvent être placées dans le domaine public, ou
sous une licence adéquate, telle que Google image en y faisant
référence. (Demandez à un avocat si vous pensez que vous avez besoin
d'un avis faisant autorité).
Vos propres images peuvent être placées dans le domaine public, ou sous
une licence adéquate, telle que Google image en y faisant référence.
(Demandez à un avocat si vous pensez que vous avez besoin d'un avis
faisant autorité).
Pour un usage personnel, toute image que vous pouvez légalement
modifier et utiliser pour vous-même devrait convenir.
@ -67,10 +64,10 @@ Le choix de l'image est crucial
Vous aurez besoin d'une image ayant une bonne orientation. La
perspective est notre ennemie. Les images montrant un objet à partir
d'un coin sont difficiles à intégrer pour obtenir un dessin correct.
En règle générale, les photos prises au téléobjectif sont les
meilleures. L'idéal, impossible à tenir, serait que deux roues d'une
même voiture soient cachées derrière les deux autres.
d'un coin sont difficiles à intégrer pour obtenir un dessin correct. En
règle générale, les photos prises au téléobjectif sont les meilleures.
L'idéal, impossible à tenir, serait que deux roues d'une même voiture
soient cachées derrière les deux autres.
Effectuer une rotation sur une image peut la rendre floue, surtout si
vous ne la pivotez que de quelques degrés. Les meilleures images sont
@ -86,37 +83,34 @@ Le choix de l'image est crucial
de plus de 1 000 pixels si possible. Vous pourrez ainsi la réduire et
cacher vos erreurs.
Vérifiez bien que l'image ne soit pas trop granuleuse, pâle ou
délavée.
Vérifiez bien que l'image ne soit pas trop granuleuse, pâle ou délavée.
Faites attention aux pieds et aux roues. Si elles sont camouflées par
quelque chose, vous devrez en dessiner de nouvelles. Si une seule est
camouflée, vous devriez pouvoir effectuer un copié-collé pour le
remplacement.
----------------------------------------------------------------------
-------------------------------------------------------------------------------
Préparez l'image
Tout d'abord, ne re-sauvegardez pas une image au format JPEG. Cela
induit une perte de qualité. Il existe un outil spécial appelé jpegtran
qui vous permet de découper une image sans la perte de qualité
habituelle.
Tout d'abord, ne re-sauvegardez pas une image au format JPEG. Cela induit
une perte de qualité. Il existe un outil spécial appelé jpegtran qui vous
permet de découper une image sans la perte de qualité habituelle.
jpegtran -trim -copy none -crop 512x1728+160+128 < src.jpg >
cropped.jpg
Importez votre image dans votre éditeur d'image. Si vous n'avez pas
encore recadré votre image, vous pouvez trouver que votre éditeur est
très lent. Faites une rotation et recadrer l'image comme vous voulez.
Sauvegardez l'image -- choisissez tout format supportant les calques,
les masques, alpha, etc... Les utilisateurs de GIMP choisiront le format
XCF, et les utilisateurs de Adobe Photoshop choisiront PSD, à titre
d'exemple.
Importez votre image dans votre éditeur d'image. Si vous n'avez pas encore
recadré votre image, vous pouvez trouver que votre éditeur est très lent.
Faites une rotation et recadrer l'image comme vous voulez. Sauvegardez
l'image -- choisissez tout format supportant les calques, les masques,
alpha, etc... Les utilisateurs de GIMP choisiront le format XCF, et les
utilisateurs de Adobe Photoshop choisiront PSD, à titre d'exemple.
Si vous avez effectué une rotation et un recadrage de votre image,
applatissez-la. Vous n'avez besoin que d'un seul calque RGB sans masque
ou canal alpha.
applatissez-la. Vous n'avez besoin que d'un seul calque RGB sans masque ou
canal alpha.
Ouvrez la boîte de dialogue qui concerne les calques. Reproduisez une
couche plusieurs fois. Du haut jusqu'en bas vous aurez besoin de quelque
@ -128,63 +122,61 @@ Préparez l'image
4. magenta uni (si possible protégé en écriture)
5. image non-modifiée (protégez la en écriture, si possible)
Donnez au calque 'travail en cours' (WIP) un masque initial
approximatif. Vous pouvez démarrer avec une sélection, ou en utilisant
la valeur de niveaux de gris du calque WIP. Vous pouvez inverser le
masque.
Donnez au calque 'travail en cours' (WIP) un masque initial approximatif.
Vous pouvez démarrer avec une sélection, ou en utilisant la valeur de
niveaux de gris du calque WIP. Vous pouvez inverser le masque.
Attention : une fois que avez le masque, vous ne pourrez plus tourner ou
modifier la taille de l'image normalement. Cela entraînerait des pertes
de données. On vous donnera plus tard des instructions pour la mise à
modifier la taille de l'image normalement. Cela entraînerait des pertes de
données. On vous donnera plus tard des instructions pour la mise à
l'échelle.
----------------------------------------------------------------------
-------------------------------------------------------------------------------
Préparez le masque
Prenez l'habitude de faire un [Control]-clic et un [Alt]-clic sur les
images-vignettes dans la boîte de dialogue des calques. Vous devez le
faire pour vérifier ce que vous voyez et ce que vous éditez. Parfois
vous éditerez des choses que vous ne pouvez pas voir. Par exemple, vous
pouvez éditer le masque du masque WIP, tout en regardant l'image non
modifiée. Faites attention à ne pas vous tromper. Vérifiez toujours que
vous éditez ce qu'il faut.
images-vignettes dans la boîte de dialogue des calques. Vous devez le faire
pour vérifier ce que vous voyez et ce que vous éditez. Parfois vous
éditerez des choses que vous ne pouvez pas voir. Par exemple, vous pouvez
éditer le masque du masque WIP, tout en regardant l'image non modifiée.
Faites attention à ne pas vous tromper. Vérifiez toujours que vous éditez
ce qu'il faut.
Définissez une image non-modifiée comme étant celle que vous voulez
afficher (celle du haut est la plus facile). Définissez le masque WIP
comme étant ce que vous allez éditer. À un moment donné, vous devriez
agrandir l'image à environ 400 % (chaque pixel de l'image est vu et
représenté par un bloc de 4x4 pixels sur votre écran.
afficher (celle du haut est la plus facile). Définissez le masque WIP comme
étant ce que vous allez éditer. À un moment donné, vous devriez agrandir
l'image à environ 400 % (chaque pixel de l'image est vu et représenté par
un bloc de 4x4 pixels sur votre écran.
Sélectionnez les parties de l'image devant être 100 % opaques, ou bien 0
% opaques.Si vous pouvez sélectionner l'objet ou l'arrière-plan avec une
bonne précision, faites le. Si nécessaire, pour éviter de sélectionner
des pixels devant être partiellement opaques (en général sur les bords
de l'objet), vous devriez agrandir, réduire et inverser la sélection.
Sélectionnez les parties de l'image devant être 100 % opaques, ou bien 0 %
opaques.Si vous pouvez sélectionner l'objet ou l'arrière-plan avec une
bonne précision, faites le. Si nécessaire, pour éviter de sélectionner des
pixels devant être partiellement opaques (en général sur les bords de
l'objet), vous devriez agrandir, réduire et inverser la sélection.
Remplissez les zones 100 % opaques avec du blanc, et les 0 % opaques
avec du noir. On le fait facilement en glissant-déposant depuis
l'indicateur de couleur de premier plan. Vous ne devriez rien voir se
produire, car vous voyez le calque de l'image non modifiée quand vous
éditez le masque du calque WIP. Les changements importants peuvent être
vus sur la vignette.
Remplissez les zones 100 % opaques avec du blanc, et les 0 % opaques avec
du noir. On le fait facilement en glissant-déposant depuis l'indicateur de
couleur de premier plan. Vous ne devriez rien voir se produire, car vous
voyez le calque de l'image non modifiée quand vous éditez le masque du
calque WIP. Les changements importants peuvent être vus sur la vignette.
Maintenant vous devez zoomer.
Vérifiez votre travail. Cachez le calque supérieur d'image non-modifiée.
N'affichez que le masque, qui devrait être un objet blanc sur un fond
noir (probablement avec du gris non édité sur les bords). Maintenant
affichez le calque WIP normalement, pour que le masque soit actif. Cela
devrait montrer votre objet par dessus le prochain calque activé le plus
élevé, et qui devrait être vert ou magenta, suivant le cas, pour avoir
un contraste maximum. Vous pourriez basculer entre ces arrière-plans en
cliquant plusieurs fois pour activer/désactiver le calque vert. Corrigez
tous les problèmes évidents et faciles en éditant le masque.
N'affichez que le masque, qui devrait être un objet blanc sur un fond noir
(probablement avec du gris non édité sur les bords). Maintenant affichez le
calque WIP normalement, pour que le masque soit actif. Cela devrait montrer
votre objet par dessus le prochain calque activé le plus élevé, et qui
devrait être vert ou magenta, suivant le cas, pour avoir un contraste
maximum. Vous pourriez basculer entre ces arrière-plans en cliquant
plusieurs fois pour activer/désactiver le calque vert. Corrigez tous les
problèmes évidents et faciles en éditant le masque.
Revenez à l'affichage du calque supérieur non modifié lors de l'édition
du masque WIP. Ajustez le pinceau dans l'outil de dessin. Pour la
brosse, choisissez un petit cercle flou. Une taille de 5x5 convient dans
la plupart des cas.
Revenez à l'affichage du calque supérieur non modifié lors de l'édition du
masque WIP. Ajustez le pinceau dans l'outil de dessin. Pour la brosse,
choisissez un petit cercle flou. Une taille de 5x5 convient dans la plupart
des cas.
Avec une main sûre, tracez autour de l'image. Utilisez du noir à
l'extérieur et du blanc à l'intérieur. Évitez de faire plus d'un passage
@ -192,19 +184,19 @@ Préparez le masque
Inversez un peu les vues, pour vérifier que le masque fonctionne
bien.Lorsque le calque WIP est fait de vert ou de magenta, vous devriez
voir un tout petit peu de l'arrière-plan initial ressemblant à une
vilaine frange près du bord. Si la frange est absente, c'est que le
masque d'objet est trop petit. La frange est constituée de pixels qui ne
sont ni à un objet à 100 % ni un objet à 0 %. Pour eux, le masque ne
devrait être ni à 100 % ni à 0 %. La frange disparaîtra bientôt.
voir un tout petit peu de l'arrière-plan initial ressemblant à une vilaine
frange près du bord. Si la frange est absente, c'est que le masque d'objet
est trop petit. La frange est constituée de pixels qui ne sont ni à un
objet à 100 % ni un objet à 0 %. Pour eux, le masque ne devrait être ni à
100 % ni à 0 %. La frange disparaîtra bientôt.
Affichez et modifiez le masque. Sélectionnez par couleur, en choisissant
le noir ou le blanc. Vous verrez sûrement des tâches non sélectionnées
qui ne sont pas tout à fait à la couleur attendue. Inversez la
sélection, et coloriez les avec l'outil crayon. Faites ces opérations
pour le blanc et le noir.
Affichez et modifiez le masque. Sélectionnez par couleur, en choisissant le
noir ou le blanc. Vous verrez sûrement des tâches non sélectionnées qui ne
sont pas tout à fait à la couleur attendue. Inversez la sélection, et
coloriez les avec l'outil crayon. Faites ces opérations pour le blanc et le
noir.
----------------------------------------------------------------------
-------------------------------------------------------------------------------
Remplacer la frange et les pixels indésirables
@ -215,89 +207,87 @@ Remplacer la frange et les pixels indésirables
Désactivez maintenant le masque. Affichez et modifiez la couche WIP non
masquée. À l'aide de l'outil de sélection de couleur, choisissez une
couleur moyenne pour l'objet. Faites glisser et déposez cette couleur
dans la sélection, supprimant ainsi la plupart des pixels non-objets.
couleur moyenne pour l'objet. Faites glisser et déposez cette couleur dans
la sélection, supprimant ainsi la plupart des pixels non-objets.
Cette couleur unie se compressera bien et aidera à éviter les franges de
couleur laides lorsque Tux Paint redimensionnera l'image. Si le bord de
l'objet a plusieurs couleurs très différentes, vous devriez diviser
votre sélection afin de pouvoir colorer l'arrière-plan voisin d'une
teinte similaire.
l'objet a plusieurs couleurs très différentes, vous devriez diviser votre
sélection afin de pouvoir colorer l'arrière-plan voisin d'une teinte
similaire.
Vous allez maintenant peindre la frange de bord existante. Assurez-vous
que vous modifiez et visualisez l'image WIP. En changeant fréquemment de
calque, vous verrez mieux à voir ce que vous faites. Vous êtes
susceptible d'utiliser tous ceux-ci :
Vous allez maintenant peindre la frange de bord existante. Assurez-vous que
vous modifiez et visualisez l'image WIP. En changeant fréquemment de
calque, vous verrez mieux à voir ce que vous faites. Vous êtes susceptible
d'utiliser tous ceux-ci :
* composite sur vert (masque activé)
* composite sur magenta (masque activé)
* original (calque supérieur ou inférieur)
* composite sur l'original (masque activé)
* calque WIP brut (masque désactivé
+ composite sur vert (masque activé)
+ composite sur magenta (masque activé)
+ original (calque supérieur ou inférieur)
+ composite sur l'original (masque activé)
+ calque WIP brut (masque désactivé
Pour réduire les accidents, vous souhaiterez peut-être sélectionner
uniquement les pixels qui ne sont pas gris dans le masque. (Sélectionnez
par couleur dans le masque, choisissez le noir, ajoutez le mode,
choisissez le blanc, inversez. Ou bien : sélectionnez tout, sélectionnez
par couleur dans le masque, soustrayez le mode, choisissez le noir,
choisissez le blanc.) Si vous faites cela, vous voudrez probablement
élargir un peu la sélection et / ou masquer la ligne "fourmis rampantes"
qui marque la sélection.
par couleur dans le masque, choisissez le noir, ajoutez le mode, choisissez
le blanc, inversez. Ou bien : sélectionnez tout, sélectionnez par couleur
dans le masque, soustrayez le mode, choisissez le noir, choisissez le
blanc.) Si vous faites cela, vous voudrez probablement élargir un peu la
sélection et / ou masquer la ligne "fourmis rampantes" qui marque la
sélection.
Use the clone tool and the brush tool. Vary the opacity as needed. Use
small round brushes mostly, perhaps 3x3 or 5x5, fuzzy or not. (It is
generally nice to pair up fuzzy brushes with 100% opacity and non-fuzzy
brushes with about 70% opacity.) Unusual drawing modes can be helpful
with semi-transparent objects.
brushes with about 70% opacity.) Unusual drawing modes can be helpful with
semi-transparent objects.
Le but est de supprimer la frange de bord, à la fois à l'intérieur et à
l'extérieur de l'objet. La frange intérieure, visible lorsque l'objet
est composé de magenta ou de vert, doit être supprimée pour des raisons
l'extérieur de l'objet. La frange intérieure, visible lorsque l'objet est
composé de magenta ou de vert, doit être supprimée pour des raisons
évidentes. La frange extérieure doit également être supprimée car elle
deviendra visible lorsque l'image sera réduite. À titre d'exemple,
considérons une région avec 2x2 de pixels au bord d'un objet aux arêtes
vives. La moitié gauche est noire et opaque à 0%. La moitié droite est
blanche et 100% opaque. Autrement dit, nous avons un objet blanc sur
fond noir. Lorsque Tux Paint redimensionne cela à 50% (une zone de 1 x 1
pixel), le résultat sera un pixel opaque gris à 50%. Le résultat correct
devrait être un pixel blanc opaque à 50%. Pour obtenir ce résultat, nous
devrions peindre les pixels noirs. Ils comptent, bien qu'ils soient à 0
% d'opacité.
blanche et 100% opaque. Autrement dit, nous avons un objet blanc sur fond
noir. Lorsque Tux Paint redimensionne cela à 50% (une zone de 1 x 1 pixel),
le résultat sera un pixel opaque gris à 50%. Le résultat correct devrait
être un pixel blanc opaque à 50%. Pour obtenir ce résultat, nous devrions
peindre les pixels noirs. Ils comptent, bien qu'ils soient à 0 % d'opacité.
Tux Paint peut réduire considérablement la taille des images, il est
donc important d'étendre considérablement le bord de votre objet vers
l'extérieur. Juste au bord de votre objet, vous devez être très précis
sur ce point. Lorsque vous vous éloignez de l'objet, cela risque de
faire négligé. Il est raisonnable de peindre vers l'extérieur sur une
douzaine de pixels ou plus. Plus vous irez loin, plus Tux Paint pourra
réduire la taille sans créer de franges avec des couleurs moches. Pour
les zones situées à plus de quelques pixels du bord, vous devez utiliser
l'outil Crayon (ou une vague sélection avec une couleur en
glisser-déposer) pour vous assurer que le résultat se compressera bien.
Tux Paint peut réduire considérablement la taille des images, il est donc
important d'étendre considérablement le bord de votre objet vers
l'extérieur. Juste au bord de votre objet, vous devez être très précis sur
ce point. Lorsque vous vous éloignez de l'objet, cela risque de faire
négligé. Il est raisonnable de peindre vers l'extérieur sur une douzaine de
pixels ou plus. Plus vous irez loin, plus Tux Paint pourra réduire la
taille sans créer de franges avec des couleurs moches. Pour les zones
situées à plus de quelques pixels du bord, vous devez utiliser l'outil
Crayon (ou une vague sélection avec une couleur en glisser-déposer) pour
vous assurer que le résultat se compressera bien.
----------------------------------------------------------------------
-------------------------------------------------------------------------------
Sauvegarder l'image pour Tux Paint
It is very easy to ruin your hard work. Image editors can silently
destroy pixels in 0% opaque areas. The conditions under which this
happens may vary from version to version. If you are very trusting, you
can try saving your image directly as a PNG. Be sure to read it back in
again to verify that the 0% opaque areas didn't turn black or white,
which would create fringes when Tux Paint scales the image down. If you
need to scale your image to save space (and hide your mistakes), you are
almost certain to destroy all the 0% opaque areas. So here is a better
way...
It is very easy to ruin your hard work. Image editors can silently destroy
pixels in 0% opaque areas. The conditions under which this happens may vary
from version to version. If you are very trusting, you can try saving your
image directly as a PNG. Be sure to read it back in again to verify that
the 0% opaque areas didn't turn black or white, which would create fringes
when Tux Paint scales the image down. If you need to scale your image to
save space (and hide your mistakes), you are almost certain to destroy all
the 0% opaque areas. So here is a better way...
Une façon sûre pour sauvegarder
Faites glisser le masque de la boîte de dialogue des calques vers la
partie inutilisée de la barre d'outils (juste après le dernier outil
de dessin). Cela créera une nouvelle image composée d'un calque
contenant les données du masque. Mettez-le à l'échelle comme vous le
souhaitez, en vous souvenant des paramètres que vous utilisez.
Souvent, vous devriez commencer par une image d'environ 700 à 1500
pixels de diamètre et finir par une image de 300 à 400.
partie inutilisée de la barre d'outils (juste après le dernier outil de
dessin). Cela créera une nouvelle image composée d'un calque contenant
les données du masque. Mettez-le à l'échelle comme vous le souhaitez,
en vous souvenant des paramètres que vous utilisez. Souvent, vous
devriez commencer par une image d'environ 700 à 1500 pixels de diamètre
et finir par une image de 300 à 400.
Enregistrez l'image de masque en tant que fichier portable NetPBM
(".pgm"). (Si vous utilisez une ancienne version de The GIMP, vous
@ -325,3 +315,4 @@ Sauvegarder l'image pour Tux Paint
pnmtopng -force -compression 9 -alpha mask.pgm fg.ppm >
final-stamp.png

View file

@ -7,101 +7,104 @@
mai 5, 2023
----------------------------------------------------------------------
-------------------------------------------------------------------------------
Tux Paint interprète plusieurs variables d'environnement, soit
directement, soit indirectement par le biais des bibliothèques qu'il
utilise.
Tux Paint interprète plusieurs variables d'environnement, soit directement,
soit indirectement par le biais des bibliothèques qu'il utilise.
Variables d'environnement relatives au stockage
HOME
Spécifie le répertoire personnel de l'utilisateur, qui sert à
accueillir de nombreux autres fichiers ou répertoires. Dans
quelques cas, il sert de solution de repli, quand d'autres
variables d'environnement (autre part dans cette documentation)
n'ont pas été positionnées. Parfois, l'endroit à utiliser peut
être changer par des options fournies en ligne de commande ou via
le fichier de configuration de Tux Paint. Voir le document
"OPTIONS" pour les détails.
Spécifie le répertoire personnel de l'utilisateur, qui sert à accueillir de
nombreux autres fichiers ou répertoires. Dans quelques cas, il sert de
solution de repli, quand d'autres variables d'environnement (autre part
dans cette documentation) n'ont pas été positionnées. Parfois, l'endroit à
utiliser peut être changer par des options fournies en ligne de commande ou
via le fichier de configuration de Tux Paint. Voir le document "OPTIONS"
pour les détails.
Quelques exemples où "$HOME" est utilisé incluent :
* L'emplacement du fichier de configuration de Tux Paint
* La base où Tux Paint sauvegarde et lit les dessins des
utilisateurs
* L'endroit où se situent les fichiers privés d'un utilisateur
(— tampons, pinceaux, etc, —) (par opposition aux fichiers
accessibles à tout le monde)
+ L'emplacement du fichier de configuration de Tux Paint
+ La base où Tux Paint sauvegarde et lit les dessins des utilisateurs
+ L'endroit où se situent les fichiers privés d'un utilisateur (—
tampons, pinceaux, etc, —) (par opposition aux fichiers accessibles à
tout le monde)
XDG_CONFIG_HOME
Sur Linux et d'autres plateformes où les standards du XDG (X
Desktop Group) sont appliqués, c'est l'endroit où se trouvent les
fichiers de configuration de l'utilisateur. Plus précisément,
c'est où trouver "user-dirs.dirs", où le "XDG_PICTURES_DIR"
devrait être défini. Il est utilisé pour exporter les dessins et
GIF animés. En général, il est égal à quelque chose comme
"$HOME/Pictures/". S'il n'est pas spécifié, Tux Paint vérifie le
répertoire "$HOME/.config/". Si la configuration ne peut être
trouvée, Tux Paint exporte simplement les dessins et GIF animés
vers "$HOME".
Sur Linux et d'autres plateformes où les standards du XDG (X Desktop Group)
sont appliqués, c'est l'endroit où se trouvent les fichiers de
configuration de l'utilisateur. Plus précisément, c'est où trouver
"user-dirs.dirs", où le "XDG_PICTURES_DIR" devrait être défini. Il est
utilisé pour exporter les dessins et GIF animés. En général, il est égal à
quelque chose comme "$HOME/Pictures/". S'il n'est pas spécifié, Tux Paint
vérifie le répertoire "$HOME/.config/". Si la configuration ne peut être
trouvée, Tux Paint exporte simplement les dessins et GIF animés vers
"$HOME".
XDG_DATA_HOME
Sur Linux et d'autres plateformes où les standards du XDG (X
Desktop Group) sont appliqués, c'est l'endroit où se trouvent les
fichiers de données de l'utilisateur. Plus précisément, c'est où
trouver le répertoire "Trash". Il est utilisé quand on supprime
des images à partir de la boîte de dialogue "Ouvrir". Si ce n'est
pas défini, le répertoire "$HOME/.local/share/Trash/" est utilisé,
s'il existe. Sinon, les images sont simplement supprimées, plutôt
que déplacées quelque part.
Sur Linux et d'autres plateformes où les standards du XDG (X Desktop Group)
sont appliqués, c'est l'endroit où se trouvent les fichiers de données de
l'utilisateur. Plus précisément, c'est où trouver le répertoire "Trash". Il
est utilisé quand on supprime des images à partir de la boîte de dialogue
"Ouvrir". Si ce n'est pas défini, le répertoire "$HOME/.local/share/Trash/"
est utilisé, s'il existe. Sinon, les images sont simplement supprimées,
plutôt que déplacées quelque part.
TEMP
Spécifie l'endroit où les fichiers temporaires peuvent être créés.
Tux Paint l'utilise seulement sous Microsoft Windows. Utilise
"userdata" si non spécifié.
Spécifie l'endroit où les fichiers temporaires peuvent être créés. Tux
Paint l'utilise seulement sous Microsoft Windows. Utilise "userdata" si non
spécifié.
Variables d'environnement relatives aux langues
LANG
LANGUAGE
LC_ALL
LC_MESSAGES
Spécifie la langue utilisée par Tux Paint sur l'interface
utilisateur. Remplacé par les options en ligne de commande
"--lang" et --locale, ou bien leurs équivalents dans le fichier de
configuration. La variable d'environnement "LANGUAGE" est utilisée
(si elle est activée. Sinon, "LC_ALL' est utilisé comme solution
de repli. Puis "LC_MESSAGES" et enfin "LANG".
Spécifie la langue utilisée par Tux Paint sur l'interface utilisateur.
Remplacé par les options en ligne de commande "--lang" et --locale, ou bien
leurs équivalents dans le fichier de configuration. La variable
d'environnement "LANGUAGE" est utilisée (si elle est activée. Sinon,
"LC_ALL' est utilisé comme solution de repli. Puis "LC_MESSAGES" et enfin
"LANG".
Variables d'environnement en rapport avec l'affichage
Ce qui suit donne quelques variables d'environnement supportées par Simple
DirectMedia Layer (libSDL) — que Tux Paint utilise pour l'affichage des
dessins, pour jouer des sons et traiter les saisies de la souris, du
clavier et du joystick — et qui peuvent être utiles aux utilisateurs de
Tux Paint.
dessins, pour jouer des sons et traiter les saisies de la souris, du clavier et
du joystick — et qui peuvent être utiles aux utilisateurs de Tux Paint.
SDL_VIDEO_ALLOW_SCREENSAVER
Spécifie si Tux Paint autorise l'utilisation d'un économiseur
d'écran. Peut être mis à '1' (vrai) par Tux Paint lui-même avec
l'option en ligne de commande "--allowscreensaver" ou dans son
fichier de configuration.
Spécifie si Tux Paint autorise l'utilisation d'un économiseur d'écran. Peut
être mis à '1' (vrai) par Tux Paint lui-même avec l'option en ligne de
commande "--allowscreensaver" ou dans son fichier de configuration.
SDL_VIDEO_WINDOW_POS
Requests where to position Tux Paint's window, and can be used to
specify what display to place a fullscreen Tux Paint in a
multi-monitor configuration. If not set, or set to "nopref"
(meaning "no preference"), Simple DirectMedia Layer (libSDL)
decides. Can be set to an X,Y coordinate (e.g. 200,100), or
"center" (meaning "center").
Requests where to position Tux Paint's window, and can be used to specify
what display to place a fullscreen Tux Paint in a multi-monitor
configuration. If not set, or set to "nopref" (meaning "no preference"),
Simple DirectMedia Layer (libSDL) decides. Can be set to an X,Y coordinate
(e.g. 200,100), or "center" (meaning "center").

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -11,19 +11,18 @@
PNG veut dire Portable Network Portable (format graphique portable pour
réseau). C'est un standard ouvert, qui n'est pas sous le poids des brevets
(comme les GIF). C'est un format hautement compressé (mais pas "avec
perte" comme les JPEG - la perte permet aux fichiers d'être plus petit,
mais introduit des "erreurs" dans l'image lors de l'enregistrement), et
prend en charge la couleur 24 bits (16,7 millions de couleurs) ainsi qu'un
"canal alpha", c'est-à-dire que chaque pixel peut avoir un degré variable
de transparence.
(comme les GIF). C'est un format hautement compressé (mais pas "avec perte"
comme les JPEG - la perte permet aux fichiers d'être plus petit, mais introduit
des "erreurs" dans l'image lors de l'enregistrement), et prend en charge la
couleur 24 bits (16,7 millions de couleurs) ainsi qu'un "canal alpha",
c'est-à-dire que chaque pixel peut avoir un degré variable de transparence.
Pour plus d'informations, voir : http://www.libpng.org/
Ces fonctionnalités (format ouvert, pas de perte, compression,
transparence/alpha) en font le meileur choix pour Tux Paint (La prise en
charge du format PNG par Tux Paint vient de la bibliothèque Open Source
SDL_Image, qui à son tour l'a obtenue de la bibliothèque libPNG.)
Ces fonctionnalités (format ouvert, pas de perte, compression, transparence/
alpha) en font le meileur choix pour Tux Paint (La prise en charge du format
PNG par Tux Paint vient de la bibliothèque Open Source SDL_Image, qui à son
tour l'a obtenue de la bibliothèque libPNG.)
La prise en charge de nombreuses couleurs permet aux images "tampons de
caoutchouc" de qualité photo d'être utilisable dans Tux Paint, et la
@ -36,58 +35,62 @@ Comment créer des PNG
GIMP & Krita
D'excellents outils pour créer des images PNG utilisables dans Tux
Paint sont Gimp et Krita, tous deux programmes interactifs de
dessin et d'édition de photos Open Source et de grande qualité.
D'excellents outils pour créer des images PNG utilisables dans Tux Paint
sont Gimp et Krita, tous deux programmes interactifs de dessin et d'édition
de photos Open Source et de grande qualité.
Un des deux, ou les deux, sont probablement déjà installés sur votre
système Linux. Sinon, ils sont certainement disponibles depuis le site de
téléchargement de votre distribution. Sinon, ou pour en apprendre plus,
visitez respectivement http://www.gimp.org/ et http://www.krita.org/.
Un des deux, ou les deux, sont probablement déjà installés sur
votre système Linux. Sinon, ils sont certainement disponibles
depuis le site de téléchargement de votre distribution. Sinon, ou
pour en apprendre plus, visitez respectivement
http://www.gimp.org/ et http://www.krita.org/.
Outils en ligne de commande
NetPBM
Les outils Bitmap portables (appelés généralement
«NetPBM») sont une collection d'outils de ligne de
commande Open Source qui convertissent vers et depuis
différents formats tels que GIF, TIFF, BMP, PNG et
Les outils Bitmap portables (appelés généralement «NetPBM») sont une
collection d'outils de ligne de commande Open Source qui convertissent
vers et depuis différents formats tels que GIF, TIFF, BMP, PNG et
beaucoup d'autres.
Ils sont probablement déjà installés sur votre
système. Sinon, ils sont certainement disponibles
depuis le site de téléchargement de votre
distribution Linux. Sinon, ou pour en apprendre plus,
visitez http://netpbm.sourceforge.net/.
Ils sont probablement déjà installés sur votre système. Sinon, ils sont
certainement disponibles depuis le site de téléchargement de votre
distribution Linux. Sinon, ou pour en apprendre plus, visitez http://
netpbm.sourceforge.net/.
cjpeg/djpeg
Les programmes en ligne de commande "cjpeg" et
"djpeg" font la conversion entre le format PNM
(Portable Any Map) de NetPBM et les JPEG. Ils sont
probablement déjà installés sur votre système. Sinon,
ils sont certainement disponibles depuis le site de
téléchargement de votre distribution Linux. Sinon, ou
pour en apprendre plus, visitez
Les programmes en ligne de commande "cjpeg" et "djpeg" font la
conversion entre le format PNM (Portable Any Map) de NetPBM et les
JPEG. Ils sont probablement déjà installés sur votre système. Sinon,
ils sont certainement disponibles depuis le site de téléchargement de
votre distribution Linux. Sinon, ou pour en apprendre plus, visitez
https://jpegclub.org/.
Proprietary Software for Windows
* CorelDRAW (Corel) — http://www.corel.com/
* Illustrator (Adobe) —
http://www.adobe.com/products/illustrator.html
* Paint Shop Pro (Corel) — https://www.paintshoppro.com/
* Photoshop (Adobe) —
http://www.adobe.com/products/photoshop.html
* PIXresizer (Bluefive software) —
http://bluefive.pair.com/pixresizer.htm
+ CorelDRAW (Corel) — http://www.corel.com/
+ Illustrator (Adobe) — http://www.adobe.com/products/illustrator.html
+ Paint Shop Pro (Corel) — https://www.paintshoppro.com/
+ Photoshop (Adobe) — http://www.adobe.com/products/photoshop.html
+ PIXresizer (Bluefive software) — http://bluefive.pair.com/
pixresizer.htm
Utilisateurs de Macintosh
* CorelDRAW (Corel) — http://www.corel.com/
* GraphicConverter (Lemke Software) —
https://www.lemkesoft.de/mac-fotobearbeitung-mac-diashow-mac-grafikprogramm-mac-bildbetrachter/
* Illustrator (Adobe) —
http://www.adobe.com/products/illustrator.html
* Photoshop (Adobe) —
http://www.adobe.com/products/photoshop.html
+ CorelDRAW (Corel) — http://www.corel.com/
+ GraphicConverter (Lemke Software) — https://www.lemkesoft.de/
mac-fotobearbeitung-mac-diashow-mac-grafikprogramm-mac-bildbetrachter/
+ Illustrator (Adobe) — http://www.adobe.com/products/illustrator.html
+ Photoshop (Adobe) — http://www.adobe.com/products/photoshop.html

File diff suppressed because it is too large Load diff

View file

@ -7,50 +7,53 @@
juin 4, 2022
Tux Paint répond aux signaux suivants (qui peuvent être envoyé au
processus du programme via `kill` ou`killall`, par exemple).
Tux Paint répond aux signaux suivants (qui peuvent être envoyé au processus du
programme via `kill` ou`killall`, par exemple).
SIGTERM (également, [Control] + [C] depuis un terminal exécutant
'tuxpaint')
SIGTERM (également, [Control] + [C] depuis un terminal exécutant 'tuxpaint')
Tux Paint répond comme si le bouton "Quitter" était enfoncé, ou
l'environnement de bureau a été invité à fermer Tux Paint (par
exemple, en cliquant sur un bouton de fermeture de fenêtre, ou en
appuyant sur [Alt] + [F4] sur la plupart des systèmes).
l'environnement de bureau a été invité à fermer Tux Paint (par exemple, en
cliquant sur un bouton de fermeture de fenêtre, ou en appuyant sur [Alt] +
[F4] sur la plupart des systèmes).
Depuis l'interface principale, Tux Paint vous demandera si vous
souhaitez quitter ou non, et (sauf si remplacé par l'option
autosave, par ex. "--autosave") si vous souhaitez enregistrer le
dessin courant (s'il n'est pas enregistré), et si c'est le cas, et
c'est une version modifiée d'un dessin existant (sauf si remplacé
par les options pour écraser les images anciennes, ou bien
sauvegarder avec un nouveau nom (par ex. "--saveover" ou
Depuis l'interface principale, Tux Paint vous demandera si vous souhaitez
quitter ou non, et (sauf si remplacé par l'option autosave, par ex.
"--autosave") si vous souhaitez enregistrer le dessin courant (s'il n'est
pas enregistré), et si c'est le cas, et c'est une version modifiée d'un
dessin existant (sauf si remplacé par les options pour écraser les images
anciennes, ou bien sauvegarder avec un nouveau nom (par ex. "--saveover" ou
"--saveovernew") vers un nouveau fichier.
Exemple: killall tuxpaint
💡 Note: From other parts of the interface, the signal is currently
interpreted as a request to go back (e.g., from the "New" dialog
back to the main interface), as if a "Back" button in Tux Paint
were clicked, or the [Esc] was key pressed.
interpreted as a request to go back (e.g., from the "New" dialog back to
the main interface), as if a "Back" button in Tux Paint were clicked, or
the [Esc] was key pressed.
SIGUSR1 & SIGUSR2
Tux Paint répond en définissant son option "autosave" (comme si
cela avait été lancé avec "--autosave"), aussi bien que l'option
pour toujours sauvegarder de nouvelles images (comme si c'était
lancé avec "--saveovernew"), dans le cas de la réception d'un
signal SIGUSR1, ou bien d'écraser les images existantes (comme si
cela avait lancé avec "--saveover") dans le cas où on recevait
SIGUSR2. Alors Tux Paint envoie à lui-même le signal SIGTERM, pour
une tentative de quitter (Voir ci-dessus.)
Tux Paint répond en définissant son option "autosave" (comme si cela avait
été lancé avec "--autosave"), aussi bien que l'option pour toujours
sauvegarder de nouvelles images (comme si c'était lancé avec
"--saveovernew"), dans le cas de la réception d'un signal SIGUSR1, ou bien
d'écraser les images existantes (comme si cela avait lancé avec
"--saveover") dans le cas où on recevait SIGUSR2. Alors Tux Paint envoie à
lui-même le signal SIGTERM, pour une tentative de quitter (Voir ci-dessus.)
Ainsi, à partir de l'interface principale, Tux Paint devrait se
fermer presque immédiatement, sans poser de questions.
Ainsi, à partir de l'interface principale, Tux Paint devrait se fermer
presque immédiatement, sans poser de questions.
Exemple: killall -s SIGUSR1 tuxpaint
💡 Note: From other parts of the interface, unfortunately, Tux
Paint will go back one level in the interface. Therefore, at this
time, it may be necessary to send this signal to Tux Paint a few
times, for it to quit completely.
💡 Note: From other parts of the interface, unfortunately, Tux Paint will go
back one level in the interface. Therefore, at this time, it may be
necessary to send this signal to Tux Paint a few times, for it to quit
completely.

View file

@ -9,29 +9,30 @@
À propos de SVG
SVG (Scalable Vector Graphics) est un standard ouvert utilisé pour décrire
des graphiques vectoriels en deux dimensions. C'est parfait pour les
diagrammes et les formes, tandis que les PNG sont meilleurs pour les
photographies. Les fichiers SVG sont un peu comme des instructions sur la
façon de créer une image. Cela signifie qu'ils peuvent être redimensionnés
sans paraître pixélisés ou avec des blocs.
SVG (Scalable Vector Graphics) est un standard ouvert utilisé pour décrire des
graphiques vectoriels en deux dimensions. C'est parfait pour les diagrammes et
les formes, tandis que les PNG sont meilleurs pour les photographies. Les
fichiers SVG sont un peu comme des instructions sur la façon de créer une
image. Cela signifie qu'ils peuvent être redimensionnés sans paraître pixélisés
ou avec des blocs.
Pour plus d'informations, voir : https://www.w3.org/Graphics/SVG/
Comment fabriquer des SVG
An excellent tool with which to create SVG images for use in Tux Paint is
Inkscape, a high-quality Open Source interactive drawing program available
for Windows, macOS, and Linux. There are also other applications that can
produce SVGs, both free/open source, and commerical/proprietary.
Inkscape, a high-quality Open Source interactive drawing program available for
Windows, macOS, and Linux. There are also other applications that can produce
SVGs, both free/open source, and commerical/proprietary.
Open Source
* Inkscape — http://www.inkscape.org/
* Karbon — https://calligra.org/karbon/
+ Inkscape — http://www.inkscape.org/
+ Karbon — https://calligra.org/karbon/
Proprietary
* CorelDRAW (Corel) — https://www.coreldraw.com/en/
* Illustrator (Adobe) —
http://www.adobe.com/products/illustrator.html
* Boxy SVG — https://boxy-svg.com/
* Sketch (Sketch B.V.) — https://boxy-svg.com/
+ CorelDRAW (Corel) — https://www.coreldraw.com/en/
+ Illustrator (Adobe) — http://www.adobe.com/products/illustrator.html
+ Boxy SVG — https://boxy-svg.com/
+ Sketch (Sketch B.V.) — https://boxy-svg.com/

View file

@ -14,18 +14,18 @@ Tools (Drawing)
* Change categories with the arrow buttons ⇦⇨ near the bottom right.
* Choose a stamp on the right.
* Some stamps may be mirrored 🪞, and/or flipped ↕, using controls near
the bottom right.
* Some stamps may be mirrored 🪞, and/or flipped ↕, using controls near the
bottom right.
* Some stamps allow you to choose their color (see "Colors").
* Change stamp size with the bars 📶 at the bottom right.
* Rotation ⟳ may be enabled, if desired.
* Click/tap in the canvas to place a stamp.
* If rotation is enabled, drag to rotate it, and click/tap again to
add it to the drawing.
+ If rotation is enabled, drag to rotate it, and click/tap again to add
it to the drawing.
* Some stamps play sound effects; press the speaker 🕪 button to hear it
again.
* Some stamps play descriptive sounds; press the headphones 🎧 button to
hear it again.
* Some stamps play descriptive sounds; press the headphones 🎧 button to hear
it again.
⚟Lignes
@ -35,71 +35,68 @@ Tools (Drawing)
⭓Formes
* Choose a shape on the right.
* Select whether you want to extend the shape from the center ⧈, or a
corner ◰, using controls at the bottom right.
* Select whether you want to extend the shape from the center ⧈, or a corner
◰, using controls at the bottom right.
* Click/tap to position, and drag to set the size of the shape.
* Drag to rotate it, and click/tap again to add it to the drawing.
🄰Texte
* Choose a font on the right.
* Select whether you want the text bold 𝗔 and/or italic 𝘈, using
controls near the bottom right.
* Select whether you want the text bold 𝗔 and/or italic 𝘈, using controls
near the bottom right.
* Change text size using the up 🡁 and down 🡃 arrow buttons at the bottom
right.
* Choose a color (see "Colors").
* Click/tap the canvas to position an insertion cursor.
* Enter text via your keyboard or the on-screen keyboard.
* Click/tap the canvas again if you wish to reposition the text.
* Press [Enter]/[Return] or click/tap ⮨ to add the text to the drawing
and begin entering more text one line down.
* Press [Enter]/[Return] or click/tap ⮨ to add the text to the drawing and
begin entering more text one line down.
* Or, press [Tab] or click/tap or ⟷ to add the text to the drawing and
continue entering more text immediately to the right.
* Using the on-screen keyboard:
* "Cmp" can be used to compose characters, e.g. Cmp ' a results in
á.
* "AltGr" can be used to quickly access more characters.
* Left/Right arrows switches keyboard layouts (e.g., "QWERTY" vs.
"ABC")
+ "Cmp" can be used to compose characters, e.g. Cmp ' a results in á.
+ "AltGr" can be used to quickly access more characters.
+ Left/Right arrows switches keyboard layouts (e.g., "QWERTY" vs. "ABC")
🅰Étiquette
* (See Text)
* Labels float 'above' the drawing; you cannot paint or stamp over them,
apply Magic effects, etc.
* Labels may be edited, repositioned, and styled after they've been
added to the drawing.
* Click/tap the ☝ button near the lower right to choose a label.
Click/tap the label you wish to modify, then click/tap somewhere else
in the canvas to reposition, or change the font/style, change color,
and/or type to edit the text.
* Or, use the 🖑 button near the lower right to "flatten" a label,
applying it to the canvas; it may no longer be edited with the Label
tool.
* Labels may be edited, repositioned, and styled after they've been added to
the drawing.
* Click/tap the ☝ button near the lower right to choose a label. Click/tap
the label you wish to modify, then click/tap somewhere else in the canvas
to reposition, or change the font/style, change color, and/or type to edit
the text.
* Or, use the 🖑 button near the lower right to "flatten" a label, applying it
to the canvas; it may no longer be edited with the Label tool.
🪣Fill
* Choose a fill mode on the right.
* Choose a color (see "Colors").
* Click/tap (and drag, with Brush and Linear modes) to fill an area of
the picture with a color.
* Solid - Flood-fills an area with a solid color
* Brush - Paints with a solid color, without drawing outside the
chosen area
* Linear - Fills the area with a linear gradient (drag to choose
angle and gradient)
* Radial - Fills the area with a radial gradient, centered where
you clicked/tapped
* Shaped - Fills the area with a gradient that follows the contours
of the area being filled
* Click/tap (and drag, with Brush and Linear modes) to fill an area of the
picture with a color.
+ Solid - Flood-fills an area with a solid color
+ Brush - Paints with a solid color, without drawing outside the chosen
area
+ Linear - Fills the area with a linear gradient (drag to choose angle
and gradient)
+ Radial - Fills the area with a radial gradient, centered where you
clicked/tapped
+ Shaped - Fills the area with a gradient that follows the contours of
the area being filled
🪄Magie
* Choose a magic tool on the right.
* Change categories with the arrow buttons ⇦⇨ near the bottom right.
* Some magic tools draw or apply effects via click/tap and drag 〰🪄, some
affect the entire drawing 🖻🪄, and some offer both options; use the
controls at the bottom right.
affect the entire drawing 🖻🪄, and some offer both options; use the controls
at the bottom right.
* Some magic tools offer various sizes; change it with the bars 📶 at the
bottom right.
* Some magic tools allow you to choose their color.
@ -117,8 +114,8 @@ Tools (Drawing)
◪Gomme
* Choose the size and shape of the eraser on the right.
* Click/tap and drag to erase parts of the picture (solid color, or
starter or template image).
* Click/tap and drag to erase parts of the picture (solid color, or starter
or template image).
* Shortcut: [X] and click/tap in the drawing (not always available)
Tools (Controls)
@ -126,11 +123,10 @@ Tools (Controls)
🗏Nouveau
* Choose a solid color, starter, or template image to start with.
* Starters allow drawing "under" a picture (e.g., a coloring book
+ Starters allow drawing "under" a picture (e.g., a coloring book
outline), sometimes with a background layer, too.
* Templates are pictures to start with (background only).
* Eraser tool ◪ reveals the solid color, or starter/template
background.
+ Templates are pictures to start with (background only).
+ Eraser tool ◪ reveals the solid color, or starter/template background.
* Click/tap "🕮⮫Open" to begin a new drawing.
* Click/tap "⤺Back" to abort and return to your current drawing.
* Shortcut: [Ctrl]+[N]
@ -141,32 +137,31 @@ Tools (Controls)
* Click/tap "🕮⮫Open" to open the saved drawing and continue editing it.
* Click/tap "🗏⮫Export" to save the drawing to your system's "Pictures"
folder.
* Click/tap "🗑Erase" to move the drawing to your system's Trash/Recycle
Bin.
* Click/tap "🗑Erase" to move the drawing to your system's Trash/Recycle Bin.
* Click/tap "⤺Back" to abort and return to your current drawing.
* Click/tap "📽Slides" to switch to slideshow mode:
* Click/tap two or more of your previously-saved drawings, in the
order you want them shown. Numbers will appear on them.
* Choose the playback speed using the bars 📶 near the lower left.
* Click/tap "⯈Play" to watch the slideshow/animation.
* Or, click/tap "🎞GIF Export" to save an animated GIF of the
animation to your system's "Pictures" folder.
* Click/tap "⤺Back" to return to the Open dialog.
+ Click/tap two or more of your previously-saved drawings, in the order
you want them shown. Numbers will appear on them.
+ Choose the playback speed using the bars 📶 near the lower left.
+ Click/tap "⯈Play" to watch the slideshow/animation.
+ Or, click/tap "🎞GIF Export" to save an animated GIF of the animation to
your system's "Pictures" folder.
+ Click/tap "⤺Back" to return to the Open dialog.
* Shortcut: [Ctrl]+[O]
🕮⮪Sauvegarder
* Click/tap to save your drawing.
* If you've saved previously, you'll be prompted whether to overwrite
the previously-saved drawing (a la "File→Save") or create a new saved
drawing (a la "File→Save As...")
* If you've saved previously, you'll be prompted whether to overwrite the
previously-saved drawing (a la "File→Save") or create a new saved drawing
(a la "File→Save As...")
* Shortcut: [Ctrl]+[S]
🖶Print
* Click/tap to print your drawing.
* Hold [Alt] or [Option] while clicking/tapping to bring up printer
dialog, if available.
* Hold [Alt] or [Option] while clicking/tapping to bring up printer dialog,
if available.
* Shortcut: [Ctrl]+[P]
🗙Quit
@ -176,28 +171,27 @@ Tools (Controls)
Colors
* Click/tap to choose a color to use with the Paint, Lines, and Shapes
tools, and Stamps and Magic tools that support colors.
* Use the pipette / color picker 💉 button to choose a color from a pixel
in your current drawing.
* Shortcut: When colors are available, press [Ctrl] and click/tap
in your drawing, to quickly pick a color from your drawing.
* Click/tap to choose a color to use with the Paint, Lines, and Shapes tools,
and Stamps and Magic tools that support colors.
* Use the pipette / color picker 💉 button to choose a color from a pixel in
your current drawing.
+ Shortcut: When colors are available, press [Ctrl] and click/tap in your
drawing, to quickly pick a color from your drawing.
* Click/tap the rainbow 🌈 button to choose a arbitrary color.
* Click/tap in the rainbow square to pick a color (hue and
saturation).
* Click/tap in the grey gradient bar to adjust brightness (value).
* Click/tap the green checkbox ✓ to accept.
* Click/tap "⤺Back" to abort and dismiss the palette.
* You may grab the currently-chosen built-in color (if any), the
color in the pipette / color picker, or the color in the color
mixer, by clicking one of the colored arrow ⇫ buttons.
* Click/tap the paint palette 🎨 button to create a color by mixing
primary colors: red, yellow, and blue, and white (tint), grey (tone),
and black (shade).
* Click/tap the green checkbox ✓ to accept.
* Color mixing offers its own 🖓Undo and 🖒Redo options.
* Click/tap "🗑Clear" to start over with no mixed colors.
* Click/tap "⤺Back" to abort and dismiss the color mixer.
+ Click/tap in the rainbow square to pick a color (hue and saturation).
+ Click/tap in the grey gradient bar to adjust brightness (value).
+ Click/tap the green checkbox ✓ to accept.
+ Click/tap "⤺Back" to abort and dismiss the palette.
+ You may grab the currently-chosen built-in color (if any), the color in
the pipette / color picker, or the color in the color mixer, by
clicking one of the colored arrow ⇫ buttons.
* Click/tap the paint palette 🎨 button to create a color by mixing primary
colors: red, yellow, and blue, and white (tint), grey (tone), and black
(shade).
+ Click/tap the green checkbox ✓ to accept.
+ Color mixing offers its own 🖓Undo and 🖒Redo options.
+ Click/tap "🗑Clear" to start over with no mixed colors.
+ Click/tap "⤺Back" to abort and dismiss the color mixer.
Shortcuts while drawing:
@ -213,3 +207,4 @@ Shortcuts while drawing:
* [Esc] - ⤺Back or 🗙Quit
Last updated: mai 9, 2023

View file

@ -6,8 +6,7 @@
4 de Xuño de 2022
----------------------------------------------------------------------
-------------------------------------------------------------------------------
+-------------------------------------------+
| Índice |
|-------------------------------------------|
@ -17,26 +16,24 @@
| * Substituír a franxa e os píxeles lixo |
| * Gardar a imaxe para Tux Paint |
+-------------------------------------------+
----------------------------------------------------------------------
----------------------------------------------------------------------
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Sobre este «Como facelo»
Este «Como facelo» supón que quere facer un excelente selo de Tux Paint,
en formato PNG con mapa de bits, a partir dunha imaxe JPEG (p. ex.: unha
fotografía dixital). Hai métodos máis sinxelos e rápidos que producen
unha calidade inferior.
Este «Como facelo» supón que quere facer un excelente selo de Tux Paint, en
formato PNG con mapa de bits, a partir dunha imaxe JPEG (p. ex.: unha
fotografía dixital). Hai métodos máis sinxelos e rápidos que producen unha
calidade inferior.
Este «Como facelo» supón que está a tratar con obxectos opacos normais.
O tratamento de obxectos semitransparentes (lume, ventilador en
movemento, globo infantil) ou obxectos que dan luz (lume, bombilla, sol)
faise mellor cun software personalizado. As imaxes con fondos de cor
sólida perfectos tamén se fan mellor con software personalizado, pero
non son difíciles de facer do seguinte xeito.
Este «Como facelo» supón que está a tratar con obxectos opacos normais. O
tratamento de obxectos semitransparentes (lume, ventilador en movemento,
globo infantil) ou obxectos que dan luz (lume, bombilla, sol) faise mellor
cun software personalizado. As imaxes con fondos de cor sólida perfectos
tamén se fan mellor con software personalizado, pero non son difíciles de
facer do seguinte xeito.
----------------------------------------------------------------------
-------------------------------------------------------------------------------
A elección da imaxe é crucial
@ -44,9 +41,9 @@ A elección da imaxe é crucial
Se quere enviar ilustracións aos desenvolvedores de Tux Paint para a
súa inclusión no proxecto oficial, ou se quere publicar a súa propia
copia de Tux Paint, xunto cos seus propios gráficos, precisa unha
imaxe que sexa compatíbel coa Licenza Pública Xeral GNU empregada por
Tux Paint.
copia de Tux Paint, xunto cos seus propios gráficos, precisa unha imaxe
que sexa compatíbel coa Licenza Pública Xeral GNU empregada por Tux
Paint.
As imaxes producidas polo goberno dos Estados Unidos son de dominio
público, pero teña en conta que o goberno dos Estados Unidos ás veces
@ -73,48 +70,45 @@ A elección da imaxe é crucial
Rotar unha imaxe pode facela borrosa, especialmente se só rota uns
graos. As imaxes que non precisan rotación son as mellores, as imaxes
que precisan moita rotación (30 a 60 graos) son as seguintes mellores
e as que precisan uns poucos graos as peores. A rotación tamén fará
que a imaxe sexa máis escura porque a maioría do software de edición
de imaxes é moi malo na manipulación da gamma. (A rotación só é
lexítima para imaxes gamma = 1,0.)
que precisan moita rotación (30 a 60 graos) son as seguintes mellores e
as que precisan uns poucos graos as peores. A rotación tamén fará que a
imaxe sexa máis escura porque a maioría do software de edición de
imaxes é moi malo na manipulación da gamma. (A rotación só é lexítima
para imaxes gamma = 1,0.)
As imaxes moi grandes son máis indulxentes cos erros e, polo tanto,
son máis doadas de traballar. Escolla unha imaxe cun obxecto de máis
de 1000 píxeles se pode. Pode reducilo máis tarde para agochar os seus
As imaxes moi grandes son máis indulxentes cos erros e, polo tanto, son
máis doadas de traballar. Escolla unha imaxe cun obxecto de máis de
1000 píxeles se pode. Pode reducilo máis tarde para agochar os seus
erros.
Asegúrese de que a imaxe non está demasiado granulada, tenue ou
lavada.
Asegúrese de que a imaxe non está demasiado granulada, tenue ou lavada.
Preste atención aos pés e ás rodas. Se están enterrados en algo, terá
que debuxar outros novos. Se só un está enterrado, pode que poida
copiar o outro como substituto.
----------------------------------------------------------------------
-------------------------------------------------------------------------------
Preparar a imaxe
Primeiro de todo, asegúrese de evitar gardar de novo a imaxe como JPEG.
Isto provoca unha perda de calidade. Hai unha ferramenta especial
chamada jpegtran que permite recortar unha imaxe sen perder a calidade
normal.
Isto provoca unha perda de calidade. Hai unha ferramenta especial chamada
jpegtran que permite recortar unha imaxe sen perder a calidade normal.
jpegtran -trim -copy none -crop 512x1728+160+128 < src.jpg >
cropped.jpg
Cargue esa imaxe para o seu editor de imaxes. Se aínda non a cortou,
pode que o seu editor de imaxes sexa moi lento. Rote e recorte a imaxe
segundo sexa necesario. Garde a imaxe, escolla o formato nativo que
admita capas, máscaras, alfa, etc. Os usuarios de GIMP deberían escoller
«XCF» e os usuarios de Adobe Photoshop debería escoller «PSD», por
exemplo.
Cargue esa imaxe para o seu editor de imaxes. Se aínda non a cortou, pode
que o seu editor de imaxes sexa moi lento. Rote e recorte a imaxe segundo
sexa necesario. Garde a imaxe, escolla o formato nativo que admita capas,
máscaras, alfa, etc. Os usuarios de GIMP deberían escoller «XCF» e os
usuarios de Adobe Photoshop debería escoller «PSD», por exemplo.
Se rotou ou recortou a imaxe no seu editor de imaxes, aplánea agora.
Debe ter só unha capa RGB sen máscara nin alfa.
Se rotou ou recortou a imaxe no seu editor de imaxes, aplánea agora. Debe
ter só unha capa RGB sen máscara nin alfa.
Abra o cadro de diálogo de capas. Replique a capa varias veces. De
arriba abaixo necesitará algo así:
Abra o cadro de diálogo de capas. Replique a capa varias veces. De arriba
abaixo necesitará algo así:
1. imaxe sen modificar (protexa isto contra escritura se pode)
2. unha imaxe que modificar: a capa de «traballo en ptoceso»
@ -122,76 +116,76 @@ Preparar a imaxe
4. maxenta sólido (protexa isto contra escritura se pode)
5. imaxe sen modificar (protexa isto contra escritura se pode)
Delle á capa Traballo en proceso (WIP — «work in progress» ) unha
máscara inicial aproximada. Pode comezar cunha selección ou empregando o
valor de escala de grises da capa WIP. Pode inverter a máscara.
Delle á capa Traballo en proceso (WIP — «work in progress» ) unha máscara
inicial aproximada. Pode comezar cunha selección ou empregando o valor de
escala de grises da capa WIP. Pode inverter a máscara.
Advertencia: unha vez que teña a máscara, non pode rotar nin escalar a
imaxe normalmente. Isto provocaría a perda de datos. Máis adiante se lle
darán instrucións especiais de escalado.
----------------------------------------------------------------------
-------------------------------------------------------------------------------
Preparar a máscara
Acostúmese a facer [Control]-premer e [Alt]-premer nas imaxes en
miniatura no diálogo de capas. Necesitará isto para controlar o que está
a ver e o que está a editar. Ás veces estará editando cousas que non
pode ver. Por exemplo, pode editar a máscara da capa WIP mentres mira a
imaxe sen modificar. Preste atención para non meter a pata. Verifica
sempre que está a editar o correcto.
Acostúmese a facer [Control]-premer e [Alt]-premer nas imaxes en miniatura
no diálogo de capas. Necesitará isto para controlar o que está a ver e o
que está a editar. Ás veces estará editando cousas que non pode ver. Por
exemplo, pode editar a máscara da capa WIP mentres mira a imaxe sen
modificar. Preste atención para non meter a pata. Verifica sempre que está
a editar o correcto.
Estabeleza unha imaxe sen modificar como a que vai ver (a superior é a
máis doada). Estabeleza a máscara WIP como o que vai editar. Nalgún
momento, quizais non de inmediato, debería aumentar a imaxe ata
aproximadamente o 400% (cada píxel da imaxe vese e edítase como un
bloque de píxeles 4x4 na súa pantalla).
Estabeleza unha imaxe sen modificar como a que vai ver (a superior é a máis
doada). Estabeleza a máscara WIP como o que vai editar. Nalgún momento,
quizais non de inmediato, debería aumentar a imaxe ata aproximadamente o
400% (cada píxel da imaxe vese e edítase como un bloque de píxeles 4x4 na
súa pantalla).
Seleccione partes da imaxe que deben ser 100% opacas ou 0% opacas. Se
pode seleccionar o obxecto ou o fondo con certa precisión por cor,
fágao. Se é necesario para evitar seleccionar píxeles que deben ser
parcialmente opacos (xeralmente no bordo do obxecto), debe aumentar,
diminuír e inverter a selección.
Seleccione partes da imaxe que deben ser 100% opacas ou 0% opacas. Se pode
seleccionar o obxecto ou o fondo con certa precisión por cor, fágao. Se é
necesario para evitar seleccionar píxeles que deben ser parcialmente opacos
(xeralmente no bordo do obxecto), debe aumentar, diminuír e inverter a
selección.
Encha as áreas 100% opacas con branco e as áreas 0% opacas con negro.
Isto faise máis facilmente arrastrando e soltando dende o indicador de
cor de primeiro plano/fondo. Non debería ver ocorrer nada porque está a
ver a capa de imaxe sen modificar mentres edita a máscara da capa WIP. É
posíbel que se poidan notar grandes cambios na miniatura.
Encha as áreas 100% opacas con branco e as áreas 0% opacas con negro. Isto
faise máis facilmente arrastrando e soltando dende o indicador de cor de
primeiro plano/fondo. Non debería ver ocorrer nada porque está a ver a capa
de imaxe sen modificar mentres edita a máscara da capa WIP. É posíbel que
se poidan notar grandes cambios na miniatura.
Agora debe ampliala.
Comprobe o seu traballo. Agoche a capa superior da imaxe sen modificar.
Amose só a máscara, que debería ser un obxecto branco sobre un fondo
negro (probabelmente cun gris sen editar no bordo). Agora amose
normalmente a capa WIP para que a máscara estea activa. Isto debería
amosar o seu obxecto sobre a seguinte capa máis alta activada, que
debería ser verde ou maxenta segundo sexa necesario para obter o máximo
contraste. Quizais queira alternar entre eses fondos premendo varias
veces para activar/desactivar a capa verde. Corrixa os problemas obvios
e sinxelos editando a máscara mentres a ve.
Amose só a máscara, que debería ser un obxecto branco sobre un fondo negro
(probabelmente cun gris sen editar no bordo). Agora amose normalmente a
capa WIP para que a máscara estea activa. Isto debería amosar o seu obxecto
sobre a seguinte capa máis alta activada, que debería ser verde ou maxenta
segundo sexa necesario para obter o máximo contraste. Quizais queira
alternar entre eses fondos premendo varias veces para activar/desactivar a
capa verde. Corrixa os problemas obvios e sinxelos editando a máscara
mentres a ve.
Volva ver a capa superior sen modificar mentres edita a máscara WIP.
Estabeleza a súa ferramenta de debuxo co pincel. Para o pincel, escolla
un pequeno círculo difuso. O tamaño 5x5 é bo para a maioría dos usos.
Estabeleza a súa ferramenta de debuxo co pincel. Para o pincel, escolla un
pequeno círculo difuso. O tamaño 5x5 é bo para a maioría dos usos.
Con man firme, faga un trazo arredor da imaxe. Use negro polo exterior e
branco polo interior. Evite facer máis dun pase sen cambiar de cor (e,
polo tanto, de lado).
branco polo interior. Evite facer máis dun pase sen cambiar de cor (e, polo
tanto, de lado).
Vire un pouco as vistas, comprobando que a máscara funciona ben. Cando a
capa WIP se compón sobre o verde ou o maxenta, debería ver un pouco do
fondo orixinal como unha franxa fea ao redor do bordo. Se falta esta
franxa, fixo a máscara de obxectos demasiado pequena. A franxa consta de
píxeles que non son nin 100% obxecto nin 0% obxecto. Para eles, a
máscara non debería ser nin do 100% nin do 0%. A franxa retirase pronto.
píxeles que non son nin 100% obxecto nin 0% obxecto. Para eles, a máscara
non debería ser nin do 100% nin do 0%. A franxa retirase pronto.
Ver e editar a máscara. Seleccione por cor, escollendo negro ou branco.
O máis probábel é que vexa pintas non seleccionadas que non son da cor
agardada. Inverta a selección e logo pínteas coa ferramenta de lapis.
Faga esta operación tanto para branco como para negro.
Ver e editar a máscara. Seleccione por cor, escollendo negro ou branco. O
máis probábel é que vexa pintas non seleccionadas que non son da cor
agardada. Inverta a selección e logo pínteas coa ferramenta de lapis. Faga
esta operación tanto para branco como para negro.
----------------------------------------------------------------------
-------------------------------------------------------------------------------
Substituír a franxa e os píxeles lixo
@ -201,75 +195,72 @@ Substituír a franxa e os píxeles lixo
Agora desactive a máscara. Vexa e edite a capa WIP sen máscara. Usando a
ferramenta de selección de cores, escolla unha cor termo medio para o
obxecto. Arrastre e solte esta cor na selección, eliminando así a
maioría dos píxeles que non son do obxecto.
obxecto. Arrastre e solte esta cor na selección, eliminando así a maioría
dos píxeles que non son do obxecto.
Esta cor sólida comprimirase ben e axudará a evitar franxas de cor feas
cando Tux Paint reduza a imaxe. Se o bordo do obxecto ten varias cores
moi diferentes, debe dividir a selección para que poida colorar o fondo
próximo para que sexa semellante.
cando Tux Paint reduza a imaxe. Se o bordo do obxecto ten varias cores moi
diferentes, debe dividir a selección para que poida colorar o fondo próximo
para que sexa semellante.
Agora pintará a franxa de bordo existente. Asegúrese de que está
editando e vendo a imaxe WIP. Os cambios frecuentes na visibilidade das
capas axudaranlle a ver o que fai. É probábel que empregue todos os:
Agora pintará a franxa de bordo existente. Asegúrese de que está editando e
vendo a imaxe WIP. Os cambios frecuentes na visibilidade das capas
axudaranlle a ver o que fai. É probábel que empregue todos os:
* composto sobre verde (máscara activada)
* composto sobre maxenta (máscara activada)
* orixinal (a capa superior ou inferior)
* composto sobre o orixinal (máscara activada)
* capa WIP en bruto (máscara desactivada)
+ composto sobre verde (máscara activada)
+ composto sobre maxenta (máscara activada)
+ orixinal (a capa superior ou inferior)
+ composto sobre o orixinal (máscara activada)
+ capa WIP en bruto (máscara desactivada)
Para reducir os accidentes, pode que queira seleccionar só os píxeles
que non estean grises na máscara. (Seleccione por cor na máscara,
escolla negro, engada o modo, escolla o branco, inverter.
Alternativamente: seleccione todo, seleccione por cor da máscara, modo
de subtracción, escolla o negro, escolla o branco.) Se fai isto,
probabelmente queira expandir un pouco a selección e/ou agochar a
ringleira de «formigas» que marca a selección.
Para reducir os accidentes, pode que queira seleccionar só os píxeles que
non estean grises na máscara. (Seleccione por cor na máscara, escolla
negro, engada o modo, escolla o branco, inverter. Alternativamente:
seleccione todo, seleccione por cor da máscara, modo de subtracción,
escolla o negro, escolla o branco.) Se fai isto, probabelmente queira
expandir un pouco a selección e/ou agochar a ringleira de «formigas» que
marca a selección.
Use a ferramenta de clonación e a de pincel. Varíe a opacidade segundo
sexa necesario. Empregue principalmente pinceis redondos pequenos,
quizais 3x3 ou 5x5, difusos ou non. (Xeralmente é bo emparellar pinceis
difusos cun 100% de opacidade e pinceis non difusos cun 70% de
opacidade.) Os modos de debuxo pouco comúns poden ser útiles con
obxectos semitransparentes.
Use a ferramenta de clonación e a de pincel. Varíe a opacidade segundo sexa
necesario. Empregue principalmente pinceis redondos pequenos, quizais 3x3
ou 5x5, difusos ou non. (Xeralmente é bo emparellar pinceis difusos cun
100% de opacidade e pinceis non difusos cun 70% de opacidade.) Os modos de
debuxo pouco comúns poden ser útiles con obxectos semitransparentes.
O obxectivo é eliminar a franxa do bordo, tanto dentro como fóra do
obxecto. A franxa interior, visíbel cando o obxecto está composto sobre
maxenta ou verde, debe eliminarse por razóns obvias. Tamén hai que
eliminar a franxa exterior porque se fará visíbel cando a imaxe se
reduza. Como exemplo, considere unha rexión de 2x2 de píxeles no bordo
dun obxecto de bordos afiados. A metade esquerda é negra e 0% opaca. A
metade dereita é branca e 100% opaca. É dicir, temos un obxecto branco
sobre fondo negro. Cando Tux Paint escala este ao 50% (unha área de 1x1
píxeles), o resultado será un píxel gris opaco do 50%. O resultado
correcto sería un píxel branco ao 50% opaco. Para obter este resultado,
pintaríamos os píxeles negros. Estes iImportan, a pesar de ser 0%
opacos.
maxenta ou verde, debe eliminarse por razóns obvias. Tamén hai que eliminar
a franxa exterior porque se fará visíbel cando a imaxe se reduza. Como
exemplo, considere unha rexión de 2x2 de píxeles no bordo dun obxecto de
bordos afiados. A metade esquerda é negra e 0% opaca. A metade dereita é
branca e 100% opaca. É dicir, temos un obxecto branco sobre fondo negro.
Cando Tux Paint escala este ao 50% (unha área de 1x1 píxeles), o resultado
será un píxel gris opaco do 50%. O resultado correcto sería un píxel branco
ao 50% opaco. Para obter este resultado, pintaríamos os píxeles negros.
Estes iImportan, a pesar de ser 0% opacos.
Tux Paint pode reducir a escala das imaxes nun factor moi grande, polo
que é importante estender moito o bordo do obxecto cara a fóra. Xusto no
bordo do obxecto, debe ser moi preciso respecto diso. A medida que se
afasta do o, pode ser un pouco desleixado. É razoábel pintar cara a fóra
unha ducia de píxeles ou máis. Canto máis lonxe vaia, máis pode Tux
Paint reducir sen crear franxas de cor feas. Para as áreas que están a
máis duns poucos píxeles de distancia do bordo do obxecto, debería
empregar a ferramenta de lapis (ou seleccionar arrastrar e soltar cor)
para garantir que o resultado se comprime ben.
Tux Paint pode reducir a escala das imaxes nun factor moi grande, polo que
é importante estender moito o bordo do obxecto cara a fóra. Xusto no bordo
do obxecto, debe ser moi preciso respecto diso. A medida que se afasta do
o, pode ser un pouco desleixado. É razoábel pintar cara a fóra unha ducia
de píxeles ou máis. Canto máis lonxe vaia, máis pode Tux Paint reducir sen
crear franxas de cor feas. Para as áreas que están a máis duns poucos
píxeles de distancia do bordo do obxecto, debería empregar a ferramenta de
lapis (ou seleccionar arrastrar e soltar cor) para garantir que o resultado
se comprime ben.
----------------------------------------------------------------------
-------------------------------------------------------------------------------
Gardar a imaxe para Tux Paint
É moi doado esnaquizar un traballo arreo. Os editores de imaxes poden
esnaquizar silenciosamente píxeles en áreas 0% opacas. As condicións nas
que isto ocorre poden variar dunha versión a outra. Se confía moito,
pode tentar gardar a súa imaxe directamente como PNG. Asegúrese de vela
de novo para verificar que as áreas 0% opacas non se volveron negras ou
brancas, o que crearía franxas cando Tux Paint reduza a imaxe. Se
precisa escalar a súa imaxe para aforrar espazo (e agochar os seus
erros), é case seguro que destruirá todas as áreas 0% opacas. Velaquí
unha mellor forma...
que isto ocorre poden variar dunha versión a outra. Se confía moito, pode
tentar gardar a súa imaxe directamente como PNG. Asegúrese de vela de novo
para verificar que as áreas 0% opacas non se volveron negras ou brancas, o
que crearía franxas cando Tux Paint reduza a imaxe. Se precisa escalar a
súa imaxe para aforrar espazo (e agochar os seus erros), é case seguro que
destruirá todas as áreas 0% opacas. Velaquí unha mellor forma...
Un xeito máis seguro de gardar
@ -292,16 +283,17 @@ Gardar a imaxe para Tux Paint
Volvendo á imaxe multicapa, agora seleccione a capa WIP. Como fixo coa
máscara, arrastre isto dende o diálogo de capas ata a barra de
ferramentas. Debería obter unha imaxe dunha soa capa dos seus datos
WIP. Se tamén apareceu a máscara, desfágase dela. Debería ver o
obxecto e o contorno pintado sen ningunha miniatura de máscara no
diálogo de capas. Se escalou a máscara, entón escale esta imaxe
exactamente do mesmo xeito. Garde esta imaxe como un ficheiro de
pixmap portátil NetPBM («.ppm»). (Nota: .ppm, non .pgm.) (Se escolle o
formato RAW PPM, o segundo byte do ficheiro debería ser o díxito ASCII
«6», o byte hexadecimal 0x36.)
WIP. Se tamén apareceu a máscara, desfágase dela. Debería ver o obxecto
e o contorno pintado sen ningunha miniatura de máscara no diálogo de
capas. Se escalou a máscara, entón escale esta imaxe exactamente do
mesmo xeito. Garde esta imaxe como un ficheiro de pixmap portátil
NetPBM («.ppm»). (Nota: .ppm, non .pgm.) (Se escolle o formato RAW PPM,
o segundo byte do ficheiro debería ser o díxito ASCII «6», o byte
hexadecimal 0x36.)
Agora cómpre fusionar os dous ficheiros nun só. Fagao coa orde
pnmtopng, así:
Agora cómpre fusionar os dous ficheiros nun só. Fagao coa orde pnmtopng
, así:
pnmtopng -force -compression 9 -alpha mask.pgm fg.ppm >
final-stamp.png

View file

@ -7,94 +7,100 @@
5 de Maio de 2023
----------------------------------------------------------------------
-------------------------------------------------------------------------------
Tux Paint comprende unha serie de variábeis de contorno, ben directamente
ou indirectamente polas bibliotecas que emprega.
Tux Paint comprende unha serie de variábeis de contorno, ben directamente ou
indirectamente polas bibliotecas que emprega.
Variábeis de contorno relacionadas co almacenamento
HOME
Especifica o «directorio persoal» do usuario, que se usa para
localizar outros ficheiros ou directorios. Nalgúns casos, úsase
como parte dunha situación alternativa, cando non se configuran
outras variábeis de contorno (noutros lugares desta
documentación). Ás veces, a localización a empregar pode ser
anulada polas opcións fornecidas na liña de ordes ou a través do
ficheiro de configuración de Tux Paint. Consulte a documentación
de «OPCIÓNS» (OPTIONS) para máis detalles.
Especifica o «directorio persoal» do usuario, que se usa para localizar
outros ficheiros ou directorios. Nalgúns casos, úsase como parte dunha
situación alternativa, cando non se configuran outras variábeis de contorno
(noutros lugares desta documentación). Ás veces, a localización a empregar
pode ser anulada polas opcións fornecidas na liña de ordes ou a través do
ficheiro de configuración de Tux Paint. Consulte a documentación de
«OPCIÓNS» (OPTIONS) para máis detalles.
Algúns exemplos de onde se usa «$HOME» inclúen:
* A localización do ficheiro de configuración de Tux Paint
* A base de onde Tux Paint garda e carga os debuxos dos
usuarios
* A localización da colección privada de ficheiros de datos dun
usuario — selos, pinceis, etc. — (fronte aos dispoñíbeis no
sistema)
+ A localización do ficheiro de configuración de Tux Paint
+ A base de onde Tux Paint garda e carga os debuxos dos usuarios
+ A localización da colección privada de ficheiros de datos dun usuario —
selos, pinceis, etc. — (fronte aos dispoñíbeis no sistema)
XDG_CONFIG_HOME
On Linux and other platforms where the X Desktop Group standards
are used, the location of the user's configuration files.
Specifically, where to find "user-dirs.dirs", where the
"XDG_PICTURES_DIR" might be defined. It is used for exporting
drawings and animated GIFs. Generally it's set to something like
"$HOME/Pictures/". If not specified, Tux Paint checks in the
directory "$HOME/.config/". If the configuration cannot be found,
Tux Paint simply exports drawings and GIFs to "$HOME".
On Linux and other platforms where the X Desktop Group standards are used,
the location of the user's configuration files. Specifically, where to find
"user-dirs.dirs", where the "XDG_PICTURES_DIR" might be defined. It is used
for exporting drawings and animated GIFs. Generally it's set to something
like "$HOME/Pictures/". If not specified, Tux Paint checks in the directory
"$HOME/.config/". If the configuration cannot be found, Tux Paint simply
exports drawings and GIFs to "$HOME".
XDG_DATA_HOME
On Linux and other platforms where the X Desktop Group standards
are used, the location of the user's data directories.
Specifically, where to find the "Trash" directory. It is used when
deleting images from Tux Paint's "Open" dialog. If not set, the
location "$HOME/.local/share/Trash/" is used, if available. If
not, images are simply deleted, rather than moved anywhere.
On Linux and other platforms where the X Desktop Group standards are used,
the location of the user's data directories. Specifically, where to find
the "Trash" directory. It is used when deleting images from Tux Paint's
"Open" dialog. If not set, the location "$HOME/.local/share/Trash/" is
used, if available. If not, images are simply deleted, rather than moved
anywhere.
TEMP
Especifica a localización onde se poden crear ficheiros temporais.
Só o usa Tux Paint nos sistemas operativos Microsoft Windows.
Emprega «userdata» se non se define.
Especifica a localización onde se poden crear ficheiros temporais. Só o usa
Tux Paint nos sistemas operativos Microsoft Windows. Emprega «userdata» se
non se define.
Variábeis de contorno relacionadas co idioma
LANG
LANGUAGE
LC_ALL
LC_MESSAGES
Specify the language Tux Paint should utilize in its user
interface. Overridde by the "--lang" and "--locale" command-line
options or their configuration file counterparts. The "LANGUAGE"
environment variable is used, if set. If not, "LC_ALL" is used as
a fallback. Then "LC_MESSAGES", and finally "LANG".
Specify the language Tux Paint should utilize in its user interface.
Overridde by the "--lang" and "--locale" command-line options or their
configuration file counterparts. The "LANGUAGE" environment variable is
used, if set. If not, "LC_ALL" is used as a fallback. Then "LC_MESSAGES",
and finally "LANG".
Variábeisbles de contorno relacionadas co que se amosa
A seguir amósanse algunhas das variábeis de contorno compatíbeis con
Simple DirectMedia Layer (libSDL) — que Tux Paint utiliza para amosar
gráficos, reproducir sons e recibir entrada do rato, teclado e joystick —
e que poden ser útiles para os usuarios de Tux Paint.
A seguir amósanse algunhas das variábeis de contorno compatíbeis con Simple
DirectMedia Layer (libSDL) — que Tux Paint utiliza para amosar gráficos,
reproducir sons e recibir entrada do rato, teclado e joystick — e que poden ser
útiles para os usuarios de Tux Paint.
SDL_VIDEO_ALLOW_SCREENSAVER
Especifica se Tux Paint debería permitir a execución dun protector
de pantalla. Pode ser definido como «1» (verdadeiro) polo propio
Tux Paint emitindo a opción de liña de ordes «--allowscreensaver»
ou o seu equivaente no ficheiro de configuración.
Especifica se Tux Paint debería permitir a execución dun protector de
pantalla. Pode ser definido como «1» (verdadeiro) polo propio Tux Paint
emitindo a opción de liña de ordes «--allowscreensaver» ou o seu equivaente
no ficheiro de configuración.
SDL_VIDEO_WINDOW_POS
Requests where to position Tux Paint's window, and can be used to
specify what display to place a fullscreen Tux Paint in a
multi-monitor configuration. If not set, or set to "nopref"
(meaning "no preference"), Simple DirectMedia Layer (libSDL)
decides. Can be set to an X,Y coordinate (e.g. 200,100), or
"center" (meaning "center").
Requests where to position Tux Paint's window, and can be used to specify
what display to place a fullscreen Tux Paint in a multi-monitor
configuration. If not set, or set to "nopref" (meaning "no preference"),
Simple DirectMedia Layer (libSDL) decides. Can be set to an X,Y coordinate
(e.g. 200,100), or "center" (meaning "center").

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -10,23 +10,22 @@
Sobre os PNG
PNG é o formato de Gráficos de Rede Portátiles. É un estándar aberto, non
lastrado polas patentes (como os GIF). É un formato moi comprimido (aínda
que non é «con perda» como os JPEG: a perda permite que os ficheiros sexan
moito máis pequenos, mais introduce «erros» na imaxe cando se gardan) e
admite cores de 24 bits (16,7 millóns de cores), así como unha «canle
alfa» completo, é dicir, cada píxel pode ter un grao de transparencia
variábel.
lastrado polas patentes (como os GIF). É un formato moi comprimido (aínda que
non é «con perda» como os JPEG: a perda permite que os ficheiros sexan moito
máis pequenos, mais introduce «erros» na imaxe cando se gardan) e admite cores
de 24 bits (16,7 millóns de cores), así como unha «canle alfa» completo, é
dicir, cada píxel pode ter un grao de transparencia variábel.
Para obter máis información, visite:http://www.libpng.org/
Estas características (apertura, perda, compresión, transparencia/alfa)
convérteno na mellor opción para Tux Paint. (A compatibilidade de Tux
Paint co formato PNG procede da biblioteca de código aberto SDL_Image, que
á súa vez a obtén da biblioteca libPNG.)
convérteno na mellor opción para Tux Paint. (A compatibilidade de Tux Paint co
formato PNG procede da biblioteca de código aberto SDL_Image, que á súa vez a
obtén da biblioteca libPNG.)
A compatibilidade con moitas cores permite utilizar imaxes de «selo de
caucho» de calidade fotográfica en Tux Paint e a transparencia alfa
permite pinceis de alta calidade.
A compatibilidade con moitas cores permite utilizar imaxes de «selo de caucho»
de calidade fotográfica en Tux Paint e a transparencia alfa permite pinceis de
alta calidade.
Como facer imaxes PNG
@ -35,57 +34,60 @@ Como facer imaxes PNG
GIMP & Krita
GIMP e Krita son dúas excelentes ferramentas coas que crear imaxes
PNG para usar en Tux Paint , ambos son programas de debuxo
interactivo e edición de fotos de código aberto de alta calidade.
GIMP e Krita son dúas excelentes ferramentas coas que crear imaxes PNG para
usar en Tux Paint , ambos son programas de debuxo interactivo e edición de
fotos de código aberto de alta calidade.
É probábel que un ou ambos xa estean instalados no seu sistema. Se non,
deberían estar dispoñíbeis no repositorio de software da súa distribución
Linux. Se non é así, ou para obter máis información, visite http://
www.gimp.org/ e http://www.krita.org/ respectivamente.
É probábel que un ou ambos xa estean instalados no seu sistema. Se
non, deberían estar dispoñíbeis no repositorio de software da súa
distribución Linux. Se non é así, ou para obter máis información,
visite http://www.gimp.org/ e http://www.krita.org/
respectivamente.
Ferramentas da liña de ordes
NetPBM
As ferramentas de Mapas de bits Portátil Portable
Bitmap (coñecidas colectivamente como «NetPBM») son
unha colección de ferramentas de liña de ordes de
código aberto que converten a e dende varios
formatos, incluíndo GIF, TIFF, BMP, PNG e moitos
máis.
As ferramentas de Mapas de bits Portátil Portable Bitmap (coñecidas
colectivamente como «NetPBM») son unha colección de ferramentas de liña
de ordes de código aberto que converten a e dende varios formatos,
incluíndo GIF, TIFF, BMP, PNG e moitos máis.
É posíbel que xa estea instalado no seu sistema. Se non, estarán
dispoñíbeis no repositorio de software da súa distribución Linux. Se
non é así, ou para saber máis, visite http://netpbm.sourceforge.net/.
É posíbel que xa estea instalado no seu sistema. Se
non, estarán dispoñíbeis no repositorio de software
da súa distribución Linux. Se non é así, ou para
saber máis, visite http://netpbm.sourceforge.net/.
cjpeg/djpeg
Os programas de liña de ordes «cjpeg» e «djpeg»
converten entre o formato NetPBM Calquera mapa
portátil Portable Any Map (PNM) e os JPEG. É
posíbel que xa estea instalado no seu sistema. Se
non, estarán dispoñíbeis no repositorio de software
da súa distribución Linux. Se non é así, ou para
saber máis, visite https://jpegclub.org/.
Os programas de liña de ordes «cjpeg» e «djpeg» converten entre o
formato NetPBM Calquera mapa portátil Portable Any Map (PNM) e os
JPEG. É posíbel que xa estea instalado no seu sistema. Se non, estarán
dispoñíbeis no repositorio de software da súa distribución Linux. Se
non é así, ou para saber máis, visite https://jpegclub.org/.
Proprietary Software for Windows
* CorelDRAW (Corel) — http://www.corel.com/
* Illustrator (Adobe) —
http://www.adobe.com/products/illustrator.html
* Paint Shop Pro (Corel) — https://www.paintshoppro.com/
* Photoshop (Adobe) —
http://www.adobe.com/products/photoshop.html
* PIXresizer (Bluefive software) —
http://bluefive.pair.com/pixresizer.htm
+ CorelDRAW (Corel) — http://www.corel.com/
+ Illustrator (Adobe) — http://www.adobe.com/products/illustrator.html
+ Paint Shop Pro (Corel) — https://www.paintshoppro.com/
+ Photoshop (Adobe) — http://www.adobe.com/products/photoshop.html
+ PIXresizer (Bluefive software) — http://bluefive.pair.com/
pixresizer.htm
Usuarios de Macintosh
* CorelDRAW (Corel) — http://www.corel.com/
* GraphicConverter (Lemke Software) —
https://www.lemkesoft.de/mac-fotobearbeitung-mac-diashow-mac-grafikprogramm-mac-bildbetrachter/
* Illustrator (Adobe) —
http://www.adobe.com/products/illustrator.html
* Photoshop (Adobe) —
http://www.adobe.com/products/photoshop.html
+ CorelDRAW (Corel) — http://www.corel.com/
+ GraphicConverter (Lemke Software) — https://www.lemkesoft.de/
mac-fotobearbeitung-mac-diashow-mac-grafikprogramm-mac-bildbetrachter/
+ Illustrator (Adobe) — http://www.adobe.com/products/illustrator.html
+ Photoshop (Adobe) — http://www.adobe.com/products/photoshop.html

File diff suppressed because it is too large Load diff

View file

@ -12,44 +12,47 @@
SIGTERM (tamén, [Control] + [C] dende un terminal executando «tuxpaint»)
Tux Paint responde coma se se premese o botón «Saír» ou se lle
dixera ao contorno de escritorio que peche Tux Paint (por exemplo,
premendo nun botón de peche da xanela ou premendo [Alt] + [F4] na
maioría dos sistemas).
Tux Paint responde coma se se premese o botón «Saír» ou se lle dixera ao
contorno de escritorio que peche Tux Paint (por exemplo, premendo nun botón
de peche da xanela ou premendo [Alt] + [F4] na maioría dos sistemas).
Dende a interface principal, Tux Paint preguntará se quere ou non
saír e (a non ser que sexa anulado pol a opción de gardado
automático, p. ex.: «--autosavex) se quere gardar o debuxo actual
(se non está gardado) , e se é así, e é unha versión modificada
dun debuxo existente (a non ser que sexa anulado polas opcións de
gardar sobre imaxes antigas ou gardar sempre imaxes novas; por
exemplo, «--saveover« e «--saveovernew», respectivamente), se
quere ou non sobreescribir o debuxo existente ou gardalo nun novo
ficheiro.
Dende a interface principal, Tux Paint preguntará se quere ou non saír e (a
non ser que sexa anulado pol a opción de gardado automático, p. ex.:
«--autosavex) se quere gardar o debuxo actual (se non está gardado) , e se
é así, e é unha versión modificada dun debuxo existente (a non ser que sexa
anulado polas opcións de gardar sobre imaxes antigas ou gardar sempre
imaxes novas; por exemplo, «--saveover« e «--saveovernew»,
respectivamente), se quere ou non sobreescribir o debuxo existente ou
gardalo nun novo ficheiro.
Exemplo: killall tuxpaint
💡 Note: From other parts of the interface, the signal is currently
interpreted as a request to go back (e.g., from the "New" dialog
back to the main interface), as if a "Back" button in Tux Paint
were clicked, or the [Esc] was key pressed.
interpreted as a request to go back (e.g., from the "New" dialog back to
the main interface), as if a "Back" button in Tux Paint were clicked, or
the [Esc] was key pressed.
SIGUSR1 & SIGUSR2
Tux Paint responde axustando a súa opción de gardar
automaticamente (coma se fora publicada con «--autosave»), así
como a opción de gardar sempre novas imaxes (coma se se publicase
con «--saveovernew») no caso de recibir un sinal de SIGUSR1 ou de
gardar sempre sobre a imaxe existente (coma se se publicase con
«--saveover») no caso de recibir SIGUSR2. Entón Tux Paint envíase
a sí mesmo un sinal de SIGTERM, nun intento de saír. (Ver arriba.)
Tux Paint responde axustando a súa opción de gardar automaticamente (coma
se fora publicada con «--autosave»), así como a opción de gardar sempre
novas imaxes (coma se se publicase con «--saveovernew») no caso de recibir
un sinal de SIGUSR1 ou de gardar sempre sobre a imaxe existente (coma se se
publicase con «--saveover») no caso de recibir SIGUSR2. Entón Tux Paint
envíase a sí mesmo un sinal de SIGTERM, nun intento de saír. (Ver arriba.)
Así, dende a interface principal, Tux Paint debería saír case de
inmediato, sen facer preguntas.
Así, dende a interface principal, Tux Paint debería saír case de inmediato,
sen facer preguntas.
Exemplo: killall -s SIGUSR1 tuxpaint
💡 Note: From other parts of the interface, unfortunately, Tux
Paint will go back one level in the interface. Therefore, at this
time, it may be necessary to send this signal to Tux Paint a few
times, for it to quit completely.
💡 Note: From other parts of the interface, unfortunately, Tux Paint will go
back one level in the interface. Therefore, at this time, it may be
necessary to send this signal to Tux Paint a few times, for it to quit
completely.

View file

@ -9,29 +9,29 @@
Sobre os SVG
SVG (Scalable Vector Graphics — Gráficos Vectoriais Escalábeis) é un
estándar aberto usado para describir gráficos vectoriais bidimensionais. É
xenial para diagramas e formas, mentres que PNG son mellores para
fotografías. Os ficheiros SVG son un pouco como instrucións sobre como
facer unha imaxe. Isto significa que poden cambiarse de sen que aparezan
pixelados ou bloques.
SVG (Scalable Vector Graphics — Gráficos Vectoriais Escalábeis) é un estándar
aberto usado para describir gráficos vectoriais bidimensionais. É xenial para
diagramas e formas, mentres que PNG son mellores para fotografías. Os ficheiros
SVG son un pouco como instrucións sobre como facer unha imaxe. Isto significa
que poden cambiarse de sen que aparezan pixelados ou bloques.
Para obter máis información, visite:https://www.w3.org/Graphics/SVG/
Como facer imaxes SVG
An excellent tool with which to create SVG images for use in Tux Paint is
Inkscape, a high-quality Open Source interactive drawing program available
for Windows, macOS, and Linux. There are also other applications that can
produce SVGs, both free/open source, and commerical/proprietary.
Inkscape, a high-quality Open Source interactive drawing program available for
Windows, macOS, and Linux. There are also other applications that can produce
SVGs, both free/open source, and commerical/proprietary.
Open Source
* Inkscape — http://www.inkscape.org/
* Karbon — https://calligra.org/karbon/
+ Inkscape — http://www.inkscape.org/
+ Karbon — https://calligra.org/karbon/
Proprietary
* CorelDRAW (Corel) — https://www.coreldraw.com/en/
* Illustrator (Adobe) —
http://www.adobe.com/products/illustrator.html
* Boxy SVG — https://boxy-svg.com/
* Sketch (Sketch B.V.) — https://boxy-svg.com/
+ CorelDRAW (Corel) — https://www.coreldraw.com/en/
+ Illustrator (Adobe) — http://www.adobe.com/products/illustrator.html
+ Boxy SVG — https://boxy-svg.com/
+ Sketch (Sketch B.V.) — https://boxy-svg.com/

View file

@ -14,18 +14,18 @@ Tools (Drawing)
* Change categories with the arrow buttons ⇦⇨ near the bottom right.
* Choose a stamp on the right.
* Some stamps may be mirrored 🪞, and/or flipped ↕, using controls near
the bottom right.
* Some stamps may be mirrored 🪞, and/or flipped ↕, using controls near the
bottom right.
* Some stamps allow you to choose their color (see "Colors").
* Change stamp size with the bars 📶 at the bottom right.
* Rotation ⟳ may be enabled, if desired.
* Click/tap in the canvas to place a stamp.
* If rotation is enabled, drag to rotate it, and click/tap again to
add it to the drawing.
+ If rotation is enabled, drag to rotate it, and click/tap again to add
it to the drawing.
* Some stamps play sound effects; press the speaker 🕪 button to hear it
again.
* Some stamps play descriptive sounds; press the headphones 🎧 button to
hear it again.
* Some stamps play descriptive sounds; press the headphones 🎧 button to hear
it again.
⚟Lines
@ -35,71 +35,68 @@ Tools (Drawing)
⭓Shapes
* Choose a shape on the right.
* Select whether you want to extend the shape from the center ⧈, or a
corner ◰, using controls at the bottom right.
* Select whether you want to extend the shape from the center ⧈, or a corner
◰, using controls at the bottom right.
* Click/tap to position, and drag to set the size of the shape.
* Drag to rotate it, and click/tap again to add it to the drawing.
🄰Text
* Choose a font on the right.
* Select whether you want the text bold 𝗔 and/or italic 𝘈, using
controls near the bottom right.
* Select whether you want the text bold 𝗔 and/or italic 𝘈, using controls
near the bottom right.
* Change text size using the up 🡁 and down 🡃 arrow buttons at the bottom
right.
* Choose a color (see "Colors").
* Click/tap the canvas to position an insertion cursor.
* Enter text via your keyboard or the on-screen keyboard.
* Click/tap the canvas again if you wish to reposition the text.
* Press [Enter]/[Return] or click/tap ⮨ to add the text to the drawing
and begin entering more text one line down.
* Press [Enter]/[Return] or click/tap ⮨ to add the text to the drawing and
begin entering more text one line down.
* Or, press [Tab] or click/tap or ⟷ to add the text to the drawing and
continue entering more text immediately to the right.
* Using the on-screen keyboard:
* "Cmp" can be used to compose characters, e.g. Cmp ' a results in
á.
* "AltGr" can be used to quickly access more characters.
* Left/Right arrows switches keyboard layouts (e.g., "QWERTY" vs.
"ABC")
+ "Cmp" can be used to compose characters, e.g. Cmp ' a results in á.
+ "AltGr" can be used to quickly access more characters.
+ Left/Right arrows switches keyboard layouts (e.g., "QWERTY" vs. "ABC")
🅰Label
* (See Text)
* Labels float 'above' the drawing; you cannot paint or stamp over them,
apply Magic effects, etc.
* Labels may be edited, repositioned, and styled after they've been
added to the drawing.
* Click/tap the ☝ button near the lower right to choose a label.
Click/tap the label you wish to modify, then click/tap somewhere else
in the canvas to reposition, or change the font/style, change color,
and/or type to edit the text.
* Or, use the 🖑 button near the lower right to "flatten" a label,
applying it to the canvas; it may no longer be edited with the Label
tool.
* Labels may be edited, repositioned, and styled after they've been added to
the drawing.
* Click/tap the ☝ button near the lower right to choose a label. Click/tap
the label you wish to modify, then click/tap somewhere else in the canvas
to reposition, or change the font/style, change color, and/or type to edit
the text.
* Or, use the 🖑 button near the lower right to "flatten" a label, applying it
to the canvas; it may no longer be edited with the Label tool.
🪣Fill
* Choose a fill mode on the right.
* Choose a color (see "Colors").
* Click/tap (and drag, with Brush and Linear modes) to fill an area of
the picture with a color.
* Solid - Flood-fills an area with a solid color
* Brush - Paints with a solid color, without drawing outside the
chosen area
* Linear - Fills the area with a linear gradient (drag to choose
angle and gradient)
* Radial - Fills the area with a radial gradient, centered where
you clicked/tapped
* Shaped - Fills the area with a gradient that follows the contours
of the area being filled
* Click/tap (and drag, with Brush and Linear modes) to fill an area of the
picture with a color.
+ Solid - Flood-fills an area with a solid color
+ Brush - Paints with a solid color, without drawing outside the chosen
area
+ Linear - Fills the area with a linear gradient (drag to choose angle
and gradient)
+ Radial - Fills the area with a radial gradient, centered where you
clicked/tapped
+ Shaped - Fills the area with a gradient that follows the contours of
the area being filled
🪄Magic
* Choose a magic tool on the right.
* Change categories with the arrow buttons ⇦⇨ near the bottom right.
* Some magic tools draw or apply effects via click/tap and drag 〰🪄, some
affect the entire drawing 🖻🪄, and some offer both options; use the
controls at the bottom right.
affect the entire drawing 🖻🪄, and some offer both options; use the controls
at the bottom right.
* Some magic tools offer various sizes; change it with the bars 📶 at the
bottom right.
* Some magic tools allow you to choose their color.
@ -117,8 +114,8 @@ Tools (Drawing)
◪Eraser
* Choose the size and shape of the eraser on the right.
* Click/tap and drag to erase parts of the picture (solid color, or
starter or template image).
* Click/tap and drag to erase parts of the picture (solid color, or starter
or template image).
* Shortcut: [X] and click/tap in the drawing (not always available)
Tools (Controls)
@ -126,11 +123,10 @@ Tools (Controls)
🗏New
* Choose a solid color, starter, or template image to start with.
* Starters allow drawing "under" a picture (e.g., a coloring book
+ Starters allow drawing "under" a picture (e.g., a coloring book
outline), sometimes with a background layer, too.
* Templates are pictures to start with (background only).
* Eraser tool ◪ reveals the solid color, or starter/template
background.
+ Templates are pictures to start with (background only).
+ Eraser tool ◪ reveals the solid color, or starter/template background.
* Click/tap "🕮⮫Open" to begin a new drawing.
* Click/tap "⤺Back" to abort and return to your current drawing.
* Shortcut: [Ctrl]+[N]
@ -141,32 +137,31 @@ Tools (Controls)
* Click/tap "🕮⮫Open" to open the saved drawing and continue editing it.
* Click/tap "🗏⮫Export" to save the drawing to your system's "Pictures"
folder.
* Click/tap "🗑Erase" to move the drawing to your system's Trash/Recycle
Bin.
* Click/tap "🗑Erase" to move the drawing to your system's Trash/Recycle Bin.
* Click/tap "⤺Back" to abort and return to your current drawing.
* Click/tap "📽Slides" to switch to slideshow mode:
* Click/tap two or more of your previously-saved drawings, in the
order you want them shown. Numbers will appear on them.
* Choose the playback speed using the bars 📶 near the lower left.
* Click/tap "⯈Play" to watch the slideshow/animation.
* Or, click/tap "🎞GIF Export" to save an animated GIF of the
animation to your system's "Pictures" folder.
* Click/tap "⤺Back" to return to the Open dialog.
+ Click/tap two or more of your previously-saved drawings, in the order
you want them shown. Numbers will appear on them.
+ Choose the playback speed using the bars 📶 near the lower left.
+ Click/tap "⯈Play" to watch the slideshow/animation.
+ Or, click/tap "🎞GIF Export" to save an animated GIF of the animation to
your system's "Pictures" folder.
+ Click/tap "⤺Back" to return to the Open dialog.
* Shortcut: [Ctrl]+[O]
🕮⮪Save
* Click/tap to save your drawing.
* If you've saved previously, you'll be prompted whether to overwrite
the previously-saved drawing (a la "File→Save") or create a new saved
drawing (a la "File→Save As...")
* If you've saved previously, you'll be prompted whether to overwrite the
previously-saved drawing (a la "File→Save") or create a new saved drawing
(a la "File→Save As...")
* Shortcut: [Ctrl]+[S]
🖶Print
* Click/tap to print your drawing.
* Hold [Alt] or [Option] while clicking/tapping to bring up printer
dialog, if available.
* Hold [Alt] or [Option] while clicking/tapping to bring up printer dialog,
if available.
* Shortcut: [Ctrl]+[P]
🗙Quit
@ -176,28 +171,27 @@ Tools (Controls)
Colors
* Click/tap to choose a color to use with the Paint, Lines, and Shapes
tools, and Stamps and Magic tools that support colors.
* Use the pipette / color picker 💉 button to choose a color from a pixel
in your current drawing.
* Shortcut: When colors are available, press [Ctrl] and click/tap
in your drawing, to quickly pick a color from your drawing.
* Click/tap to choose a color to use with the Paint, Lines, and Shapes tools,
and Stamps and Magic tools that support colors.
* Use the pipette / color picker 💉 button to choose a color from a pixel in
your current drawing.
+ Shortcut: When colors are available, press [Ctrl] and click/tap in your
drawing, to quickly pick a color from your drawing.
* Click/tap the rainbow 🌈 button to choose a arbitrary color.
* Click/tap in the rainbow square to pick a color (hue and
saturation).
* Click/tap in the grey gradient bar to adjust brightness (value).
* Click/tap the green checkbox ✓ to accept.
* Click/tap "⤺Back" to abort and dismiss the palette.
* You may grab the currently-chosen built-in color (if any), the
color in the pipette / color picker, or the color in the color
mixer, by clicking one of the colored arrow ⇫ buttons.
* Click/tap the paint palette 🎨 button to create a color by mixing
primary colors: red, yellow, and blue, and white (tint), grey (tone),
and black (shade).
* Click/tap the green checkbox ✓ to accept.
* Color mixing offers its own 🖓Undo and 🖒Redo options.
* Click/tap "🗑Clear" to start over with no mixed colors.
* Click/tap "⤺Back" to abort and dismiss the color mixer.
+ Click/tap in the rainbow square to pick a color (hue and saturation).
+ Click/tap in the grey gradient bar to adjust brightness (value).
+ Click/tap the green checkbox ✓ to accept.
+ Click/tap "⤺Back" to abort and dismiss the palette.
+ You may grab the currently-chosen built-in color (if any), the color in
the pipette / color picker, or the color in the color mixer, by
clicking one of the colored arrow ⇫ buttons.
* Click/tap the paint palette 🎨 button to create a color by mixing primary
colors: red, yellow, and blue, and white (tint), grey (tone), and black
(shade).
+ Click/tap the green checkbox ✓ to accept.
+ Color mixing offers its own 🖓Undo and 🖒Redo options.
+ Click/tap "🗑Clear" to start over with no mixed colors.
+ Click/tap "⤺Back" to abort and dismiss the color mixer.
Shortcuts while drawing:
@ -213,3 +207,4 @@ Shortcuts while drawing:
* [Esc] - ⤺Back or 🗙Quit
Last updated: 9 de Maio de 2023

View file

@ -6,8 +6,7 @@
júní 4, 2022
----------------------------------------------------------------------
-------------------------------------------------------------------------------
+----------------------------------------+
| Table of Contents |
|----------------------------------------|
@ -17,26 +16,22 @@
| * Replace the fringe and junk pixels |
| * Save the image for Tux Paint |
+----------------------------------------+
----------------------------------------------------------------------
----------------------------------------------------------------------
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
About this 'How-To'
This 'How-To' assumes that you want to make an excellent Tux Paint
stamp, in PNG bitmapped format, from a JPEG image (e.g., a digital
photograph). There are easier and faster methods that produce lower
quality.
This 'How-To' assumes that you want to make an excellent Tux Paint stamp,
in PNG bitmapped format, from a JPEG image (e.g., a digital photograph).
There are easier and faster methods that produce lower quality.
This 'How-To' assumes you are dealing with normal opaque objects.
Dealing with semi-transparent objects (fire, moving fan blade, kid's
balloon) or light-giving objects (fire, lightbulb, sun) is best done
with custom software. Images with perfect solid-color backgrounds are
also best done with custom software, but are not troublesome to do as
follows.
This 'How-To' assumes you are dealing with normal opaque objects. Dealing
with semi-transparent objects (fire, moving fan blade, kid's balloon) or
light-giving objects (fire, lightbulb, sun) is best done with custom
software. Images with perfect solid-color backgrounds are also best done
with custom software, but are not troublesome to do as follows.
----------------------------------------------------------------------
-------------------------------------------------------------------------------
Image choice is crucial
@ -44,9 +39,9 @@ Image choice is crucial
If you wish to submit artwork to the Tux Paint developers for
consideration for inclusion in the official project, or if you wish to
release your own copy of Tux Paint, bundled with your own graphics,
you need an image that is compatible with the GNU General Public
License used by Tux Paint.
release your own copy of Tux Paint, bundled with your own graphics, you
need an image that is compatible with the GNU General Public License
used by Tux Paint.
Images produced by the US government are Public Domain, but be aware
that the US government sometimes uses other images on the web. Google
@ -71,10 +66,10 @@ Image choice is crucial
Rotating an image can make it blurry, especially if you only rotate by
a few degrees. Images that don't need rotation are best, images that
need lots of rotation (30 to 60 degrees) are next best, and images
that need just a few degrees are worst. Rotation will also make an
image darker because most image editing software is very bad about
gamma handling. (Rotation is only legitimate for gamma=1.0 images.)
need lots of rotation (30 to 60 degrees) are next best, and images that
need just a few degrees are worst. Rotation will also make an image
darker because most image editing software is very bad about gamma
handling. (Rotation is only legitimate for gamma=1.0 images.)
Very large images are more forgiving of mistakes, and thus easier to
work with. Choose an image with an object that is over 1000 pixels
@ -83,31 +78,31 @@ Image choice is crucial
Be sure that the image is not too grainy, dim, or washed out.
Pay attention to feet and wheels. If they are buried in something, you
will need to draw new ones. If only one is buried, you might be able
to copy the other one as a replacement.
will need to draw new ones. If only one is buried, you might be able to
copy the other one as a replacement.
----------------------------------------------------------------------
-------------------------------------------------------------------------------
Prepare the image
First of all, be sure to avoid re-saving the image as a JPEG. This
causes quality loss. There is a special tool called jpegtran that lets
you crop an image without the normal quality loss.
First of all, be sure to avoid re-saving the image as a JPEG. This causes
quality loss. There is a special tool called jpegtran that lets you crop an
image without the normal quality loss.
jpegtran -trim -copy none -crop 512x1728+160+128 < src.jpg >
cropped.jpg
Bring that image up in your image editor. If you didn't crop it yet, you
may find that your image editor is very slow. Rotate and crop the image
as needed. Save the image — choose whatever native format supports
layers, masks, alpha, etc. GIMP users should choose "XCF", and Adobe
Photoshop users should choose "PSD", for example.
may find that your image editor is very slow. Rotate and crop the image as
needed. Save the image — choose whatever native format supports layers,
masks, alpha, etc. GIMP users should choose "XCF", and Adobe Photoshop
users should choose "PSD", for example.
If you have rotated or cropped the image in your image editor, flatten
it now. You need to have just one RGB layer without mask or alpha.
If you have rotated or cropped the image in your image editor, flatten it
now. You need to have just one RGB layer without mask or alpha.
Open the layers dialog box. Replicate the one layer several times. From
top to bottom you will need something like this:
Open the layers dialog box. Replicate the one layer several times. From top
to bottom you will need something like this:
1. unmodified image (write-protect this if you can)
2. an image you will modify — the "work in progress" layer
@ -115,152 +110,147 @@ Prepare the image
4. solid magenta (write-protect this if you can)
5. unmodified image (write-protect this if you can)
Give the work in progress (WIP) layer a rough initial mask. You might
start with a selection, or by using the grayscale value of the WIP
layer. You might invert the mask.
Give the work in progress (WIP) layer a rough initial mask. You might start
with a selection, or by using the grayscale value of the WIP layer. You
might invert the mask.
Warning: once you have the mask, you may not rotate or scale the image
normally. This would cause data loss. You will be given special scaling
instructions later.
----------------------------------------------------------------------
-------------------------------------------------------------------------------
Prepare the mask
Get used to doing [Control]-click and [Alt]-click on the thumbnail
images in the layers dialog. You will need this to control what you are
looking at and what you are editing. Sometimes you will be editing
things you can't see. For example, you might edit the mask of the WIP
layer while looking at the unmodified image. Pay attention so you don't
screw up. Always verify that you are editing the right thing.
Get used to doing [Control]-click and [Alt]-click on the thumbnail images
in the layers dialog. You will need this to control what you are looking at
and what you are editing. Sometimes you will be editing things you can't
see. For example, you might edit the mask of the WIP layer while looking at
the unmodified image. Pay attention so you don't screw up. Always verify
that you are editing the right thing.
Set an unmodified image as what you will view (the top one is easiest).
Set the WIP mask as what you will edit. At some point, perhaps not
immediately, you should magnify the image to about 400% (each pixel of
the image is seen and edited as a 4x4 block of pixels on your screen).
Set an unmodified image as what you will view (the top one is easiest). Set
the WIP mask as what you will edit. At some point, perhaps not immediately,
you should magnify the image to about 400% (each pixel of the image is seen
and edited as a 4x4 block of pixels on your screen).
Select parts of the image that need to be 100% opaque or 0% opaque. If
you can select the object or background somewhat accurately by color, do
so. As needed to avoid selecting any pixels that should be partially
opaque (generally at the edge of the object) you should grow, shrink,
and invert the selection.
Select parts of the image that need to be 100% opaque or 0% opaque. If you
can select the object or background somewhat accurately by color, do so. As
needed to avoid selecting any pixels that should be partially opaque
(generally at the edge of the object) you should grow, shrink, and invert
the selection.
Fill the 100% opaque areas with white, and the 0% opaque areas with
black. This is most easily done by drag-and-drop from the
foreground/background color indicator. You should not see anything
happen, because you are viewing the unmodified image layer while editing
the mask of the WIP layer. Large changes might be noticable in the
thumbnail.
Fill the 100% opaque areas with white, and the 0% opaque areas with black.
This is most easily done by drag-and-drop from the foreground/background
color indicator. You should not see anything happen, because you are
viewing the unmodified image layer while editing the mask of the WIP layer.
Large changes might be noticable in the thumbnail.
Now you must be zoomed in.
Check your work. Hide the top unmodified image layer. Display just the
mask, which should be a white object on a black background (probably
with unedited grey at the edge). Now display the WIP layer normally, so
that the mask is active. This should show your object over top of the
next highest enabled layer, which should be green or magenta as needed
for maximum contrast. You might wish to flip back and forth between
those backgrounds by repeatedly clicking to enable/disable the green
layer. Fix any obvious and easy problems by editing the mask while
viewing the mask.
mask, which should be a white object on a black background (probably with
unedited grey at the edge). Now display the WIP layer normally, so that the
mask is active. This should show your object over top of the next highest
enabled layer, which should be green or magenta as needed for maximum
contrast. You might wish to flip back and forth between those backgrounds
by repeatedly clicking to enable/disable the green layer. Fix any obvious
and easy problems by editing the mask while viewing the mask.
Go back to viewing the top unmodified layer while editing the WIP mask.
Set your drawing tool the paintbrush. For the brush, choose a small
fuzzy circle. The 5x5 size is good for most uses.
Go back to viewing the top unmodified layer while editing the WIP mask. Set
your drawing tool the paintbrush. For the brush, choose a small fuzzy
circle. The 5x5 size is good for most uses.
With a steady hand, trace around the image. Use black around the
outside, and white around the inside. Avoid making more than one pass
without switching colors (and thus sides).
With a steady hand, trace around the image. Use black around the outside,
and white around the inside. Avoid making more than one pass without
switching colors (and thus sides).
Flip views a bit, checking to see that the mask is working well. When
the WIP layer is composited over the green or magenta, you should see a
tiny bit of the original background as an ugly fringe around the edge.
If this fringe is missing, then you made the object mask too small. The
fringe consists of pixels that are neither 100% object nor 0% object.
For them, the mask should be neither 100% nor 0%. The fringe gets
removed soon.
Flip views a bit, checking to see that the mask is working well. When the
WIP layer is composited over the green or magenta, you should see a tiny
bit of the original background as an ugly fringe around the edge. If this
fringe is missing, then you made the object mask too small. The fringe
consists of pixels that are neither 100% object nor 0% object. For them,
the mask should be neither 100% nor 0%. The fringe gets removed soon.
View and edit the mask. Select by color, choosing either black or white.
Most likely you will see unselected specks that are not quite the
expected color. Invert the selection, then paint these away using the
pencil tool. Do this operation for both white and black.
Most likely you will see unselected specks that are not quite the expected
color. Invert the selection, then paint these away using the pencil tool.
Do this operation for both white and black.
----------------------------------------------------------------------
-------------------------------------------------------------------------------
Replace the fringe and junk pixels
Still viewing the mask, select by color. Choose black. Shrink the
selection by several pixels, being sure to NOT shrink from the edges of
the mask (the shrink helps you avoid and recover from mistakes).
Still viewing the mask, select by color. Choose black. Shrink the selection
by several pixels, being sure to NOT shrink from the edges of the mask (the
shrink helps you avoid and recover from mistakes).
Now disable the mask. View and edit the unmasked WIP layer. Using the
color picker tool, choose a color that is average for the object.
Drag-and-drop this color into the selection, thus removing most of the
non-object pixels.
Now disable the mask. View and edit the unmasked WIP layer. Using the color
picker tool, choose a color that is average for the object. Drag-and-drop
this color into the selection, thus removing most of the non-object pixels.
This solid color will compress well and will help prevent ugly color
fringes when Tux Paint scales the image down. If the edge of the object
has multiple colors that are very different, you should split up your
selection so that you can color the nearby background to be similar.
fringes when Tux Paint scales the image down. If the edge of the object has
multiple colors that are very different, you should split up your selection
so that you can color the nearby background to be similar.
Now you will paint away the existing edge fringe. Be sure that you are
editing and viewing the WIP image. Frequent layer visibility changes
will help you to see what you are doing. You are likely to use all of:
editing and viewing the WIP image. Frequent layer visibility changes will
help you to see what you are doing. You are likely to use all of:
* composited over green (mask enabled)
* composited over magenta (mask enabled)
* original (the top or bottom layer)
* composited over the original (mask enabled)
* raw WIP layer (mask disabled)
+ composited over green (mask enabled)
+ composited over magenta (mask enabled)
+ original (the top or bottom layer)
+ composited over the original (mask enabled)
+ raw WIP layer (mask disabled)
To reduce accidents, you may wish to select only those pixels that are
not grey in the mask. (Select by color from the mask, choose black, add
mode, choose white, invert. Alternately: Select all, select by color
from the mask, subtract mode, choose black, choose white.) If you do
this, you'll probably want to expand the selection a bit and/or hide the
"crawling ants" line that marks the selection.
To reduce accidents, you may wish to select only those pixels that are not
grey in the mask. (Select by color from the mask, choose black, add mode,
choose white, invert. Alternately: Select all, select by color from the
mask, subtract mode, choose black, choose white.) If you do this, you'll
probably want to expand the selection a bit and/or hide the "crawling ants"
line that marks the selection.
Use the clone tool and the brush tool. Vary the opacity as needed. Use
small round brushes mostly, perhaps 3x3 or 5x5, fuzzy or not. (It is
generally nice to pair up fuzzy brushes with 100% opacity and non-fuzzy
brushes with about 70% opacity.) Unusual drawing modes can be helpful
with semi-transparent objects.
brushes with about 70% opacity.) Unusual drawing modes can be helpful with
semi-transparent objects.
The goal is to remove the edge fringe, both inside and outside of the
object. The inside fringe, visible when the object is composited over
magenta or green, must be removed for obvious reasons. The outside
fringe must also be removed because it will become visible when the
image is scaled down. As an example, consider a 2x2 region of pixels at
the edge of a sharp-edged object. The left half is black and 0% opaque.
The right half is white and 100% opaque. That is, we have a white object
on a black background. When Tux Paint scales this to 50% (a 1x1 pixel
area), the result will be a grey 50% opaque pixel. The correct result
would be a white 50% opaque pixel. To get this result, we would paint
away the black pixels. They matter, despite being 0% opaque.
magenta or green, must be removed for obvious reasons. The outside fringe
must also be removed because it will become visible when the image is
scaled down. As an example, consider a 2x2 region of pixels at the edge of
a sharp-edged object. The left half is black and 0% opaque. The right half
is white and 100% opaque. That is, we have a white object on a black
background. When Tux Paint scales this to 50% (a 1x1 pixel area), the
result will be a grey 50% opaque pixel. The correct result would be a white
50% opaque pixel. To get this result, we would paint away the black pixels.
They matter, despite being 0% opaque.
Tux Paint can scale images down by a very large factor, so it is
important to extend the edge of your object outward by a great deal.
Right at the edge of your object, you should be very accurate about
this. As you go outward away from the object, you can get a bit sloppy.
It is reasonable to paint outward by a dozen pixels or more. The farther
you go, the more Tux Paint can scale down without creating ugly color
fringes. For areas that are more than a few pixels away from the object
edge, you should use the pencil tool (or sloppy select with
drag-and-drop color) to ensure that the result will compress well.
Tux Paint can scale images down by a very large factor, so it is important
to extend the edge of your object outward by a great deal. Right at the
edge of your object, you should be very accurate about this. As you go
outward away from the object, you can get a bit sloppy. It is reasonable to
paint outward by a dozen pixels or more. The farther you go, the more Tux
Paint can scale down without creating ugly color fringes. For areas that
are more than a few pixels away from the object edge, you should use the
pencil tool (or sloppy select with drag-and-drop color) to ensure that the
result will compress well.
----------------------------------------------------------------------
-------------------------------------------------------------------------------
Save the image for Tux Paint
It is very easy to ruin your hard work. Image editors can silently
destroy pixels in 0% opaque areas. The conditions under which this
happens may vary from version to version. If you are very trusting, you
can try saving your image directly as a PNG. Be sure to read it back in
again to verify that the 0% opaque areas didn't turn black or white,
which would create fringes when Tux Paint scales the image down. If you
need to scale your image to save space (and hide your mistakes), you are
almost certain to destroy all the 0% opaque areas. So here is a better
way...
It is very easy to ruin your hard work. Image editors can silently destroy
pixels in 0% opaque areas. The conditions under which this happens may vary
from version to version. If you are very trusting, you can try saving your
image directly as a PNG. Be sure to read it back in again to verify that
the 0% opaque areas didn't turn black or white, which would create fringes
when Tux Paint scales the image down. If you need to scale your image to
save space (and hide your mistakes), you are almost certain to destroy all
the 0% opaque areas. So here is a better way...
A Safer Way to Save
@ -271,17 +261,17 @@ Save the image for Tux Paint
with an image that is about 700 to 1500 pixels across, and end up with
one that is 300 to 400.
Save the mask image as a NetPBM portable greymap (".pgm") file. (If
you are using an old release of The GIMP, you might need to convert
the image to greyscale before you can save it.) Choose the more
compact "RAW PGM" format. (The second character of the file should be
the ASCII digit "5", hex byte 0x35.)
Save the mask image as a NetPBM portable greymap (".pgm") file. (If you
are using an old release of The GIMP, you might need to convert the
image to greyscale before you can save it.) Choose the more compact
"RAW PGM" format. (The second character of the file should be the ASCII
digit "5", hex byte 0x35.)
You may close the mask image.
Going back to the multi-layer image, now select the WIP layer. As you
did with the mask, drag this from the layers dialog to the toolbar.
You should get a single-layer image of your WIP data. If the mask came
did with the mask, drag this from the layers dialog to the toolbar. You
should get a single-layer image of your WIP data. If the mask came
along too, get rid of it. You should be seeing the object and the
painted-away surroundings, without any mask thumbnail in the layers
dialog. If you scaled the mask, then scale this image in exactly the
@ -289,8 +279,9 @@ Save the image for Tux Paint
(Note: .ppm, not .pgm.) (If you choose the RAW PPM format, the second
byte of the file should be the ASCII digit "6", hex byte 0x36.)
Now you need to merge the two files into one. Do that with the
pnmtopng command, like this:
Now you need to merge the two files into one. Do that with the pnmtopng
command, like this:
pnmtopng -force -compression 9 -alpha mask.pgm fg.ppm >
final-stamp.png

View file

@ -7,91 +7,97 @@
maí 5, 2023
----------------------------------------------------------------------
-------------------------------------------------------------------------------
Tux Paint understands a number of environment variables, either directly,
or indirectly by the libraries that it utilizes.
Tux Paint understands a number of environment variables, either directly, or
indirectly by the libraries that it utilizes.
Storage-related environment variables
HOME
Specifies the user's "home directory", which is used to locate
numerous other files or directories. In some cases, it is utilized
as part of a fall-back location, when other environment variables
(elsewhere in this documentation) are not set. Sometimes, the
location to use can be overridden by options provided on the
command-line or via Tux Paint's configuration file. See the
"OPTIONS" documentation for details.
Specifies the user's "home directory", which is used to locate numerous
other files or directories. In some cases, it is utilized as part of a
fall-back location, when other environment variables (elsewhere in this
documentation) are not set. Sometimes, the location to use can be
overridden by options provided on the command-line or via Tux Paint's
configuration file. See the "OPTIONS" documentation for details.
A few examples of where "$HOME" is used include:
* The location of Tux Paint's configuration file
* The basis of where Tux Paint saves and loads users' drawings
* The location of a user's private collection of data files —
stamps, brushes, etc. — (versus those available system wide)
+ The location of Tux Paint's configuration file
+ The basis of where Tux Paint saves and loads users' drawings
+ The location of a user's private collection of data files — stamps,
brushes, etc. — (versus those available system wide)
XDG_CONFIG_HOME
On Linux and other platforms where the X Desktop Group standards
are used, the location of the user's configuration files.
Specifically, where to find "user-dirs.dirs", where the
"XDG_PICTURES_DIR" might be defined. It is used for exporting
drawings and animated GIFs. Generally it's set to something like
"$HOME/Pictures/". If not specified, Tux Paint checks in the
directory "$HOME/.config/". If the configuration cannot be found,
Tux Paint simply exports drawings and GIFs to "$HOME".
On Linux and other platforms where the X Desktop Group standards are used,
the location of the user's configuration files. Specifically, where to find
"user-dirs.dirs", where the "XDG_PICTURES_DIR" might be defined. It is used
for exporting drawings and animated GIFs. Generally it's set to something
like "$HOME/Pictures/". If not specified, Tux Paint checks in the directory
"$HOME/.config/". If the configuration cannot be found, Tux Paint simply
exports drawings and GIFs to "$HOME".
XDG_DATA_HOME
On Linux and other platforms where the X Desktop Group standards
are used, the location of the user's data directories.
Specifically, where to find the "Trash" directory. It is used when
deleting images from Tux Paint's "Open" dialog. If not set, the
location "$HOME/.local/share/Trash/" is used, if available. If
not, images are simply deleted, rather than moved anywhere.
On Linux and other platforms where the X Desktop Group standards are used,
the location of the user's data directories. Specifically, where to find
the "Trash" directory. It is used when deleting images from Tux Paint's
"Open" dialog. If not set, the location "$HOME/.local/share/Trash/" is
used, if available. If not, images are simply deleted, rather than moved
anywhere.
TEMP
Specifies the location where temporary files may be created. Only
used by Tux Paint on Microsoft Windows OSes. Uses "userdata" if
not set.
Specifies the location where temporary files may be created. Only used by
Tux Paint on Microsoft Windows OSes. Uses "userdata" if not set.
Language-related environment variables
LANG
LANGUAGE
LC_ALL
LC_MESSAGES
Specify the language Tux Paint should utilize in its user
interface. Overridde by the "--lang" and "--locale" command-line
options or their configuration file counterparts. The "LANGUAGE"
environment variable is used, if set. If not, "LC_ALL" is used as
a fallback. Then "LC_MESSAGES", and finally "LANG".
Specify the language Tux Paint should utilize in its user interface.
Overridde by the "--lang" and "--locale" command-line options or their
configuration file counterparts. The "LANGUAGE" environment variable is
used, if set. If not, "LC_ALL" is used as a fallback. Then "LC_MESSAGES",
and finally "LANG".
Display-related environment variables
The following are a few of the environment variables supported by Simple
DirectMedia Layer (libSDL) — which Tux Paint utilizes for displaying
graphics, playing sounds, and receiving mouse, keyboard, and joystick
input — and which may be useful to users of Tux Paint.
DirectMedia Layer (libSDL) — which Tux Paint utilizes for displaying graphics,
playing sounds, and receiving mouse, keyboard, and joystick input — and which
may be useful to users of Tux Paint.
SDL_VIDEO_ALLOW_SCREENSAVER
Specifies whether Tux Paint should allow a screensaver to run. Can
be set to '1' (true) by Tux Paint itself by issuing the
command-line option "--allowscreensaver" or its configuration file
counterpart.
Specifies whether Tux Paint should allow a screensaver to run. Can be set
to '1' (true) by Tux Paint itself by issuing the command-line option
"--allowscreensaver" or its configuration file counterpart.
SDL_VIDEO_WINDOW_POS
Requests where to position Tux Paint's window, and can be used to
specify what display to place a fullscreen Tux Paint in a
multi-monitor configuration. If not set, or set to "nopref"
(meaning "no preference"), Simple DirectMedia Layer (libSDL)
decides. Can be set to an X,Y coordinate (e.g. 200,100), or
"center" (meaning "center").
Requests where to position Tux Paint's window, and can be used to specify
what display to place a fullscreen Tux Paint in a multi-monitor
configuration. If not set, or set to "nopref" (meaning "no preference"),
Simple DirectMedia Layer (libSDL) decides. Can be set to an X,Y coordinate
(e.g. 200,100), or "center" (meaning "center").

File diff suppressed because it is too large Load diff

View file

@ -6,8 +6,7 @@
júlí 13, 2023
----------------------------------------------------------------------
-------------------------------------------------------------------------------
+------------------------------+
| Table of Contents |
|------------------------------|
@ -20,549 +19,549 @@
| * Other Problems |
| * Help / Contact |
+------------------------------+
----------------------------------------------------------------------
-------------------------------------------------------------------------------
Drawing-related
Fonts I added to Tux Paint only show squares
The TrueType Font you're using might have the wrong encoding. If
it's 'custom' encoded, for example, you can try running it through
FontForge (http://fontforge.sourceforge.net/) to convert it to an
ISO-8859 format. (Email us if you need help with special fonts.)
The TrueType Font you're using might have the wrong encoding. If it's
'custom' encoded, for example, you can try running it through FontForge (
http://fontforge.sourceforge.net/) to convert it to an ISO-8859 format.
(Email us if you need help with special fonts.)
The Rubber Stamp tool is greyed out!
This means that Tux Paint either couldn't find any stamp images,
or was asked not to load them.
This means that Tux Paint either couldn't find any stamp images, or was
asked not to load them.
If you installed Tux Paint, but did not install the separate,
optional "Stamps" collection, quit Tux Paint and install it now.
It should be available from the same place you got the main Tux
Paint program. (Note: As of version 0.9.14, Tux Paint comes with a
small collection of example stamps.)
If you installed Tux Paint, but did not install the separate, optional
"Stamps" collection, quit Tux Paint and install it now. It should be
available from the same place you got the main Tux Paint program. (Note: As
of version 0.9.14, Tux Paint comes with a small collection of example
stamps.)
If you don't want to install the default collection of stamps, you
can just create your own. See the "Extending Tux Paint"
documentation for more on creating PNG and SVG image files, TXT
text description files, Ogg Vorbis, MP3 or WAV sound files, and
DAT text data files that make up stamps.
If you don't want to install the default collection of stamps, you can just
create your own. See the "Extending Tux Paint" documentation for more on
creating PNG and SVG image files, TXT text description files, Ogg Vorbis,
MP3 or WAV sound files, and DAT text data files that make up stamps.
Finally, if you installed stamps, and think they should be loading, check
to see that the "nostamps" option isn't being set. (Either via a
"--nostamps" option to Tux Paint's command line, or "nostamps=yes" in the
configuration file.)
Either change/remove the "nostamps" option, or you can override it with
"--stamps" on the command line or either "nostamps=no" or "stamps=yes" in a
configuration file.
Finally, if you installed stamps, and think they should be
loading, check to see that the "nostamps" option isn't being set.
(Either via a "--nostamps" option to Tux Paint's command line, or
"nostamps=yes" in the configuration file.)
Either change/remove the "nostamps" option, or you can override it
with "--stamps" on the command line or either "nostamps=no" or
"stamps=yes" in a configuration file.
Stamp outlines are always rectangles
Tux Paint was built with low-quality (but faster) stamp outlines.
To change this, you must rebuild Tux Paint from source. Be sure to
remove or comment out any line that says:
To change this, you must rebuild Tux Paint from source. Be sure to remove
or comment out any line that says:
#define LOW_QUALITY_STAMP_OUTLINE
in the "tuxpaint.c" file in the "src" directory.
----------------------------------------------------------------------
-------------------------------------------------------------------------------
Interface Problems
Stamp thumbnails in the Stamp Selector look bad
Tux Paint was probably compiled with the faster, lower quality
thumbnail code enabled. Run the command: "tuxpaint
--verbose-version" from a command line. If, amongst the other
output, you see the text: "Low Quality Thumbnails enabled", then
this is what's happening.
Tux Paint was probably compiled with the faster, lower quality thumbnail
code enabled. Run the command: "tuxpaint --verbose-version" from a command
line. If, amongst the other output, you see the text: "Low Quality
Thumbnails enabled", then this is what's happening.
To change this, you must rebuild Tux Paint from source. Be sure to
remove or comment out any line that says:
To change this, you must rebuild Tux Paint from source. Be sure to remove
or comment out any line that says:
#define LOW_QUALITY_THUMBNAILS
in the "tuxpaint.c" file in the "src" directory.
Pictures in the 'Open' dialog look bad
"Low Quality Thumbnails" is probably enabled. See: "Stamp
thumbnails in the Stamp Selector look bad", above.
"Low Quality Thumbnails" is probably enabled. See: "Stamp thumbnails in the
Stamp Selector look bad", above.
All of the text is in uppercase!
The "uppercase" option is on.
Either change/remove the "uppercase" option, or you can override
it with "--mixedcase" on the command line or either "uppercase=no"
or "mixedcase=yes" in a configuration file.
Either change/remove the "uppercase" option, or you can override it with
"--mixedcase" on the command line or either "uppercase=no" or "mixedcase=
yes" in a configuration file.
Tux Paint is in a different language
Make sure your locale setting is correct. See "Tux Paint won't
switch to my language", below.
Make sure your locale setting is correct. See "Tux Paint won't switch to my
language", below.
Tux Paint won't switch to my language
* Linux and Unix users: Make sure the locale is available
+ Linux and Unix users: Make sure the locale is available
Make sure the locale you want is available. Check your
"/etc/locale.gen" file. See the "Options Documentation" for
the locales Tux Paint uses (especially when using the
"--lang" option).
Make sure the locale you want is available. Check your "/etc/
locale.gen" file. See the "Options Documentation" for the locales Tux
Paint uses (especially when using the "--lang" option).
Note: Debian and derivative (e.g., Ubuntu) users can simply
run "dpkg-reconfigure locales" if the locales are managed by
"dpkg".
Note: Debian and derivative (e.g., Ubuntu) users can simply run
"dpkg-reconfigure locales" if the locales are managed by "dpkg".
* If you're using the "--lang" command-line option
+ If you're using the "--lang" command-line option
Try using the "--locale" command-line option, or your
operating system's locale settings (e.g., the "$LANG"
environment variable), and please e-mail us regarding your
trouble.
Try using the "--locale" command-line option, or your operating
system's locale settings (e.g., the "$LANG" environment variable), and
please e-mail us regarding your trouble.
* If you're using the "--locale" command-line option
+ If you're using the "--locale" command-line option
If this doesn't work, please e-mail us regarding your
trouble.
If this doesn't work, please e-mail us regarding your trouble.
* If you're trying to use your Operating System's locale
+ If you're trying to use your Operating System's locale
If this doesn't work, please e-mail us regarding your
trouble.
If this doesn't work, please e-mail us regarding your trouble.
* Make sure you have the necessary font
+ Make sure you have the necessary font
Some translations require their own font. Chinese and Korean,
for example, need Chinese and Korean TrueType Fonts installed
and placed in the proper location, respectively.
Some translations require their own font. Chinese and Korean, for
example, need Chinese and Korean TrueType Fonts installed and placed in
the proper location, respectively.
The appropriate fonts for such locales can be downloaded from
the Tux Paint website:
The appropriate fonts for such locales can be downloaded from the Tux
Paint website:
https://tuxpaint.org/download/fonts/
----------------------------------------------------------------------
-------------------------------------------------------------------------------
Printing
Tux Paint won't print, gives an error, or prints garbage (Unix/Linux)
Tux Paint prints by creating a PostScript rendition of the picture
and sending it to an external command. By default, this command is
the "lpr" printing tool.
Tux Paint prints by creating a PostScript rendition of the picture and
sending it to an external command. By default, this command is the "lpr"
printing tool.
If that program is not available (for example, you're using CUPS,
the Common Unix Printing System, and do not have "cups-lpr"
installed), you will need to specify an appropriate command using
the "printcommand" option in Tux Paint's configuration file. (See
the "Options Documentation".)
If that program is not available (for example, you're using CUPS, the
Common Unix Printing System, and do not have "cups-lpr" installed), you
will need to specify an appropriate command using the "printcommand" option
in Tux Paint's configuration file. (See the "Options Documentation".)
Note: Versions of Tux Paint prior to 0.9.15 used a different default
command for printing, "pngtopnm | pnmtops | lpr", as Tux Paint output PNG
format, rather than PostScript.
If you had changed your "printcommand" option prior to Tux Paint 0.9.15,
you will need to go back and alter it to accept PostScript.
Note: Versions of Tux Paint prior to 0.9.15 used a different
default command for printing, "pngtopnm | pnmtops | lpr", as Tux
Paint output PNG format, rather than PostScript.
If you had changed your "printcommand" option prior to Tux Paint
0.9.15, you will need to go back and alter it to accept
PostScript.
I get the message "You can't print yet!" when I go to print
The "print delay" option is on. You can only print once every X
seconds.
The "print delay" option is on. You can only print once every X seconds.
If you're running Tux Paint from a command-line, make sure you're
not giving it a "--printdelay=..." option.
If you're running Tux Paint from a command-line, make sure you're not
giving it a "--printdelay=..." option.
If you're running Tux Paint by double-clicking an icon, check the
properties of the icon to see if "--printdelay=..." is listed as a
command-line argument.
If a "--printdelay=..." option isn't being sent on the command
line, check Tux Paint's configuration file for a line reading:
"printdelay=...".
If a "--printdelay=..." option isn't being sent on the command line, check
Tux Paint's configuration file for a line reading: "printdelay=...".
Either remove that line, set the delay value to 0 (no delay), or
decrease the delay to a value you prefer. (See the "Options
Documentation".)
Either remove that line, set the delay value to 0 (no delay), or decrease
the delay to a value you prefer. (See the "Options Documentation".)
Or, you can simply run Tux Paint with the command-line argument:
"--printdelay=0", which will override the configuration file's
setting, and allow unlimited printing. (You won't have to wait
between prints.)
"--printdelay=0", which will override the configuration file's setting, and
allow unlimited printing. (You won't have to wait between prints.)
I simply can't print! The button is greyed out!
The "no print" option is on.
If you're running Tux Paint from a command-line, make sure you're
not giving it a "--noprint" option.
If you're running Tux Paint from a command-line, make sure you're not
giving it a "--noprint" option.
If you're running Tux Paint by double-clicking an icon, check the
properties of the icon to see if "--noprint" is listed as a
command-line argument.
properties of the icon to see if "--noprint" is listed as a command-line
argument.
If a "--noprint" option isn't being sent on the command line,
check Tux Paint's configuration file for a line reading:
"noprint=yes".
If a "--noprint" option isn't being sent on the command line, check Tux
Paint's configuration file for a line reading: "noprint=yes".
Either remove that line, or simply run Tux Paint with the
command-line argument: "--print", which will override the
configuration file's setting.
Either remove that line, or simply run Tux Paint with the command-line
argument: "--print", which will override the configuration file's setting.
Or use Tux Paint Config. and make sure "Allow Printing" (under
"Printing") is checked.
Or use Tux Paint Config. and make sure "Allow Printing" (under "Printing")
is checked.
----------------------------------------------------------------------
-------------------------------------------------------------------------------
Saving
Where does Tux Paint save my drawings?
Unless you asked Tux Paint to save into a specific location (using
the "savedir" option), Tux Paint saves into a standard location on
your local drive:
Unless you asked Tux Paint to save into a specific location (using the
"savedir" option), Tux Paint saves into a standard location on your local
drive:
Windows Vista, Windows 8, Windows 10, Windows 11
In the user's "AppData" folder:
e.g.,
C:\Users\Username\AppData\Roaming\TuxPaint\saved
e.g., C:\Users\Username\AppData\Roaming\TuxPaint\saved
macOS
In the user's "Application Support" folder:
e.g., /Users/Username/Library/Applicaton
Support/TuxPaint/saved/
e.g., /Users/Username/Library/Applicaton Support/TuxPaint/saved/
Linux / Unix
In the user's home directory ("$HOME"), under a
".tuxpaint" subfolder:
In the user's home directory ("$HOME"), under a ".tuxpaint" subfolder:
e.g., /home/username/.tuxpaint/saved/
The images are stored as PNG bitmaps, which most modern programs
should be able to load (image editors, word processors, web
browsers, etc.)
The images are stored as PNG bitmaps, which most modern programs should be
able to load (image editors, word processors, web browsers, etc.)
Tux Paint always saves over my old picture
The "save over" option is enabled. (This disables the prompt that
would appear when you click 'Save.')
The "save over" option is enabled. (This disables the prompt that would
appear when you click 'Save.')
If you're running Tux Paint from a command-line, make sure you're
not giving it a "--saveover" option.
If you're running Tux Paint from a command-line, make sure you're not
giving it a "--saveover" option.
If you're running Tux Paint by double-clicking an icon, check the
properties of the icon to see if "--saveover" is listed as a
command-line argument.
properties of the icon to see if "--saveover" is listed as a command-line
argument.
If a "--saveover" option isn't being sent on the command line,
check Tux Paint's configuration file for a line reading:
"saveover=yes".
If a "--saveover" option isn't being sent on the command line, check Tux
Paint's configuration file for a line reading: "saveover=yes".
Either remove that line, or simply run Tux Paint with the
command-line argument: "--saveoverask", which will override the
configuration file's setting.
Either remove that line, or simply run Tux Paint with the command-line
argument: "--saveoverask", which will override the configuration file's
setting.
Or use Tux Paint Config. and make sure "Ask Before Overwriting"
(under "Saving") is checked.
Or use Tux Paint Config. and make sure "Ask Before Overwriting" (under
"Saving") is checked.
Also, see "Tux Paint always saves a new picture!", below.
Tux Paint always saves a new picture!
The "never save over" option is enabled. (This disables the prompt
that would appear when you click 'Save.')
The "never save over" option is enabled. (This disables the prompt that
would appear when you click 'Save.')
If you're running Tux Paint from a command-line, make sure you're
not giving it a "--saveovernew" option.
If you're running Tux Paint from a command-line, make sure you're not
giving it a "--saveovernew" option.
If you're running Tux Paint by double-clicking an icon, check the
properties of the icon to see if "--saveovernew" is listed as a
command-line argument.
If a "--saveovernew" option isn't being sent on the command line,
check Tux Paint's configuration file for a line reading:
"saveover=new".
If a "--saveovernew" option isn't being sent on the command line, check Tux
Paint's configuration file for a line reading: "saveover=new".
Either remove that line, or simply run Tux Paint with the
command-line argument: "--saveoverask", which will override the
configuration file's setting.
Either remove that line, or simply run Tux Paint with the command-line
argument: "--saveoverask", which will override the configuration file's
setting.
Or use Tux Paint Config. and make sure "Ask Before Overwriting"
(under "Saving") is checked.
Or use Tux Paint Config. and make sure "Ask Before Overwriting" (under
"Saving") is checked.
Also, see "Tux Paint always saves over my old picture!", above.
----------------------------------------------------------------------
-------------------------------------------------------------------------------
Audio Problems
There's no sound!
* First, check the obvious:
* Are your speakers connected and turned on?
* Is the volume turned up on your speakers?
* Is the volume turned up in your Operating System's
"mixer?"
* Are you certain you're using a computer with a sound
card?
* Are any other programs running that use sound? (They may
be 'blocking' Tux Paint from accessing your sound
device)
* (Unix/Linux) Are you using a sound system, such as aRts,
ESD or GStreamer? If so, try setting the
"SDL_AUDIODRIVER" environment variable before running
Tux Paint (e.g., "export SDL_AUDIODRIVER=arts"). Or, run
Tux Paint through the system's rerouter (e.g., run
"artsdsp tuxpaint" or "esddsp tuxpaint", instead of
simply "tuxpaint").
* Is sound disabled in Tux Paint?
+ First, check the obvious:
o Are your speakers connected and turned on?
o Is the volume turned up on your speakers?
o Is the volume turned up in your Operating System's "mixer?"
o Are you certain you're using a computer with a sound card?
o Are any other programs running that use sound? (They may be
'blocking' Tux Paint from accessing your sound device)
o (Unix/Linux) Are you using a sound system, such as aRts, ESD or
GStreamer? If so, try setting the "SDL_AUDIODRIVER" environment
variable before running Tux Paint (e.g., "export SDL_AUDIODRIVER=
arts"). Or, run Tux Paint through the system's rerouter (e.g., run
"artsdsp tuxpaint" or "esddsp tuxpaint", instead of simply
"tuxpaint").
+ Is sound disabled in Tux Paint?
If sound seems to work otherwise (and you're sure no other
program is "blocking" the sound device), then Tux Paint may
be running with a "no sound" option.
If sound seems to work otherwise (and you're sure no other program is
"blocking" the sound device), then Tux Paint may be running with a "no
sound" option.
If you're running Tux Paint from a command-line, make sure
you're not giving it a "--nosound" option.
If you're running Tux Paint from a command-line, make sure you're not
giving it a "--nosound" option.
If you're running Tux Paint by double-clicking an icon, check
the properties of the icon to see if "--nosound" is listed as
a command-line argument.
If you're running Tux Paint by double-clicking an icon, check the
properties of the icon to see if "--nosound" is listed as a
command-line argument.
If a "--nosound" option isn't being sent on the command line,
check Tux Paint's configuration file for a line reading:
"nosound=yes".
If a "--nosound" option isn't being sent on the command line, check Tux
Paint's configuration file for a line reading: "nosound=yes".
Either remove that line, or simply run Tux Paint with the
command-line argument: "--sound", which will override the
configuration file's setting.
Either remove that line, or simply run Tux Paint with the command-line
argument: "--sound", which will override the configuration file's
setting.
Or, you can simply run Tux Paint with the command-line
argument: "Enable Sound Effects", which will override the
configuration file's setting, and allow unlimited printing.
(You won't have to wait between prints.)
Or, you can simply run Tux Paint with the command-line argument:
"Enable Sound Effects", which will override the configuration file's
setting, and allow unlimited printing. (You won't have to wait between
prints.)
* Were sounds temporarily disabled?
+ Were sounds temporarily disabled?
Even if sounds are enabled in Tux Paint, it is possible to
disable and re-enable them temporarily using the [Alt] + [S]
key sequence. Try pressing those keys to see if sounds begin
working again.
Even if sounds are enabled in Tux Paint, it is possible to disable and
re-enable them temporarily using the [Alt] + [S] key sequence. Try
pressing those keys to see if sounds begin working again.
* Was Tux Paint built without sound support?
+ Was Tux Paint built without sound support?
Tux Paint may have been compiled with sound support disabled.
To test whether sound support was enabled when Tux Paint was
compiled, run Tux Paint from a command line, like so:
Tux Paint may have been compiled with sound support disabled. To test
whether sound support was enabled when Tux Paint was compiled, run Tux
Paint from a command line, like so:
tuxpaint --verbose-version
If, amongst the other information, you see "Sound disabled",
then the version of Tux Paint you're running has sound
disabled. Recompile Tux Paint, and be sure NOT to build the
"nosound" target. (i.e., don't run "make nosound") Be sure
the SDL_mixer library and its development headers are
available!
If, amongst the other information, you see "Sound disabled", then the
version of Tux Paint you're running has sound disabled. Recompile Tux
Paint, and be sure NOT to build the "nosound" target. (i.e., don't run
"make nosound") Be sure the SDL_mixer library and its development
headers are available!
Tux Paint makes too much noise! Can I turn them off?
Yes, there are a number of ways to disable sounds in Tux Paint:
* Press [Alt] + [S] while in Tux Paint to temporarily disable
sounds. (Press that key sequence again to re-enable sounds.)
* Run Tux Paint with the "no sound" option:
* Run "tuxpaint --nosound" from the command line or
shortcut or desktop icon.
* Edit Tux Paint's configuration file (see "Options
Documentation" for details) and add a line containing
"nosound=yes".
* Or use Tux Paint Config. and make sure "Enable Sound
Effects" (under "Video & Sound") is not checked.
* Alternatively, recompile Tux Paint with sound support
disabled. (See above, and the 'Install' documentation.
+ Press [Alt] + [S] while in Tux Paint to temporarily disable sounds.
(Press that key sequence again to re-enable sounds.)
+ Run Tux Paint with the "no sound" option:
o Run "tuxpaint --nosound" from the command line or shortcut or
desktop icon.
o Edit Tux Paint's configuration file (see "Options Documentation"
for details) and add a line containing "nosound=yes".
o Or use Tux Paint Config. and make sure "Enable Sound Effects"
(under "Video & Sound") is not checked.
o Alternatively, recompile Tux Paint with sound support disabled.
(See above, and the 'Install' documentation.
The stereo panning of sound effects is bothersome; can sound effects be
monophonic?
Run Tux Paint with the "no stereo" option:
* Run "tuxpaint --nostereo" from the command line or shortcut
or desktop icon.
* Edit Tux Paint's configuration file (see "Options
Documentation" for details) and add a line containing
"nostereo=yes".
* Or use Tux Paint Config. and make sure "Enable Stereo
Effects" (under "Video & Sound") is not checked.
+ Run "tuxpaint --nostereo" from the command line or shortcut or desktop
icon.
+ Edit Tux Paint's configuration file (see "Options Documentation" for
details) and add a line containing "nostereo=yes".
+ Or use Tux Paint Config. and make sure "Enable Stereo Effects" (under
"Video & Sound") is not checked.
The sound effects sound strange
This could have to do with how SDL and SDL_mixer were initialized.
(The buffer size chosen.)
This could have to do with how SDL and SDL_mixer were initialized. (The
buffer size chosen.)
Please e-mail us with details about your computer system.
(Operating system and version, sound card, which version of Tux
Paint you're running (run "tuxpaint --version" to verify), and so
on.)
Please e-mail us with details about your computer system. (Operating system
and version, sound card, which version of Tux Paint you're running (run
"tuxpaint --version" to verify), and so on.)
----------------------------------------------------------------------
-------------------------------------------------------------------------------
Fullscreen Mode Problems
When I run Tux Paint full-screen and [Alt] + [Tab] out, the window turns
black!
When I run Tux Paint full-screen and [Alt] + [Tab] out, the window turns black!
This is apparently a bug in the SDL library. Sorry.
When I run Tux Paint full-screen, it has large borders around it
Linux users - Your X-Window server is probably not set with the
ability to switch to the desired resolution: 800×600. (or whatever
resolution you have Tux Paint set to run at.) (This is typically
done manually under the X-Window server by pressing [Control] +
[Alt] + [Keypad Plus (+)] and [Control] + [Alt] + [Keypad Minus
(-)].)
Linux users - Your X-Window server is probably not set with the ability to
switch to the desired resolution: 800×600. (or whatever resolution you have
Tux Paint set to run at.) (This is typically done manually under the
X-Window server by pressing [Control] + [Alt] + [Keypad Plus (+)] and
[Control] + [Alt] + [Keypad Minus (-)].)
For this to work, your monitor must support that resolution, and
you need to have it listed in your X server configuration.
For this to work, your monitor must support that resolution, and you need
to have it listed in your X server configuration.
Check the "Display" subsection of the "Screen" section of your
XFree86 or X.org configuration file (typically
"/etc/X11/XF86Config-4" or "/etc/X11/XF86Config", depending on the
version of XFree86 you're using; 3.x or 4.x, respectively, or
"/etc/X11/xorg.conf" for X.org).
Check the "Display" subsection of the "Screen" section of your XFree86 or
X.org configuration file (typically "/etc/X11/XF86Config-4" or "/etc/X11/
XF86Config", depending on the version of XFree86 you're using; 3.x or 4.x,
respectively, or "/etc/X11/xorg.conf" for X.org).
Add "800x600" (or whatever resolution(s) you want) to the
appropriate "Modes" line. (e.g., in the "Display" subsection that
contains 24-bit color depth ("Depth 24"), which is what Tux Paint
tries to use.)
Add "800x600" (or whatever resolution(s) you want) to the appropriate
"Modes" line. (e.g., in the "Display" subsection that contains 24-bit color
depth ("Depth 24"), which is what Tux Paint tries to use.)
Modes "1280x1024" "1024x768" "800x600" "640x480"
Note that some Linux distributions have tools that can make these
changes for you. Debian users can run the command
"dpkg-reconfigure xserver-xfree86" as root, for example.
Note that some Linux distributions have tools that can make these changes
for you. Debian users can run the command "dpkg-reconfigure
xserver-xfree86" as root, for example.
Tux Paint keeps running in Full Screen mode - I want it windowed!
The "fullscreen" option is set.
If you're running Tux Paint from a command-line, make sure you're
not giving it a "--fullscreen" option.
If you're running Tux Paint from a command-line, make sure you're not
giving it a "--fullscreen" option.
If you're running Tux Paint by double-clicking an icon, check the
properties of the icon to see if "--fullscreen" is listed as a
command-line argument.
properties of the icon to see if "--fullscreen" is listed as a command-line
argument.
If a "--fullscreen" option isn't being sent on the command line,
check Tux Paint's configuration file for a line reading:
"fullscreen=yes".
If a "--fullscreen" option isn't being sent on the command line, check Tux
Paint's configuration file for a line reading: "fullscreen=yes".
Either remove that line, or simply run Tux Paint with the
command-line argument: "--windowed", which will override the
configuration file's setting.
Either remove that line, or simply run Tux Paint with the command-line
argument: "--windowed", which will override the configuration file's
setting.
Or use Tux Paint Config. and make sure "Fullscreen" (under "Video
& Sound") is not checked.
Or use Tux Paint Config. and make sure "Fullscreen" (under "Video & Sound")
is not checked.
----------------------------------------------------------------------
-------------------------------------------------------------------------------
Other Problems
Tux Paint won't run
If Tux Paint aborts with the message: "You're already running a
copy of Tux Paint!", this means it has been launched in the last
30 seconds. (On Unix/Linux, this message would appear in a
terminal console if you ran Tux Paint from a command-line. On
Windows, this message would appear in a file named "stdout.txt" in
the same folder where TuxPaint.exe resides (e.g., in "C:\Program
Files\TuxPaint").
If Tux Paint aborts with the message: "You're already running a copy of Tux
Paint!", this means it has been launched in the last 30 seconds. (On Unix/
Linux, this message would appear in a terminal console if you ran Tux Paint
from a command-line. On Windows, this message would appear in a file named
"stdout.txt" in the same folder where TuxPaint.exe resides (e.g., in "C:\
Program Files\TuxPaint").
A lockfile ("~/.tuxpaint/lockfile.dat" on Linux and Unix,
"userdata\lockfile.dat" on Windows) is used to make sure Tux Paint
isn't run too many times at once (e.g., due to a child impatiently
clicking its icon more than once).
A lockfile ("~/.tuxpaint/lockfile.dat" on Linux and Unix, "userdata\
lockfile.dat" on Windows) is used to make sure Tux Paint isn't run too many
times at once (e.g., due to a child impatiently clicking its icon more than
once).
Even if the lockfile exists, it contains the 'time' Tux Paint was
last run. If it's been more than 30 seconds, Tux Paint should run
fine, and simply update the lockfile with the current time.
Even if the lockfile exists, it contains the 'time' Tux Paint was last run.
If it's been more than 30 seconds, Tux Paint should run fine, and simply
update the lockfile with the current time.
If multiple users are sharing the directory where this file is stored
(e.g., on a shared network drive), then you'll need to disable this
feature.
To disable the lockfile, add the "--nolockfile" argument to Tux Paint's
command-line, or "nolockfile=yes" to the configuration file.
If multiple users are sharing the directory where this file is
stored (e.g., on a shared network drive), then you'll need to
disable this feature.
To disable the lockfile, add the "--nolockfile" argument to Tux
Paint's command-line, or "nolockfile=yes" to the configuration
file.
I can't quit Tux Paint
The "no quit" option is set. This disables the "Quit" button in
Tux Paint's toolbar (greying it out), and prevents Tux Paint from
being exited via the [Escape] key.
The "no quit" option is set. This disables the "Quit" button in Tux Paint's
toolbar (greying it out), and prevents Tux Paint from being exited via the
[Escape] key.
If Tux Paint is not in fullscreen mode, simply click the window
close button on Tux Paint's title bar. (i.e., the "ⓧ" at the upper
right.)
If Tux Paint is not in fullscreen mode, simply click the window close
button on Tux Paint's title bar. (i.e., the "ⓧ" at the upper right.)
If Tux Paint is in fullscreen mode, you will need to use the [Shift] +
[Control] + [Escape] sequence on the keyboard to quit Tux Paint.
(Note: with or without "no quit" set, you can always use the [Alt] + [F4]
combination on your keyboard to quit Tux Paint.)
If Tux Paint is in fullscreen mode, you will need to use the
[Shift] + [Control] + [Escape] sequence on the keyboard to quit
Tux Paint.
(Note: with or without "no quit" set, you can always use the [Alt]
+ [F4] combination on your keyboard to quit Tux Paint.)
I don't want "no quit" mode enabled!
If you're running Tux Paint from a command-line, make sure you're
not giving it a "--noquit" option.
If you're running Tux Paint from a command-line, make sure you're not
giving it a "--noquit" option.
If you're running Tux Paint by double-clicking an icon, check the
properties of the icon to see if "--noquit" is listed as a
command-line argument.
properties of the icon to see if "--noquit" is listed as a command-line
argument.
If a "--noquit" option isn't being sent on the command line, check
Tux Paint's configuration file for a line reading: "noquit=yes".
If a "--noquit" option isn't being sent on the command line, check Tux
Paint's configuration file for a line reading: "noquit=yes".
Either remove that line, or simply run Tux Paint with the command-line
argument: "--quit", which will override the configuration file's setting.
Or use Tux Paint Config. and make sure "Disable Quit Button and [Escape]
Key" (under "Simplification") is not checked.
Either remove that line, or simply run Tux Paint with the
command-line argument: "--quit", which will override the
configuration file's setting.
Or use Tux Paint Config. and make sure "Disable Quit Button and
[Escape] Key" (under "Simplification") is not checked.
Tux Paint keeps writing weird messages to the screen / to a text file
A few messages are normal, but if Tux Paint is being extremely
verbose (like listing the name of every rubber-stamp image it
finds while loading them), then it was probably compiled with
debugging output turned on.
A few messages are normal, but if Tux Paint is being extremely verbose
(like listing the name of every rubber-stamp image it finds while loading
them), then it was probably compiled with debugging output turned on.
To change this, you must rebuild Tux Paint from source. Be sure to
remove or comment out any line that says:
To change this, you must rebuild Tux Paint from source. Be sure to remove
or comment out any line that says:
#define DEBUG
in the "tuxpaint.c" file in the "src" directory.
Tux Paint is using options I didn't specify!
By default, Tux Paint first looks at configuration files for
options.
By default, Tux Paint first looks at configuration files for options.
* Windows
+ Windows
Under Windows, Tux Paint first examines the configuration
file:
Under Windows, Tux Paint first examines the configuration file:
tuxpaint.cfg
Finally, any options sent as command-line arguments are used.
* macOS
+ macOS
* Unix and Linux
+ Unix and Linux
Under Unix and Linux, it first examines the system-wide
configuration file, located here:
Under Unix and Linux, it first examines the system-wide configuration
file, located here:
/etc/tuxpaint/tuxpaint.conf
@ -572,19 +571,19 @@ Other Problems
Finally, any options sent as command-line arguments are used.
* Haiku
+ Haiku
This means that if anything is set in a configuration file that
you don't want set, you'll need to either change the config. file
(if you can), or override the option on the command-line.
This means that if anything is set in a configuration file that you don't
want set, you'll need to either change the config. file (if you can), or
override the option on the command-line.
For example, on Linux and Unix, if "/etc/tuxpaint/tuxpaint.conf"
includes this option to disable sound...
For example, on Linux and Unix, if "/etc/tuxpaint/tuxpaint.conf" includes
this option to disable sound...
nosound=yes
...then you can reenable sound by either adding this option to
your own ".tuxpaintrc" file:
...then you can reenable sound by either adding this option to your own
".tuxpaintrc" file:
sound=yes
@ -592,24 +591,27 @@ Other Problems
--sound
Linux and Unix users can also disable the system-wide
configuration file by including the following command-line
argument:
Linux and Unix users can also disable the system-wide configuration file by
including the following command-line argument:
--nosysconfig
Tux Paint will then only look at "~/.tuxpaintrc" and command-line
arguments to determine what options should be set.
Tux Paint will then only look at "~/.tuxpaintrc" and command-line arguments
to determine what options should be set.
----------------------------------------------------------------------
-------------------------------------------------------------------------------
Help / Contact
Any questions you don't see answered? Please let us know! You can
subscribe and post to our "tuxpaint-users" mailing list:
Any questions you don't see answered? Please let us know! You can subscribe and
post to our "tuxpaint-users" mailing list:
https://tuxpaint.org/lists/
Or, contact lead developer Bill Kendrick directly:
bill@newbreedsoftware.com

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -10,79 +10,83 @@
About PNGs
PNG is the Portable Network Graphic format. It is an open standard, not
burdened by patents (like GIFs). It is a highly compressed format (though
not "lossy" like JPEGs - lossiness allows files to be much smaller, but
introduces 'mistakes' in the image when saved), and supports 24-bit color
(16.7 million colors) as well as a full "alpha channel" - that is, each
pixel can have a varying degree of transparency.
burdened by patents (like GIFs). It is a highly compressed format (though not
"lossy" like JPEGs - lossiness allows files to be much smaller, but introduces
'mistakes' in the image when saved), and supports 24-bit color (16.7 million
colors) as well as a full "alpha channel" - that is, each pixel can have a
varying degree of transparency.
For more information, visit: http://www.libpng.org/
These features (openness, losslessness, compression, transparency/alpha)
make it the best choice for Tux Paint. (Tux Paint's support for the PNG
format comes from the Open Source SDL_Image library, which in turn gets it
from the libPNG library.)
These features (openness, losslessness, compression, transparency/alpha) make
it the best choice for Tux Paint. (Tux Paint's support for the PNG format comes
from the Open Source SDL_Image library, which in turn gets it from the libPNG
library.)
Support for many colors allows photo-quality "rubber stamp" images to be
used in Tux Paint, and alpha transparency allows for high-quality brushes.
Support for many colors allows photo-quality "rubber stamp" images to be used
in Tux Paint, and alpha transparency allows for high-quality brushes.
How To Make PNGs
The following is a very brief list of ways to create PNGs or convert
existing images into PNGs.
The following is a very brief list of ways to create PNGs or convert existing
images into PNGs.
GIMP & Krita
Excellent tools with which to create PNG images for use in Tux
Paint are GIMP and Krita, both high-quality Open Source
interactive drawing and photo editing programs.
Excellent tools with which to create PNG images for use in Tux Paint are
GIMP and Krita, both high-quality Open Source interactive drawing and photo
editing programs.
It is likely that one or both are already installed on your system. If not,
they should be readily available from your Linux distribution's software
repository. If not, or to learn more, visit http://www.gimp.org/ and http:/
/www.krita.org/, respectively.
It is likely that one or both are already installed on your
system. If not, they should be readily available from your Linux
distribution's software repository. If not, or to learn more,
visit http://www.gimp.org/ and http://www.krita.org/,
respectively.
Command-line Tools
NetPBM
The Portable Bitmap tools (collectively known as
"NetPBM") is a collection of Open Source command-line
tools which convert to and from various formats,
including GIF, TIFF, BMP, PNG, and many more.
The Portable Bitmap tools (collectively known as "NetPBM") is a
collection of Open Source command-line tools which convert to and from
various formats, including GIF, TIFF, BMP, PNG, and many more.
It is possible that it's already installed on your system. If not, they
it be readily available from your Linux distribution's software
repository. If not, or to learn more, visit http://
netpbm.sourceforge.net/.
It is possible that it's already installed on your
system. If not, they it be readily available from
your Linux distribution's software repository. If
not, or to learn more, visit
http://netpbm.sourceforge.net/.
cjpeg/djpeg
The "cjpeg" and "djpeg" command-line programs convert
between the NetPBM Portable Any Map (PNM) format and
JPEGs. It is possible that it's already installed on
your system. If not, they it be readily available
from your Linux distribution's software repository.
If not, or to learn more, visit
https://jpegclub.org/.
The "cjpeg" and "djpeg" command-line programs convert between the
NetPBM Portable Any Map (PNM) format and JPEGs. It is possible that
it's already installed on your system. If not, they it be readily
available from your Linux distribution's software repository. If not,
or to learn more, visit https://jpegclub.org/.
Proprietary Software for Windows
* CorelDRAW (Corel) — http://www.corel.com/
* Illustrator (Adobe) —
http://www.adobe.com/products/illustrator.html
* Paint Shop Pro (Corel) — https://www.paintshoppro.com/
* Photoshop (Adobe) —
http://www.adobe.com/products/photoshop.html
* PIXresizer (Bluefive software) —
http://bluefive.pair.com/pixresizer.htm
+ CorelDRAW (Corel) — http://www.corel.com/
+ Illustrator (Adobe) — http://www.adobe.com/products/illustrator.html
+ Paint Shop Pro (Corel) — https://www.paintshoppro.com/
+ Photoshop (Adobe) — http://www.adobe.com/products/photoshop.html
+ PIXresizer (Bluefive software) — http://bluefive.pair.com/
pixresizer.htm
Macintosh Users
* CorelDRAW (Corel) — http://www.corel.com/
* GraphicConverter (Lemke Software) —
https://www.lemkesoft.de/mac-fotobearbeitung-mac-diashow-mac-grafikprogramm-mac-bildbetrachter/
* Illustrator (Adobe) —
http://www.adobe.com/products/illustrator.html
* Photoshop (Adobe) —
http://www.adobe.com/products/photoshop.html
+ CorelDRAW (Corel) — http://www.corel.com/
+ GraphicConverter (Lemke Software) — https://www.lemkesoft.de/
mac-fotobearbeitung-mac-diashow-mac-grafikprogramm-mac-bildbetrachter/
+ Illustrator (Adobe) — http://www.adobe.com/products/illustrator.html
+ Photoshop (Adobe) — http://www.adobe.com/products/photoshop.html

File diff suppressed because it is too large Load diff

View file

@ -7,47 +7,51 @@
júní 4, 2022
Tux Paint responds to the following signals (which can be sent to the
program's process via `kill` or `killall`, for example).
Tux Paint responds to the following signals (which can be sent to the program's
process via `kill` or `killall`, for example).
SIGTERM (also, [Control] + [C] from a terminal running `tuxpaint`)
Tux Paint responds as if the "Quit" button were pressed, or the
desktop environment was told to close Tux Paint (e.g., by clicking
a window close button, or pressing [Alt] + [F4] on most systems).
Tux Paint responds as if the "Quit" button were pressed, or the desktop
environment was told to close Tux Paint (e.g., by clicking a window close
button, or pressing [Alt] + [F4] on most systems).
From the main interface, Tux Paint will prompt whether or not you
wish to quit, and (unless overridden by the auto-save option, e.g.
"--autosave") if you'd like to save the current drawing (if
unsaved), and if so, and it's a modified version of an existing
drawing (unless overridden by the options to save over old images,
or always save new images; e.g. "--saveover" and "--saveovernew",
respectively), whether or not to overwrite the existing drawing,
or save to a new file.
From the main interface, Tux Paint will prompt whether or not you wish to
quit, and (unless overridden by the auto-save option, e.g. "--autosave") if
you'd like to save the current drawing (if unsaved), and if so, and it's a
modified version of an existing drawing (unless overridden by the options
to save over old images, or always save new images; e.g. "--saveover" and
"--saveovernew", respectively), whether or not to overwrite the existing
drawing, or save to a new file.
Example: killall tuxpaint
💡 Note: From other parts of the interface, the signal is currently
interpreted as a request to go back (e.g., from the "New" dialog
back to the main interface), as if a "Back" button in Tux Paint
were clicked, or the [Esc] was key pressed.
interpreted as a request to go back (e.g., from the "New" dialog back to
the main interface), as if a "Back" button in Tux Paint were clicked, or
the [Esc] was key pressed.
SIGUSR1 & SIGUSR2
Tux Paint responds by setting its auto-save option (as if it had
been launched with "--autosave"), as well as either the option to
always save new images (as if launched with "--saveovernew") in
the case of receiving a SIGUSR1 signal, or to always save over the
existing image (as if launched with "--saveover") in the case of
receiving SIGUSR2. Then Tux Paint sends itself a SIGTERM signal,
in an attempt to quit. (See above.)
Tux Paint responds by setting its auto-save option (as if it had been
launched with "--autosave"), as well as either the option to always save
new images (as if launched with "--saveovernew") in the case of receiving a
SIGUSR1 signal, or to always save over the existing image (as if launched
with "--saveover") in the case of receiving SIGUSR2. Then Tux Paint sends
itself a SIGTERM signal, in an attempt to quit. (See above.)
So, from the main interface, Tux Paint should quit almost
immediately, with no questions asked.
So, from the main interface, Tux Paint should quit almost immediately, with
no questions asked.
Example: killall -s SIGUSR1 tuxpaint
💡 Note: From other parts of the interface, unfortunately, Tux
Paint will go back one level in the interface. Therefore, at this
time, it may be necessary to send this signal to Tux Paint a few
times, for it to quit completely.
💡 Note: From other parts of the interface, unfortunately, Tux Paint will go
back one level in the interface. Therefore, at this time, it may be
necessary to send this signal to Tux Paint a few times, for it to quit
completely.

View file

@ -10,27 +10,28 @@
About SVGs
SVG (Scalable Vector Graphics) is an open standard used to describe
two-dimensional vector graphics. It is great for diagrams and shapes,
while PNGs are better for photographs. SVG files are a bit like
instructions on how to make an image. This means that they can be resized
without looking pixelated or blocky.
two-dimensional vector graphics. It is great for diagrams and shapes, while
PNGs are better for photographs. SVG files are a bit like instructions on how
to make an image. This means that they can be resized without looking pixelated
or blocky.
For more information, visit: https://www.w3.org/Graphics/SVG/
How to make SVGs
An excellent tool with which to create SVG images for use in Tux Paint is
Inkscape, a high-quality Open Source interactive drawing program available
for Windows, macOS, and Linux. There are also other applications that can
produce SVGs, both free/open source, and commerical/proprietary.
Inkscape, a high-quality Open Source interactive drawing program available for
Windows, macOS, and Linux. There are also other applications that can produce
SVGs, both free/open source, and commerical/proprietary.
Open Source
* Inkscape — http://www.inkscape.org/
* Karbon — https://calligra.org/karbon/
+ Inkscape — http://www.inkscape.org/
+ Karbon — https://calligra.org/karbon/
Proprietary
* CorelDRAW (Corel) — https://www.coreldraw.com/en/
* Illustrator (Adobe) —
http://www.adobe.com/products/illustrator.html
* Boxy SVG — https://boxy-svg.com/
* Sketch (Sketch B.V.) — https://boxy-svg.com/
+ CorelDRAW (Corel) — https://www.coreldraw.com/en/
+ Illustrator (Adobe) — http://www.adobe.com/products/illustrator.html
+ Boxy SVG — https://boxy-svg.com/
+ Sketch (Sketch B.V.) — https://boxy-svg.com/

View file

@ -14,18 +14,18 @@ Tools (Drawing)
* Change categories with the arrow buttons ⇦⇨ near the bottom right.
* Choose a stamp on the right.
* Some stamps may be mirrored 🪞, and/or flipped ↕, using controls near
the bottom right.
* Some stamps may be mirrored 🪞, and/or flipped ↕, using controls near the
bottom right.
* Some stamps allow you to choose their color (see "Colors").
* Change stamp size with the bars 📶 at the bottom right.
* Rotation ⟳ may be enabled, if desired.
* Click/tap in the canvas to place a stamp.
* If rotation is enabled, drag to rotate it, and click/tap again to
add it to the drawing.
+ If rotation is enabled, drag to rotate it, and click/tap again to add
it to the drawing.
* Some stamps play sound effects; press the speaker 🕪 button to hear it
again.
* Some stamps play descriptive sounds; press the headphones 🎧 button to
hear it again.
* Some stamps play descriptive sounds; press the headphones 🎧 button to hear
it again.
⚟Lines
@ -35,71 +35,68 @@ Tools (Drawing)
⭓Shapes
* Choose a shape on the right.
* Select whether you want to extend the shape from the center ⧈, or a
corner ◰, using controls at the bottom right.
* Select whether you want to extend the shape from the center ⧈, or a corner
◰, using controls at the bottom right.
* Click/tap to position, and drag to set the size of the shape.
* Drag to rotate it, and click/tap again to add it to the drawing.
🄰Text
* Choose a font on the right.
* Select whether you want the text bold 𝗔 and/or italic 𝘈, using
controls near the bottom right.
* Select whether you want the text bold 𝗔 and/or italic 𝘈, using controls
near the bottom right.
* Change text size using the up 🡁 and down 🡃 arrow buttons at the bottom
right.
* Choose a color (see "Colors").
* Click/tap the canvas to position an insertion cursor.
* Enter text via your keyboard or the on-screen keyboard.
* Click/tap the canvas again if you wish to reposition the text.
* Press [Enter]/[Return] or click/tap ⮨ to add the text to the drawing
and begin entering more text one line down.
* Press [Enter]/[Return] or click/tap ⮨ to add the text to the drawing and
begin entering more text one line down.
* Or, press [Tab] or click/tap or ⟷ to add the text to the drawing and
continue entering more text immediately to the right.
* Using the on-screen keyboard:
* "Cmp" can be used to compose characters, e.g. Cmp ' a results in
á.
* "AltGr" can be used to quickly access more characters.
* Left/Right arrows switches keyboard layouts (e.g., "QWERTY" vs.
"ABC")
+ "Cmp" can be used to compose characters, e.g. Cmp ' a results in á.
+ "AltGr" can be used to quickly access more characters.
+ Left/Right arrows switches keyboard layouts (e.g., "QWERTY" vs. "ABC")
🅰Label
* (See Text)
* Labels float 'above' the drawing; you cannot paint or stamp over them,
apply Magic effects, etc.
* Labels may be edited, repositioned, and styled after they've been
added to the drawing.
* Click/tap the ☝ button near the lower right to choose a label.
Click/tap the label you wish to modify, then click/tap somewhere else
in the canvas to reposition, or change the font/style, change color,
and/or type to edit the text.
* Or, use the 🖑 button near the lower right to "flatten" a label,
applying it to the canvas; it may no longer be edited with the Label
tool.
* Labels may be edited, repositioned, and styled after they've been added to
the drawing.
* Click/tap the ☝ button near the lower right to choose a label. Click/tap
the label you wish to modify, then click/tap somewhere else in the canvas
to reposition, or change the font/style, change color, and/or type to edit
the text.
* Or, use the 🖑 button near the lower right to "flatten" a label, applying it
to the canvas; it may no longer be edited with the Label tool.
🪣Fill
* Choose a fill mode on the right.
* Choose a color (see "Colors").
* Click/tap (and drag, with Brush and Linear modes) to fill an area of
the picture with a color.
* Solid - Flood-fills an area with a solid color
* Brush - Paints with a solid color, without drawing outside the
chosen area
* Linear - Fills the area with a linear gradient (drag to choose
angle and gradient)
* Radial - Fills the area with a radial gradient, centered where
you clicked/tapped
* Shaped - Fills the area with a gradient that follows the contours
of the area being filled
* Click/tap (and drag, with Brush and Linear modes) to fill an area of the
picture with a color.
+ Solid - Flood-fills an area with a solid color
+ Brush - Paints with a solid color, without drawing outside the chosen
area
+ Linear - Fills the area with a linear gradient (drag to choose angle
and gradient)
+ Radial - Fills the area with a radial gradient, centered where you
clicked/tapped
+ Shaped - Fills the area with a gradient that follows the contours of
the area being filled
🪄Magic
* Choose a magic tool on the right.
* Change categories with the arrow buttons ⇦⇨ near the bottom right.
* Some magic tools draw or apply effects via click/tap and drag 〰🪄, some
affect the entire drawing 🖻🪄, and some offer both options; use the
controls at the bottom right.
affect the entire drawing 🖻🪄, and some offer both options; use the controls
at the bottom right.
* Some magic tools offer various sizes; change it with the bars 📶 at the
bottom right.
* Some magic tools allow you to choose their color.
@ -117,8 +114,8 @@ Tools (Drawing)
◪Eraser
* Choose the size and shape of the eraser on the right.
* Click/tap and drag to erase parts of the picture (solid color, or
starter or template image).
* Click/tap and drag to erase parts of the picture (solid color, or starter
or template image).
* Shortcut: [X] and click/tap in the drawing (not always available)
Tools (Controls)
@ -126,11 +123,10 @@ Tools (Controls)
🗏New
* Choose a solid color, starter, or template image to start with.
* Starters allow drawing "under" a picture (e.g., a coloring book
+ Starters allow drawing "under" a picture (e.g., a coloring book
outline), sometimes with a background layer, too.
* Templates are pictures to start with (background only).
* Eraser tool ◪ reveals the solid color, or starter/template
background.
+ Templates are pictures to start with (background only).
+ Eraser tool ◪ reveals the solid color, or starter/template background.
* Click/tap "🕮⮫Open" to begin a new drawing.
* Click/tap "⤺Back" to abort and return to your current drawing.
* Shortcut: [Ctrl]+[N]
@ -141,32 +137,31 @@ Tools (Controls)
* Click/tap "🕮⮫Open" to open the saved drawing and continue editing it.
* Click/tap "🗏⮫Export" to save the drawing to your system's "Pictures"
folder.
* Click/tap "🗑Erase" to move the drawing to your system's Trash/Recycle
Bin.
* Click/tap "🗑Erase" to move the drawing to your system's Trash/Recycle Bin.
* Click/tap "⤺Back" to abort and return to your current drawing.
* Click/tap "📽Slides" to switch to slideshow mode:
* Click/tap two or more of your previously-saved drawings, in the
order you want them shown. Numbers will appear on them.
* Choose the playback speed using the bars 📶 near the lower left.
* Click/tap "⯈Play" to watch the slideshow/animation.
* Or, click/tap "🎞GIF Export" to save an animated GIF of the
animation to your system's "Pictures" folder.
* Click/tap "⤺Back" to return to the Open dialog.
+ Click/tap two or more of your previously-saved drawings, in the order
you want them shown. Numbers will appear on them.
+ Choose the playback speed using the bars 📶 near the lower left.
+ Click/tap "⯈Play" to watch the slideshow/animation.
+ Or, click/tap "🎞GIF Export" to save an animated GIF of the animation to
your system's "Pictures" folder.
+ Click/tap "⤺Back" to return to the Open dialog.
* Shortcut: [Ctrl]+[O]
🕮⮪Save
* Click/tap to save your drawing.
* If you've saved previously, you'll be prompted whether to overwrite
the previously-saved drawing (a la "File→Save") or create a new saved
drawing (a la "File→Save As...")
* If you've saved previously, you'll be prompted whether to overwrite the
previously-saved drawing (a la "File→Save") or create a new saved drawing
(a la "File→Save As...")
* Shortcut: [Ctrl]+[S]
🖶Print
* Click/tap to print your drawing.
* Hold [Alt] or [Option] while clicking/tapping to bring up printer
dialog, if available.
* Hold [Alt] or [Option] while clicking/tapping to bring up printer dialog,
if available.
* Shortcut: [Ctrl]+[P]
🗙Quit
@ -176,28 +171,27 @@ Tools (Controls)
Colors
* Click/tap to choose a color to use with the Paint, Lines, and Shapes
tools, and Stamps and Magic tools that support colors.
* Use the pipette / color picker 💉 button to choose a color from a pixel
in your current drawing.
* Shortcut: When colors are available, press [Ctrl] and click/tap
in your drawing, to quickly pick a color from your drawing.
* Click/tap to choose a color to use with the Paint, Lines, and Shapes tools,
and Stamps and Magic tools that support colors.
* Use the pipette / color picker 💉 button to choose a color from a pixel in
your current drawing.
+ Shortcut: When colors are available, press [Ctrl] and click/tap in your
drawing, to quickly pick a color from your drawing.
* Click/tap the rainbow 🌈 button to choose a arbitrary color.
* Click/tap in the rainbow square to pick a color (hue and
saturation).
* Click/tap in the grey gradient bar to adjust brightness (value).
* Click/tap the green checkbox ✓ to accept.
* Click/tap "⤺Back" to abort and dismiss the palette.
* You may grab the currently-chosen built-in color (if any), the
color in the pipette / color picker, or the color in the color
mixer, by clicking one of the colored arrow ⇫ buttons.
* Click/tap the paint palette 🎨 button to create a color by mixing
primary colors: red, yellow, and blue, and white (tint), grey (tone),
and black (shade).
* Click/tap the green checkbox ✓ to accept.
* Color mixing offers its own 🖓Undo and 🖒Redo options.
* Click/tap "🗑Clear" to start over with no mixed colors.
* Click/tap "⤺Back" to abort and dismiss the color mixer.
+ Click/tap in the rainbow square to pick a color (hue and saturation).
+ Click/tap in the grey gradient bar to adjust brightness (value).
+ Click/tap the green checkbox ✓ to accept.
+ Click/tap "⤺Back" to abort and dismiss the palette.
+ You may grab the currently-chosen built-in color (if any), the color in
the pipette / color picker, or the color in the color mixer, by
clicking one of the colored arrow ⇫ buttons.
* Click/tap the paint palette 🎨 button to create a color by mixing primary
colors: red, yellow, and blue, and white (tint), grey (tone), and black
(shade).
+ Click/tap the green checkbox ✓ to accept.
+ Color mixing offers its own 🖓Undo and 🖒Redo options.
+ Click/tap "🗑Clear" to start over with no mixed colors.
+ Click/tap "⤺Back" to abort and dismiss the color mixer.
Shortcuts while drawing:
@ -213,3 +207,4 @@ Shortcuts while drawing:
* [Esc] - ⤺Back or 🗙Quit
Last updated: maí 9, 2023

View file

@ -6,76 +6,104 @@
2022年6月 4日
----------------------------------------------------------------------
+-----------------------+
-------------------------------------------------------------------------------
+----------------------------------+
| 目次 |
|-----------------------|
|----------------------------------|
| * この解説について |
| * 使用する画像の選択 |
| * マスクの設定 |
| * 縁取りと不要なピクセルの除去 |
| * Tux Paint 用の画像の保存 |
+-----------------------+
----------------------------------------------------------------------
----------------------------------------------------------------------
+----------------------------------+
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
この解説について
この解説では、デジカメ写真などのJPEG画像をもとに、PNG形式で、高いクォリティの Tux Paint
用スタンプを作成したいという場合を想定しています。クォリティにこだわらなければ、もっと簡単で早い方法もあります。
この解説では、デジカメ写真などのJPEG画像をもとに、PNG形式で、高いクォリティ
の Tux Paint 用スタンプを作成したいという場合を想定しています。クォリティに
こだわらなければ、もっと簡単で早い方法もあります。
扱う対象としては、通常の透明ではないものを前提としており、半透明のもの(火、動く扇風機の羽根、風船)や発光するもの(火、電球、太陽)を扱うには、専用のソフトウェアを使用するのが最適です。背景が完全なベタ塗りの画像も、専用のソフトを使うのが良いですが、以下のようにしても問題はありません。
扱う対象としては、通常の透明ではないものを前提としており、半透明のもの(火
、動く扇風機の羽根、風船)や発光するもの(火、電球、太陽)を扱うには、専用
のソフトウェアを使用するのが最適です。背景が完全なベタ塗りの画像も、専用の
ソフトを使うのが良いですが、以下のようにしても問題はありません。
----------------------------------------------------------------------
-------------------------------------------------------------------------------
使用する画像の選択
著作権
Tux Paint の開発者に作品を提供して公式プロジェクトへの採用を検討してもらいたい場合や、Tux Paint
に独自の画像を同梱して配布したい場合には、Tux Paint が採用しているライセンスである GNU 一般公衆利用許諾
と互換性があるライセンスの画像を用いる必要があります。
Tux Paint の開発者に作品を提供して公式プロジェクトへの採用を検討しても
らいたい場合や、Tux Paint に独自の画像を同梱して配布したい場合には、Tux
Paint が採用しているライセンスである GNU 一般公衆利用許諾と互換性がある
ライセンスの画像を用いる必要があります。
米国政府が制作した画像はパブリックドメインですが、米国政府がウェブ上でパプリックドメイン以外の画像を使用していることもあるので注意が必要です。Googleの画像検索で、site:gov
またはsite:mil のいずれかを指定すると、適切な画像が多数表示されます。(注: *.mil
のサイトには、軍事関係以外のコンテンツも含まれています!)
米国政府が制作した画像はパブリックドメインですが、米国政府がウェブ上で
パプリックドメイン以外の画像を使用していることもあるので注意が必要です
。Googleの画像検索で、site:gov またはsite:mil のいずれかを指定すると、
適切な画像が多数表示されます。(注: *.mil のサイトには、軍事関係以外の
コンテンツも含まれています!)
自分自身で作成した画像は、クリエイティブ・コモンズ
CC0といったパブリックドメインあるいは適切なライセンスである旨を明示すれば、そのように位置づけることができます。法的なアドバイスが必要だと感じたら、弁護士に相談してください
自分自身で作成した画像は、クリエイティブ・コモンズ CC0といったパブリッ
クドメインあるいは適切なライセンスである旨を明示すれば、そのように位置
づけることができます。(法的なアドバイスが必要だと感じたら、弁護士に相
談してください)
個人的に使用する場合は、合法的に修正して使用できる画像であれば問題ありません。
個人的に使用する場合は、合法的に修正して使用できる画像であれば問題あり
ません。
画像の大きさと向き
使いやすい向きの画像が必要で、遠近感のあるものは禁物です。被写体を隅の方から見たような画像は、お絵かきに使うには向いていません。一般的には、遠方から、かつ、真横から見たような画像がベストです。実際にはありえませんが、例えば車の2つの車輪が他の2つの車輪の後ろに完全に隠れているというようなものが理想的です。
使いやすい向きの画像が必要で、遠近感のあるものは禁物です。被写体を隅の
方から見たような画像は、お絵かきに使うには向いていません。一般的には、
遠方から、かつ、真横から見たような画像がベストです。実際にはありえませ
んが、例えば車の2つの車輪が他の2つの車輪の後ろに完全に隠れているという
ようなものが理想的です。
画像を回転させるとぼやけてしまいます。回転を必要としない画像が最良で、大きな角度の回転30〜60度を必要とする画像が次に良く、わずかに数度回転が必要な画像は最悪です。画像を回転させると暗くなりますが、これは、ほとんどの画像編集ソフトはガンマ値の扱いが非常に不適切だからです。回転はガンマ値が1.0の画像にのみ有効です)。
画像を回転させるとぼやけてしまいます。回転を必要としない画像が最良で、
大きな角度の回転30〜60度を必要とする画像が次に良く、わずかに数度
)回転が必要な画像は最悪です。画像を回転させると暗くなりますが、これは
、ほとんどの画像編集ソフトはガンマ値の扱いが非常に不適切だからです。(
回転はガンマ値が1.0の画像にのみ有効です)。
非常に大きなサイズの画像は、ミスに寛容なので、作業がしやすくなります。できれば 1000
ピクセル以上の被写体が写っている画像を選びましょう。編集後に縮小することで、細かいミスを目立たなくすることができます。
非常に大きなサイズの画像は、ミスに寛容なので、作業がしやすくなります。
できれば 1000 ピクセル以上の被写体が写っている画像を選びましょう。編集
後に縮小することで、細かいミスを目立たなくすることができます。
画像が、粒度が粗すぎたり、薄暗すぎたり、半透明になりすぎたりしないように注意してください。
画像が、粒度が粗すぎたり、薄暗すぎたり、半透明になりすぎたりしないよう
に注意してください。
生き物の足や車のホイールなどにも注意が必要です。これらが何かに隠れて見えなくなっている場合は新しく描き足す必要があります。隠れているのが一部だけの場合は、他の部分をコピーして描き換えることができるかもしれません。
生き物の足や車のホイールなどにも注意が必要です。これらが何かに隠れて見
えなくなっている場合は新しく描き足す必要があります。隠れているのが一部
だけの場合は、他の部分をコピーして描き換えることができるかもしれません
----------------------------------------------------------------------
-------------------------------------------------------------------------------
画像の準備
まず、画像をJPEGで保存し直さないようにしてください。これは品質低下の原因となります。jpegtranという特別なツールを使えば、品質を維持したまま画像を切り抜くことができます。
まず、画像をJPEGで保存し直さないようにしてください。これは品質低下の原因と
なります。jpegtranという特別なツールを使えば、品質を維持したまま画像を切り
抜くことができます。
jpegtran -trim -copy none -crop 512x1728+160+128 < src.jpg >
cropped.jpg
次に、切り抜いた画像を画像エディタで表示させます。トリミングをしていない大きな画像を開く場合は、画像エディタの動作が非常に遅くなるかもしれません。必要に応じて画像を回転させたりトリミングしたりして、画像を保存します。保存の際は、レイヤー、マスク、アルファチャンネルなどが保存されるように、各ソフトウェア専用のフォーマットを選択します。GIMPをお使いの方は「XCF」、Adobe
次に、切り抜いた画像を画像エディタで表示させます。トリミングをしていない大
きな画像を開く場合は、画像エディタの動作が非常に遅くなるかもしれません。必
要に応じて画像を回転させたりトリミングしたりして、画像を保存します。保存の
際は、レイヤー、マスク、アルファチャンネルなどが保存されるように、各ソフト
ウェア専用のフォーマットを選択します。GIMPをお使いの方は「XCF」、Adobe
Photoshopをお使いの方は「PSD」などを選択して下さい。
画像編集ソフトで画像を回転させたり切り抜いたりした場合は、マスクやアルファチャンネルのない1層の RGB レイヤーに統合して下さい。
画像編集ソフトで画像を回転させたり切り抜いたりした場合は、マスクやアルファ
チャンネルのない1層の RGB レイヤーに統合して下さい。
レイヤーダイアログボックスを開いて、以下のように、レイヤーを上から順に何度か複製します:
レイヤーダイアログボックスを開いて、以下のように、レイヤーを上から順に何度
か複製します:
1. 編集前の画像(可能であればプロテクトする)
2. 編集を行う画像- "作業用" レイヤー
@ -83,111 +111,175 @@
4. マゼンダ1色のレイヤー(可能であればプロテクトする)
5. 編集前の画像(可能であればプロテクトする)
作業用レイヤーに、大まかに初期マスクを作成します。選択範囲から始めても良いですし、作業レイヤーのグレースケール値を用いても良いでしょう。また、マスクを反転させることもできます。
作業用レイヤーに、大まかに初期マスクを作成します。選択範囲から始めても良い
ですし、作業レイヤーのグレースケール値を用いても良いでしょう。また、マスク
を反転させることもできます。
注: マスクを設定した後は、画像の回転や拡大縮小は行えません。これはデータ損失の原因となります。サイズを調整するための特別な方法は後述します。
注: マスクを設定した後は、画像の回転や拡大縮小は行えません。これはデータ損
失の原因となります。サイズを調整するための特別な方法は後述します。
----------------------------------------------------------------------
-------------------------------------------------------------------------------
マスクの設定
レイヤーダイアログのサムネイル画像を [Control] キーを押しながらクリックしたり、[Alt]
キーを押しながらクリックしたりすることに慣れておきましょう。これは、何を見て何を編集しているかを把握するために必要となります。例えば、変更されていない画像を見ながら作業用レイヤーのマスクを編集する場合など、見えていないものを編集することもあります。混乱して間違ってしまわないように注意してください。自分が編集しているものが正しいかどうかを常に確認するようにしましょう。
レイヤーダイアログのサムネイル画像を [Control] キーを押しながらクリックした
り、[Alt] キーを押しながらクリックしたりすることに慣れておきましょう。これ
は、何を見て何を編集しているかを把握するために必要となります。例えば、変更
されていない画像を見ながら作業用レイヤーのマスクを編集する場合など、見えて
いないものを編集することもあります。混乱して間違ってしまわないように注意し
てください。自分が編集しているものが正しいかどうかを常に確認するようにしま
しょう。
一番上のオリジナル画像のレイヤーを表示しながら、作業用レイヤーに対して編集を加えるするように設定します。編集作業の必要に応じて画像を約400に拡大してください画像の各ピクセルを画面上
4x4 ピクセルのブロックとして表示し、編集することができます)
一番上のオリジナル画像のレイヤーを表示しながら、作業用レイヤーに対して編集
を加えるするように設定します。編集作業の必要に応じて画像を約400に拡大して
ください(画像の各ピクセルを画面上 4x4 ピクセルのブロックとして表示し、編集
することができます)
Select parts of the image that need to be 100% opaque or 0% opaque. If
you can select the object or background somewhat accurately by color, do
so. As needed to avoid selecting any pixels that should be partially
opaque (generally at the edge of the object) you should grow, shrink,
and invert the selection.
Select parts of the image that need to be 100% opaque or 0% opaque. If you
can select the object or background somewhat accurately by color, do so. As
needed to avoid selecting any pixels that should be partially opaque
(generally at the edge of the object) you should grow, shrink, and invert
the selection.
Fill the 100% opaque areas with white, and the 0% opaque areas with
black. This is most easily done by drag-and-drop from the
foreground/background color indicator. You should not see anything
happen, because you are viewing the unmodified image layer while editing
the mask of the WIP layer. Large changes might be noticable in the
thumbnail.
Fill the 100% opaque areas with white, and the 0% opaque areas with black.
This is most easily done by drag-and-drop from the foreground/background
color indicator. You should not see anything happen, because you are
viewing the unmodified image layer while editing the mask of the WIP layer.
Large changes might be noticable in the thumbnail.
次に、画像を拡大します。
作業内容を確認します。まず、一番上のオリジナルレイヤーを隠します。マスクだけを表示すると、黒の背景に白のオブジェクトが表示されるはずです
(おそらく輪郭の部分には未編集のグレーが表示されます)。次に
作業用レイヤーを通常通り表示し、マスクがアクティブになるようにします。これで、あなたのオブジェクトが、次の有効レイヤーの上に表示されるはずです。このレイヤーは、コントラストを最大にするために、必要に応じてグリーンまたはマゼンタにする必要があります。緑のレイヤーを繰り返しクリックして有効/無効にすることで、これらの背景を行ったり来たりすることができます。マスクを見ながら編集して、単純なミスを修正します。
作業内容を確認します。まず、一番上のオリジナルレイヤーを隠します。マスクだ
けを表示すると、黒の背景に白のオブジェクトが表示されるはずです (おそらく輪
郭の部分には未編集のグレーが表示されます)。次に作業用レイヤーを通常通り表示
し、マスクがアクティブになるようにします。これで、あなたのオブジェクトが、
次の有効レイヤーの上に表示されるはずです。このレイヤーは、コントラストを最
大にするために、必要に応じてグリーンまたはマゼンタにする必要があります。緑
のレイヤーを繰り返しクリックして有効/無効にすることで、これらの背景を行った
り来たりすることができます。マスクを見ながら編集して、単純なミスを修正しま
す。
作業用レイヤーのマスクを編集しながら、一番上のオリジナルレイヤーの表示に戻ります。描画ツールを「ブラシ」に設定します。ブラシには、円形の小さなぼかし筆を選びます。5x5
サイズがほとんどの場合に適しています。
作業用レイヤーのマスクを編集しながら、一番上のオリジナルレイヤーの表示に戻
ります。描画ツールを「ブラシ」に設定します。ブラシには、円形の小さなぼかし
筆を選びます。5x5 サイズがほとんどの場合に適しています。
ゆっくりとぶれないように画像の輪郭をトレースします。外側には黒色、内側には白色を使います。色を変更しないまま複数のパスにならないように注意して下さい。
ゆっくりとぶれないように画像の輪郭をトレースします。外側には黒色、内側には
白色を使います。色を変更しないまま複数のパスにならないように注意して下さい
表示をちらっと反転させ、マスクがうまく機能していることを確認します。作業用レイヤーをグリーンまたはマゼンタの上に合成すると、元の背景が、境界周りのほんのわずかなギザギザした縁取りのように見えるはずです。この縁取りが見えない場合、オブジェクトマスクを小さくしすぎたことになります。この縁取りを構成するピクセルは、完全にオブジェクト内でもオブジェクト外でもありません。そのため、マスクは100%でも0%でもありません。この縁取りはこの後に取り除かれます。
表示をちらっと反転させ、マスクがうまく機能していることを確認します。作業用
レイヤーをグリーンまたはマゼンタの上に合成すると、元の背景が、境界周りのほ
んのわずかなギザギザした縁取りのように見えるはずです。この縁取りが見えない
場合、オブジェクトマスクを小さくしすぎたことになります。この縁取りを構成す
るピクセルは、完全にオブジェクト内でもオブジェクト外でもありません。そのた
め、マスクは100%でも0%でもありません。この縁取りはこの後に取り除かれます。
マスクを表示して編集します。黒か白の色で領域を選択します。ほとんどの場合、選択されていない色の斑点が残っていると思います。選択範囲を反転させ、鉛筆ツールを使ってこれらの点を取り除きます。この作業を白と黒の両方で行います。
マスクを表示して編集します。黒か白の色で領域を選択します。ほとんどの場合、
選択されていない色の斑点が残っていると思います。選択範囲を反転させ、鉛筆ツ
ールを使ってこれらの点を取り除きます。この作業を白と黒の両方で行います。
----------------------------------------------------------------------
-------------------------------------------------------------------------------
縁取りと不要なピクセルの除去
マスクをを表示しながら、黒で領域を選択した後、選択範囲を数ピクセル縮小します。ただし、マスクの端から縮小しないように注意してください(縮小することで、ミスを防いだりやり直したりすることができます)
マスクをを表示しながら、黒で領域を選択した後、選択範囲を数ピクセル縮小しま
す。ただし、マスクの端から縮小しないように注意してください(縮小することで
、ミスを防いだりやり直したりすることができます)
ここでマスクを無効にします。マスクされていない作業用レイヤーを表示して編集します。色選択ツールを使って、対象の平均的な色を選択します。この色を選択範囲にドラッグ&ドロップすると、オブジェクト以外のピクセルのほとんどが削除されます。
ここでマスクを無効にします。マスクされていない作業用レイヤーを表示して編集
します。色選択ツールを使って、対象の平均的な色を選択します。この色を選択範
囲にドラッグ&ドロップすると、オブジェクト以外のピクセルのほとんどが削除さ
れます。
この単色の領域は、Tux
Paintが画像を縮小する際に生じる縁取りを抑制するのに役立ちます。オブジェクトの輪郭に大きく異なる複数の色がある場合は、選択範囲を分割して、近くの背景が似たような色になるようにします。
この単色の領域は、Tux Paintが画像を縮小する際に生じる縁取りを抑制するのに役
立ちます。オブジェクトの輪郭に大きく異なる複数の色がある場合は、選択範囲を
分割して、近くの背景が似たような色になるようにします。
ここで、輪郭周りの縁取りを消去します。作業用レイヤーの画像を編集、表示していることを確認してください。以下の全てのレイヤーを頻繁に切り替えて表示することで、自分が何をしているのかを確認することができます:
ここで、輪郭周りの縁取りを消去します。作業用レイヤーの画像を編集、表示して
いることを確認してください。以下の全てのレイヤーを頻繁に切り替えて表示する
ことで、自分が何をしているのかを確認することができます:
* グリーン との合成(マスク有効)
* マゼンタ との合成(マスク有効)
* オリジナル(一番上、または一番下のレイヤー)
* オリジナル との合成(マスク有効)
* 作業用レイヤー(マスク無効)
+ グリーンとの合成(マスク有効)
+ マゼンタとの合成(マスク有効)
+ オリジナル(一番上、または一番下のレイヤー)
+ オリジナルとの合成(マスク有効)
+ 作業用レイヤー(マスク無効)
失敗を減らすために、マスクの中の灰色ではないピクセルだけを選択するとよいでしょう。(「マスクから色で領域選択、黒を選択、色加算モード、白を選択、反転」あるいは「すべてを選択、マスクから色で領域選択、色減算モード、黒を選択、白を選択」)この作業を行う際、選択範囲を少し広げて、選択領域を示す線を隠したくなるかもしれません。
失敗を減らすために、マスクの中の灰色ではないピクセルだけを選択するとよいで
しょう。(「マスクから色で領域選択、黒を選択、色加算モード、白を選択、反転
」あるいは「すべてを選択、マスクから色で領域選択、色減算モード、黒を選択、
白を選択」)この作業を行う際、選択範囲を少し広げて、選択領域を示す線を隠し
たくなるかもしれません。
Use the clone tool and the brush tool. Vary the opacity as needed. Use
small round brushes mostly, perhaps 3x3 or 5x5, fuzzy or not. (It is
generally nice to pair up fuzzy brushes with 100% opacity and non-fuzzy
brushes with about 70% opacity.) Unusual drawing modes can be helpful
with semi-transparent objects.
brushes with about 70% opacity.) Unusual drawing modes can be helpful with
semi-transparent objects.
最終目標は、オブジェクトの内側と外側の両方の縁取りを除去することです。内側の縁取りは、マゼンタやグリーンの上にオブジェクトを合成したときに見えるもので、明らかに除去が必要です。外側のフリンジは、画像を縮小したときに見えるようになるため、こちらも除去する必要があります。例として、鋭角なオブジェクトの輪郭にある2x2のピクセルの領域を考えてみましょう。左半分は黒で、不透明度は0。右半分は白で、100不透明です。つまり、黒い背景に白い物体がある状態です。Tux
Paintがこれを501x1ピクセルの領域にスケーリングすると、結果はグレーの50不透明ピクセルになりますが、正しい結果は、白の50不透明ピクセルです。この結果を得るためには、黒いピクセルを塗り潰します。不透明度が0であるにもかかわらず、黒いピクセルは重要です。
最終目標は、オブジェクトの内側と外側の両方の縁取りを除去することです。内側
の縁取りは、マゼンタやグリーンの上にオブジェクトを合成したときに見えるもの
で、明らかに除去が必要です。外側のフリンジは、画像を縮小したときに見えるよ
うになるため、こちらも除去する必要があります。例として、鋭角なオブジェクト
の輪郭にある2x2のピクセルの領域を考えてみましょう。左半分は黒で、不透明度は
0。右半分は白で、100不透明です。つまり、黒い背景に白い物体がある状態で
す。Tux Paintがこれを501x1ピクセルの領域にスケーリングすると、結果は
グレーの50不透明ピクセルになりますが、正しい結果は、白の50不透明ピクセ
ルです。この結果を得るためには、黒いピクセルを塗り潰します。不透明度が0
あるにもかかわらず、黒いピクセルは重要です。
Tux Paint
では、画像を非常に大きく縮小することができるため、オブジェクトの輪郭を外側に大きく広げることが重要です。オブジェクトの輪郭の部分では、非常に正確に処理する必要がありますが、輪郭から離れるにつれて、少々手を抜いても大丈夫です。十数ピクセル以上外側まで描くとちょうど良くなります。これを太くすればするだけ、Tux
Paintは汚い色の縁どりを発生させずにスケールダウンすることができます。オブジェクトの端から数ピクセル以上離れた部分については、鉛筆ツールまたはドラッグドロップで適当に色を選択を使用して、結果がきれいに縮小されるようにしてください。
Tux Paint では、画像を非常に大きく縮小することができるため、オブジェクトの
輪郭を外側に大きく広げることが重要です。オブジェクトの輪郭の部分では、非常
に正確に処理する必要がありますが、輪郭から離れるにつれて、少々手を抜いても
大丈夫です。十数ピクセル以上外側まで描くとちょうど良くなります。これを太く
すればするだけ、Tux Paintは汚い色の縁どりを発生させずにスケールダウンするこ
とができます。オブジェクトの端から数ピクセル以上離れた部分については、鉛筆
ツール(またはドラッグ&ドロップで適当に色を選択)を使用して、結果がきれい
に縮小されるようにしてください。
----------------------------------------------------------------------
-------------------------------------------------------------------------------
Tux Paint 用の画像の保存
It is very easy to ruin your hard work. Image editors can silently
destroy pixels in 0% opaque areas. The conditions under which this
happens may vary from version to version. If you are very trusting, you
can try saving your image directly as a PNG. Be sure to read it back in
again to verify that the 0% opaque areas didn't turn black or white,
which would create fringes when Tux Paint scales the image down. If you
need to scale your image to save space (and hide your mistakes), you are
almost certain to destroy all the 0% opaque areas. So here is a better
way...
It is very easy to ruin your hard work. Image editors can silently destroy
pixels in 0% opaque areas. The conditions under which this happens may vary
from version to version. If you are very trusting, you can try saving your
image directly as a PNG. Be sure to read it back in again to verify that
the 0% opaque areas didn't turn black or white, which would create fringes
when Tux Paint scales the image down. If you need to scale your image to
save space (and hide your mistakes), you are almost certain to destroy all
the 0% opaque areas. So here is a better way...
より安全な保存方法
マスクをレイヤーダイアログからツールバーの未使用部分最後の描画ツールの直後にドラッグします。これで、マスクデータを含む1つのレイヤーからなる新しい画像が作成されます。これを、使用する設定に応じた希望のサイズまで縮小します。多くの場合、7001500ピクセル程度の画像から始めて、最終的には300400ピクセル程度の画像を作成します。
マスクをレイヤーダイアログからツールバーの未使用部分(最後の描画ツール
の直後にドラッグします。これで、マスクデータを含む1つのレイヤーからな
る新しい画像が作成されます。これを、使用する設定に応じた希望のサイズま
で縮小します。多くの場合、7001500ピクセル程度の画像から始めて、最終的
には300400ピクセル程度の画像を作成します。
マスク画像を NetPBM の Portable Greymap (".pgm") ファイルとして保存します。(古いバージョンの
GIMPを使用している場合は、保存する前に画像をグレースケールに変換する必要があるかもしれません)。よりコンパクトな「RAW
PGM」フォーマットを選択して保存します。(ファイルの2文字目はASCII数字の「5」、16進数のバイト0x35である必要があります)
マスク画像を NetPBM の Portable Greymap (".pgm") ファイルとして保存しま
す。(古いバージョンの GIMPを使用している場合は、保存する前に画像をグレ
ースケールに変換する必要があるかもしれません)。よりコンパクトな「RAW
PGM」フォーマットを選択して保存します。(ファイルの2文字目はASCII数字の
「5」、16進数のバイト0x35である必要があります)
マスク画像を閉じます
マルチレイヤー画像に戻って、作業用レイヤーを選択します。マスクと同じように、レイヤーダイアログからツールバーにドラッグしてください。これで作業用データの単一レイヤー画像ができあがります。マスクが付いていた場合は取り除かれます。レイヤーダイアログにマスクのサムネイルが表示されていない状態で、オブジェクトと輪郭の縁取りが表示されているはずです。マスクを拡大縮小したのであれば、この画像も同様に正確に拡大縮小してください。この画像を
NetPBM の Portable pixmap (".ppm") ファイルとして保存します。(注: .ppm ではなく .pgm です。)
(RAW PPMフォーマットを選択した場合、ファイルの2バイト目はASCII数字の "6"、16進数のバイト0x36である必要があります)
マルチレイヤー画像に戻って、作業用レイヤーを選択します。マスクと同じよ
うに、レイヤーダイアログからツールバーにドラッグしてください。これで作
業用データの単一レイヤー画像ができあがります。マスクが付いていた場合は
取り除かれます。レイヤーダイアログにマスクのサムネイルが表示されていな
い状態で、オブジェクトと輪郭の縁取りが表示されているはずです。マスクを
拡大縮小したのであれば、この画像も同様に正確に拡大縮小してください。こ
の画像を NetPBM の Portable pixmap (".ppm") ファイルとして保存します。
(注: .ppm ではなく .pgm です。) (RAW PPMフォーマットを選択した場合、フ
ァイルの2バイト目はASCII数字の "6"、16進数のバイト0x36である必要があり
ます)
最後に、以下のように pnmtopng コマンドで、2つのファイルを1つに合成します:
最後に、以下のように pnmtopng コマンドで、2つのファイルを1つに合成し
ます:
pnmtopng -force -compression 9 -alpha mask.pgm fg.ppm >
final-stamp.png

View file

@ -7,91 +7,97 @@
2023年5月 5日
----------------------------------------------------------------------
-------------------------------------------------------------------------------
Tux Paint understands a number of environment variables, either directly,
or indirectly by the libraries that it utilizes.
Tux Paint understands a number of environment variables, either directly, or
indirectly by the libraries that it utilizes.
Storage-related environment variables
HOME
Specifies the user's "home directory", which is used to locate
numerous other files or directories. In some cases, it is utilized
as part of a fall-back location, when other environment variables
(elsewhere in this documentation) are not set. Sometimes, the
location to use can be overridden by options provided on the
command-line or via Tux Paint's configuration file. See the
"OPTIONS" documentation for details.
Specifies the user's "home directory", which is used to locate numerous
other files or directories. In some cases, it is utilized as part of a
fall-back location, when other environment variables (elsewhere in this
documentation) are not set. Sometimes, the location to use can be
overridden by options provided on the command-line or via Tux Paint's
configuration file. See the "OPTIONS" documentation for details.
A few examples of where "$HOME" is used include:
* The location of Tux Paint's configuration file
* The basis of where Tux Paint saves and loads users' drawings
* The location of a user's private collection of data files —
stamps, brushes, etc. — (versus those available system wide)
+ The location of Tux Paint's configuration file
+ The basis of where Tux Paint saves and loads users' drawings
+ The location of a user's private collection of data files — stamps,
brushes, etc. — (versus those available system wide)
XDG_CONFIG_HOME
On Linux and other platforms where the X Desktop Group standards
are used, the location of the user's configuration files.
Specifically, where to find "user-dirs.dirs", where the
"XDG_PICTURES_DIR" might be defined. It is used for exporting
drawings and animated GIFs. Generally it's set to something like
"$HOME/Pictures/". If not specified, Tux Paint checks in the
directory "$HOME/.config/". If the configuration cannot be found,
Tux Paint simply exports drawings and GIFs to "$HOME".
On Linux and other platforms where the X Desktop Group standards are used,
the location of the user's configuration files. Specifically, where to find
"user-dirs.dirs", where the "XDG_PICTURES_DIR" might be defined. It is used
for exporting drawings and animated GIFs. Generally it's set to something
like "$HOME/Pictures/". If not specified, Tux Paint checks in the directory
"$HOME/.config/". If the configuration cannot be found, Tux Paint simply
exports drawings and GIFs to "$HOME".
XDG_DATA_HOME
On Linux and other platforms where the X Desktop Group standards
are used, the location of the user's data directories.
Specifically, where to find the "Trash" directory. It is used when
deleting images from Tux Paint's "Open" dialog. If not set, the
location "$HOME/.local/share/Trash/" is used, if available. If
not, images are simply deleted, rather than moved anywhere.
On Linux and other platforms where the X Desktop Group standards are used,
the location of the user's data directories. Specifically, where to find
the "Trash" directory. It is used when deleting images from Tux Paint's
"Open" dialog. If not set, the location "$HOME/.local/share/Trash/" is
used, if available. If not, images are simply deleted, rather than moved
anywhere.
TEMP
Specifies the location where temporary files may be created. Only
used by Tux Paint on Microsoft Windows OSes. Uses "userdata" if
not set.
Specifies the location where temporary files may be created. Only used by
Tux Paint on Microsoft Windows OSes. Uses "userdata" if not set.
Language-related environment variables
LANG
LANGUAGE
LC_ALL
LC_MESSAGES
Specify the language Tux Paint should utilize in its user
interface. Overridde by the "--lang" and "--locale" command-line
options or their configuration file counterparts. The "LANGUAGE"
environment variable is used, if set. If not, "LC_ALL" is used as
a fallback. Then "LC_MESSAGES", and finally "LANG".
Specify the language Tux Paint should utilize in its user interface.
Overridde by the "--lang" and "--locale" command-line options or their
configuration file counterparts. The "LANGUAGE" environment variable is
used, if set. If not, "LC_ALL" is used as a fallback. Then "LC_MESSAGES",
and finally "LANG".
Display-related environment variables
The following are a few of the environment variables supported by Simple
DirectMedia Layer (libSDL) — which Tux Paint utilizes for displaying
graphics, playing sounds, and receiving mouse, keyboard, and joystick
input — and which may be useful to users of Tux Paint.
DirectMedia Layer (libSDL) — which Tux Paint utilizes for displaying graphics,
playing sounds, and receiving mouse, keyboard, and joystick input — and which
may be useful to users of Tux Paint.
SDL_VIDEO_ALLOW_SCREENSAVER
Specifies whether Tux Paint should allow a screensaver to run. Can
be set to '1' (true) by Tux Paint itself by issuing the
command-line option "--allowscreensaver" or its configuration file
counterpart.
Specifies whether Tux Paint should allow a screensaver to run. Can be set
to '1' (true) by Tux Paint itself by issuing the command-line option
"--allowscreensaver" or its configuration file counterpart.
SDL_VIDEO_WINDOW_POS
Requests where to position Tux Paint's window, and can be used to
specify what display to place a fullscreen Tux Paint in a
multi-monitor configuration. If not set, or set to "nopref"
(meaning "no preference"), Simple DirectMedia Layer (libSDL)
decides. Can be set to an X,Y coordinate (e.g. 200,100), or
"center" (meaning "center").
Requests where to position Tux Paint's window, and can be used to specify
what display to place a fullscreen Tux Paint in a multi-monitor
configuration. If not set, or set to "nopref" (meaning "no preference"),
Simple DirectMedia Layer (libSDL) decides. Can be set to an X,Y coordinate
(e.g. 200,100), or "center" (meaning "center").

File diff suppressed because it is too large Load diff

View file

@ -6,8 +6,7 @@
2023年7月13日
----------------------------------------------------------------------
-------------------------------------------------------------------------------
+------------------------------+
| 目次 |
|------------------------------|
@ -20,549 +19,549 @@
| * Other Problems |
| * Help / Contact |
+------------------------------+
----------------------------------------------------------------------
-------------------------------------------------------------------------------
Drawing-related
Fonts I added to Tux Paint only show squares
The TrueType Font you're using might have the wrong encoding. If
it's 'custom' encoded, for example, you can try running it through
FontForge (http://fontforge.sourceforge.net/) to convert it to an
ISO-8859 format. (Email us if you need help with special fonts.)
The TrueType Font you're using might have the wrong encoding. If it's
'custom' encoded, for example, you can try running it through FontForge (
http://fontforge.sourceforge.net/) to convert it to an ISO-8859 format.
(Email us if you need help with special fonts.)
The Rubber Stamp tool is greyed out!
This means that Tux Paint either couldn't find any stamp images,
or was asked not to load them.
This means that Tux Paint either couldn't find any stamp images, or was
asked not to load them.
If you installed Tux Paint, but did not install the separate,
optional "Stamps" collection, quit Tux Paint and install it now.
It should be available from the same place you got the main Tux
Paint program. (Note: As of version 0.9.14, Tux Paint comes with a
small collection of example stamps.)
If you installed Tux Paint, but did not install the separate, optional
"Stamps" collection, quit Tux Paint and install it now. It should be
available from the same place you got the main Tux Paint program. (Note: As
of version 0.9.14, Tux Paint comes with a small collection of example
stamps.)
If you don't want to install the default collection of stamps, you
can just create your own. See the "Extending Tux Paint"
documentation for more on creating PNG and SVG image files, TXT
text description files, Ogg Vorbis, MP3 or WAV sound files, and
DAT text data files that make up stamps.
If you don't want to install the default collection of stamps, you can just
create your own. See the "Extending Tux Paint" documentation for more on
creating PNG and SVG image files, TXT text description files, Ogg Vorbis,
MP3 or WAV sound files, and DAT text data files that make up stamps.
Finally, if you installed stamps, and think they should be loading, check
to see that the "nostamps" option isn't being set. (Either via a
"--nostamps" option to Tux Paint's command line, or "nostamps=yes" in the
configuration file.)
Either change/remove the "nostamps" option, or you can override it with
"--stamps" on the command line or either "nostamps=no" or "stamps=yes" in a
configuration file.
Finally, if you installed stamps, and think they should be
loading, check to see that the "nostamps" option isn't being set.
(Either via a "--nostamps" option to Tux Paint's command line, or
"nostamps=yes" in the configuration file.)
Either change/remove the "nostamps" option, or you can override it
with "--stamps" on the command line or either "nostamps=no" or
"stamps=yes" in a configuration file.
Stamp outlines are always rectangles
Tux Paint was built with low-quality (but faster) stamp outlines.
To change this, you must rebuild Tux Paint from source. Be sure to
remove or comment out any line that says:
To change this, you must rebuild Tux Paint from source. Be sure to remove
or comment out any line that says:
#define LOW_QUALITY_STAMP_OUTLINE
in the "tuxpaint.c" file in the "src" directory.
----------------------------------------------------------------------
-------------------------------------------------------------------------------
Interface Problems
Stamp thumbnails in the Stamp Selector look bad
Tux Paint was probably compiled with the faster, lower quality
thumbnail code enabled. Run the command: "tuxpaint
--verbose-version" from a command line. If, amongst the other
output, you see the text: "Low Quality Thumbnails enabled", then
this is what's happening.
Tux Paint was probably compiled with the faster, lower quality thumbnail
code enabled. Run the command: "tuxpaint --verbose-version" from a command
line. If, amongst the other output, you see the text: "Low Quality
Thumbnails enabled", then this is what's happening.
To change this, you must rebuild Tux Paint from source. Be sure to
remove or comment out any line that says:
To change this, you must rebuild Tux Paint from source. Be sure to remove
or comment out any line that says:
#define LOW_QUALITY_THUMBNAILS
in the "tuxpaint.c" file in the "src" directory.
Pictures in the 'Open' dialog look bad
"Low Quality Thumbnails" is probably enabled. See: "Stamp
thumbnails in the Stamp Selector look bad", above.
"Low Quality Thumbnails" is probably enabled. See: "Stamp thumbnails in the
Stamp Selector look bad", above.
All of the text is in uppercase!
The "uppercase" option is on.
Either change/remove the "uppercase" option, or you can override
it with "--mixedcase" on the command line or either "uppercase=no"
or "mixedcase=yes" in a configuration file.
Either change/remove the "uppercase" option, or you can override it with
"--mixedcase" on the command line or either "uppercase=no" or "mixedcase=
yes" in a configuration file.
Tux Paint is in a different language
Make sure your locale setting is correct. See "Tux Paint won't
switch to my language", below.
Make sure your locale setting is correct. See "Tux Paint won't switch to my
language", below.
Tux Paint won't switch to my language
* Linux and Unix users: Make sure the locale is available
+ Linux and Unix users: Make sure the locale is available
Make sure the locale you want is available. Check your
"/etc/locale.gen" file. See the "Options Documentation" for
the locales Tux Paint uses (especially when using the
"--lang" option).
Make sure the locale you want is available. Check your "/etc/
locale.gen" file. See the "Options Documentation" for the locales Tux
Paint uses (especially when using the "--lang" option).
Note: Debian and derivative (e.g., Ubuntu) users can simply
run "dpkg-reconfigure locales" if the locales are managed by
"dpkg".
Note: Debian and derivative (e.g., Ubuntu) users can simply run
"dpkg-reconfigure locales" if the locales are managed by "dpkg".
* If you're using the "--lang" command-line option
+ If you're using the "--lang" command-line option
Try using the "--locale" command-line option, or your
operating system's locale settings (e.g., the "$LANG"
environment variable), and please e-mail us regarding your
trouble.
Try using the "--locale" command-line option, or your operating
system's locale settings (e.g., the "$LANG" environment variable), and
please e-mail us regarding your trouble.
* If you're using the "--locale" command-line option
+ If you're using the "--locale" command-line option
If this doesn't work, please e-mail us regarding your
trouble.
If this doesn't work, please e-mail us regarding your trouble.
* If you're trying to use your Operating System's locale
+ If you're trying to use your Operating System's locale
If this doesn't work, please e-mail us regarding your
trouble.
If this doesn't work, please e-mail us regarding your trouble.
* Make sure you have the necessary font
+ Make sure you have the necessary font
Some translations require their own font. Chinese and Korean,
for example, need Chinese and Korean TrueType Fonts installed
and placed in the proper location, respectively.
Some translations require their own font. Chinese and Korean, for
example, need Chinese and Korean TrueType Fonts installed and placed in
the proper location, respectively.
The appropriate fonts for such locales can be downloaded from
the Tux Paint website:
The appropriate fonts for such locales can be downloaded from the Tux
Paint website:
https://tuxpaint.org/download/fonts/
----------------------------------------------------------------------
-------------------------------------------------------------------------------
印刷
Tux Paint won't print, gives an error, or prints garbage (Unix/Linux)
Tux Paint prints by creating a PostScript rendition of the picture
and sending it to an external command. By default, this command is
the "lpr" printing tool.
Tux Paint prints by creating a PostScript rendition of the picture and
sending it to an external command. By default, this command is the "lpr"
printing tool.
If that program is not available (for example, you're using CUPS,
the Common Unix Printing System, and do not have "cups-lpr"
installed), you will need to specify an appropriate command using
the "printcommand" option in Tux Paint's configuration file. (See
the "Options Documentation".)
If that program is not available (for example, you're using CUPS, the
Common Unix Printing System, and do not have "cups-lpr" installed), you
will need to specify an appropriate command using the "printcommand" option
in Tux Paint's configuration file. (See the "Options Documentation".)
Note: Versions of Tux Paint prior to 0.9.15 used a different default
command for printing, "pngtopnm | pnmtops | lpr", as Tux Paint output PNG
format, rather than PostScript.
If you had changed your "printcommand" option prior to Tux Paint 0.9.15,
you will need to go back and alter it to accept PostScript.
Note: Versions of Tux Paint prior to 0.9.15 used a different
default command for printing, "pngtopnm | pnmtops | lpr", as Tux
Paint output PNG format, rather than PostScript.
If you had changed your "printcommand" option prior to Tux Paint
0.9.15, you will need to go back and alter it to accept
PostScript.
I get the message "You can't print yet!" when I go to print
The "print delay" option is on. You can only print once every X
seconds.
The "print delay" option is on. You can only print once every X seconds.
If you're running Tux Paint from a command-line, make sure you're
not giving it a "--printdelay=..." option.
If you're running Tux Paint from a command-line, make sure you're not
giving it a "--printdelay=..." option.
If you're running Tux Paint by double-clicking an icon, check the
properties of the icon to see if "--printdelay=..." is listed as a
command-line argument.
If a "--printdelay=..." option isn't being sent on the command
line, check Tux Paint's configuration file for a line reading:
"printdelay=...".
If a "--printdelay=..." option isn't being sent on the command line, check
Tux Paint's configuration file for a line reading: "printdelay=...".
Either remove that line, set the delay value to 0 (no delay), or
decrease the delay to a value you prefer. (See the "Options
Documentation".)
Either remove that line, set the delay value to 0 (no delay), or decrease
the delay to a value you prefer. (See the "Options Documentation".)
Or, you can simply run Tux Paint with the command-line argument:
"--printdelay=0", which will override the configuration file's
setting, and allow unlimited printing. (You won't have to wait
between prints.)
"--printdelay=0", which will override the configuration file's setting, and
allow unlimited printing. (You won't have to wait between prints.)
I simply can't print! The button is greyed out!
The "no print" option is on.
If you're running Tux Paint from a command-line, make sure you're
not giving it a "--noprint" option.
If you're running Tux Paint from a command-line, make sure you're not
giving it a "--noprint" option.
If you're running Tux Paint by double-clicking an icon, check the
properties of the icon to see if "--noprint" is listed as a
command-line argument.
properties of the icon to see if "--noprint" is listed as a command-line
argument.
If a "--noprint" option isn't being sent on the command line,
check Tux Paint's configuration file for a line reading:
"noprint=yes".
If a "--noprint" option isn't being sent on the command line, check Tux
Paint's configuration file for a line reading: "noprint=yes".
Either remove that line, or simply run Tux Paint with the
command-line argument: "--print", which will override the
configuration file's setting.
Either remove that line, or simply run Tux Paint with the command-line
argument: "--print", which will override the configuration file's setting.
Or use Tux Paint Config. and make sure "Allow Printing" (under
"印刷") is checked.
Or use Tux Paint Config. and make sure "Allow Printing" (under "印刷") is
checked.
----------------------------------------------------------------------
-------------------------------------------------------------------------------
保存
Where does Tux Paint save my drawings?
Unless you asked Tux Paint to save into a specific location (using
the "savedir" option), Tux Paint saves into a standard location on
your local drive:
Unless you asked Tux Paint to save into a specific location (using the
"savedir" option), Tux Paint saves into a standard location on your local
drive:
Windows Vista, Windows 8, Windows 10, Windows 11
In the user's "AppData" folder:
e.g.,
C:\Users\Username\AppData\Roaming\TuxPaint\saved
e.g., C:\Users\Username\AppData\Roaming\TuxPaint\saved
macOS
In the user's "Application Support" folder:
e.g., /Users/Username/Library/Applicaton
Support/TuxPaint/saved/
e.g., /Users/Username/Library/Applicaton Support/TuxPaint/saved/
Linux / Unix
In the user's home directory ("$HOME"), under a
".tuxpaint" subfolder:
In the user's home directory ("$HOME"), under a ".tuxpaint" subfolder:
e.g., /home/username/.tuxpaint/saved/
The images are stored as PNG bitmaps, which most modern programs
should be able to load (image editors, word processors, web
browsers, etc.)
The images are stored as PNG bitmaps, which most modern programs should be
able to load (image editors, word processors, web browsers, etc.)
Tux Paint always saves over my old picture
The "save over" option is enabled. (This disables the prompt that
would appear when you click 'Save.')
The "save over" option is enabled. (This disables the prompt that would
appear when you click 'Save.')
If you're running Tux Paint from a command-line, make sure you're
not giving it a "--saveover" option.
If you're running Tux Paint from a command-line, make sure you're not
giving it a "--saveover" option.
If you're running Tux Paint by double-clicking an icon, check the
properties of the icon to see if "--saveover" is listed as a
command-line argument.
properties of the icon to see if "--saveover" is listed as a command-line
argument.
If a "--saveover" option isn't being sent on the command line,
check Tux Paint's configuration file for a line reading:
"saveover=yes".
If a "--saveover" option isn't being sent on the command line, check Tux
Paint's configuration file for a line reading: "saveover=yes".
Either remove that line, or simply run Tux Paint with the
command-line argument: "--saveoverask", which will override the
configuration file's setting.
Either remove that line, or simply run Tux Paint with the command-line
argument: "--saveoverask", which will override the configuration file's
setting.
Or use Tux Paint Config. and make sure "Ask Before Overwriting"
(under "保存") is checked.
Or use Tux Paint Config. and make sure "Ask Before Overwriting" (under "保
存") is checked.
Also, see "Tux Paint always saves a new picture!", below.
Tux Paint always saves a new picture!
The "never save over" option is enabled. (This disables the prompt
that would appear when you click 'Save.')
The "never save over" option is enabled. (This disables the prompt that
would appear when you click 'Save.')
If you're running Tux Paint from a command-line, make sure you're
not giving it a "--saveovernew" option.
If you're running Tux Paint from a command-line, make sure you're not
giving it a "--saveovernew" option.
If you're running Tux Paint by double-clicking an icon, check the
properties of the icon to see if "--saveovernew" is listed as a
command-line argument.
If a "--saveovernew" option isn't being sent on the command line,
check Tux Paint's configuration file for a line reading:
"saveover=new".
If a "--saveovernew" option isn't being sent on the command line, check Tux
Paint's configuration file for a line reading: "saveover=new".
Either remove that line, or simply run Tux Paint with the
command-line argument: "--saveoverask", which will override the
configuration file's setting.
Either remove that line, or simply run Tux Paint with the command-line
argument: "--saveoverask", which will override the configuration file's
setting.
Or use Tux Paint Config. and make sure "Ask Before Overwriting"
(under "保存") is checked.
Or use Tux Paint Config. and make sure "Ask Before Overwriting" (under "保
存") is checked.
Also, see "Tux Paint always saves over my old picture!", above.
----------------------------------------------------------------------
-------------------------------------------------------------------------------
Audio Problems
There's no sound!
* First, check the obvious:
* Are your speakers connected and turned on?
* Is the volume turned up on your speakers?
* Is the volume turned up in your Operating System's
"mixer?"
* Are you certain you're using a computer with a sound
card?
* Are any other programs running that use sound? (They may
be 'blocking' Tux Paint from accessing your sound
device)
* (Unix/Linux) Are you using a sound system, such as aRts,
ESD or GStreamer? If so, try setting the
"SDL_AUDIODRIVER" environment variable before running
Tux Paint (e.g., "export SDL_AUDIODRIVER=arts"). Or, run
Tux Paint through the system's rerouter (e.g., run
"artsdsp tuxpaint" or "esddsp tuxpaint", instead of
simply "tuxpaint").
* Is sound disabled in Tux Paint?
+ First, check the obvious:
o Are your speakers connected and turned on?
o Is the volume turned up on your speakers?
o Is the volume turned up in your Operating System's "mixer?"
o Are you certain you're using a computer with a sound card?
o Are any other programs running that use sound? (They may be
'blocking' Tux Paint from accessing your sound device)
o (Unix/Linux) Are you using a sound system, such as aRts, ESD or
GStreamer? If so, try setting the "SDL_AUDIODRIVER" environment
variable before running Tux Paint (e.g., "export SDL_AUDIODRIVER=
arts"). Or, run Tux Paint through the system's rerouter (e.g., run
"artsdsp tuxpaint" or "esddsp tuxpaint", instead of simply
"tuxpaint").
+ Is sound disabled in Tux Paint?
If sound seems to work otherwise (and you're sure no other
program is "blocking" the sound device), then Tux Paint may
be running with a "no sound" option.
If sound seems to work otherwise (and you're sure no other program is
"blocking" the sound device), then Tux Paint may be running with a "no
sound" option.
If you're running Tux Paint from a command-line, make sure
you're not giving it a "--nosound" option.
If you're running Tux Paint from a command-line, make sure you're not
giving it a "--nosound" option.
If you're running Tux Paint by double-clicking an icon, check
the properties of the icon to see if "--nosound" is listed as
a command-line argument.
If you're running Tux Paint by double-clicking an icon, check the
properties of the icon to see if "--nosound" is listed as a
command-line argument.
If a "--nosound" option isn't being sent on the command line,
check Tux Paint's configuration file for a line reading:
"nosound=yes".
If a "--nosound" option isn't being sent on the command line, check Tux
Paint's configuration file for a line reading: "nosound=yes".
Either remove that line, or simply run Tux Paint with the
command-line argument: "--sound", which will override the
configuration file's setting.
Either remove that line, or simply run Tux Paint with the command-line
argument: "--sound", which will override the configuration file's
setting.
Or, you can simply run Tux Paint with the command-line
argument: "Enable Sound Effects", which will override the
configuration file's setting, and allow unlimited printing.
(You won't have to wait between prints.)
Or, you can simply run Tux Paint with the command-line argument:
"Enable Sound Effects", which will override the configuration file's
setting, and allow unlimited printing. (You won't have to wait between
prints.)
* Were sounds temporarily disabled?
+ Were sounds temporarily disabled?
Even if sounds are enabled in Tux Paint, it is possible to
disable and re-enable them temporarily using the [Alt] + [S]
key sequence. Try pressing those keys to see if sounds begin
working again.
Even if sounds are enabled in Tux Paint, it is possible to disable and
re-enable them temporarily using the [Alt] + [S] key sequence. Try
pressing those keys to see if sounds begin working again.
* Was Tux Paint built without sound support?
+ Was Tux Paint built without sound support?
Tux Paint may have been compiled with sound support disabled.
To test whether sound support was enabled when Tux Paint was
compiled, run Tux Paint from a command line, like so:
Tux Paint may have been compiled with sound support disabled. To test
whether sound support was enabled when Tux Paint was compiled, run Tux
Paint from a command line, like so:
tuxpaint --verbose-version
If, amongst the other information, you see "Sound disabled",
then the version of Tux Paint you're running has sound
disabled. Recompile Tux Paint, and be sure NOT to build the
"nosound" target. (i.e., don't run "make nosound") Be sure
the SDL_mixer library and its development headers are
available!
If, amongst the other information, you see "Sound disabled", then the
version of Tux Paint you're running has sound disabled. Recompile Tux
Paint, and be sure NOT to build the "nosound" target. (i.e., don't run
"make nosound") Be sure the SDL_mixer library and its development
headers are available!
Tux Paint makes too much noise! Can I turn them off?
Yes, there are a number of ways to disable sounds in Tux Paint:
* Press [Alt] + [S] while in Tux Paint to temporarily disable
sounds. (Press that key sequence again to re-enable sounds.)
* Run Tux Paint with the "no sound" option:
* Run "tuxpaint --nosound" from the command line or
shortcut or desktop icon.
* Edit Tux Paint's configuration file (see "Options
Documentation" for details) and add a line containing
"nosound=yes".
* Or use Tux Paint Config. and make sure "Enable Sound
Effects" (under "Video & Sound") is not checked.
* Alternatively, recompile Tux Paint with sound support
disabled. (See above, and the 'Install' documentation.
+ Press [Alt] + [S] while in Tux Paint to temporarily disable sounds.
(Press that key sequence again to re-enable sounds.)
+ Run Tux Paint with the "no sound" option:
o Run "tuxpaint --nosound" from the command line or shortcut or
desktop icon.
o Edit Tux Paint's configuration file (see "Options Documentation"
for details) and add a line containing "nosound=yes".
o Or use Tux Paint Config. and make sure "Enable Sound Effects"
(under "Video & Sound") is not checked.
o Alternatively, recompile Tux Paint with sound support disabled.
(See above, and the 'Install' documentation.
The stereo panning of sound effects is bothersome; can sound effects be
monophonic?
Run Tux Paint with the "no stereo" option:
* Run "tuxpaint --nostereo" from the command line or shortcut
or desktop icon.
* Edit Tux Paint's configuration file (see "Options
Documentation" for details) and add a line containing
"nostereo=yes".
* Or use Tux Paint Config. and make sure "Enable Stereo
Effects" (under "Video & Sound") is not checked.
+ Run "tuxpaint --nostereo" from the command line or shortcut or desktop
icon.
+ Edit Tux Paint's configuration file (see "Options Documentation" for
details) and add a line containing "nostereo=yes".
+ Or use Tux Paint Config. and make sure "Enable Stereo Effects" (under
"Video & Sound") is not checked.
The sound effects sound strange
This could have to do with how SDL and SDL_mixer were initialized.
(The buffer size chosen.)
This could have to do with how SDL and SDL_mixer were initialized. (The
buffer size chosen.)
Please e-mail us with details about your computer system.
(Operating system and version, sound card, which version of Tux
Paint you're running (run "tuxpaint --version" to verify), and so
on.)
Please e-mail us with details about your computer system. (Operating system
and version, sound card, which version of Tux Paint you're running (run
"tuxpaint --version" to verify), and so on.)
----------------------------------------------------------------------
-------------------------------------------------------------------------------
Fullscreen Mode Problems
When I run Tux Paint full-screen and [Alt] + [Tab] out, the window turns
black!
When I run Tux Paint full-screen and [Alt] + [Tab] out, the window turns black!
This is apparently a bug in the SDL library. Sorry.
When I run Tux Paint full-screen, it has large borders around it
Linux users - Your X-Window server is probably not set with the
ability to switch to the desired resolution: 800×600. (or whatever
resolution you have Tux Paint set to run at.) (This is typically
done manually under the X-Window server by pressing [Control] +
[Alt] + [Keypad Plus (+)] and [Control] + [Alt] + [Keypad Minus
(-)].)
Linux users - Your X-Window server is probably not set with the ability to
switch to the desired resolution: 800×600. (or whatever resolution you have
Tux Paint set to run at.) (This is typically done manually under the
X-Window server by pressing [Control] + [Alt] + [Keypad Plus (+)] and
[Control] + [Alt] + [Keypad Minus (-)].)
For this to work, your monitor must support that resolution, and
you need to have it listed in your X server configuration.
For this to work, your monitor must support that resolution, and you need
to have it listed in your X server configuration.
Check the "Display" subsection of the "Screen" section of your
XFree86 or X.org configuration file (typically
"/etc/X11/XF86Config-4" or "/etc/X11/XF86Config", depending on the
version of XFree86 you're using; 3.x or 4.x, respectively, or
"/etc/X11/xorg.conf" for X.org).
Check the "Display" subsection of the "Screen" section of your XFree86 or
X.org configuration file (typically "/etc/X11/XF86Config-4" or "/etc/X11/
XF86Config", depending on the version of XFree86 you're using; 3.x or 4.x,
respectively, or "/etc/X11/xorg.conf" for X.org).
Add "800x600" (or whatever resolution(s) you want) to the
appropriate "Modes" line. (e.g., in the "Display" subsection that
contains 24-bit color depth ("Depth 24"), which is what Tux Paint
tries to use.)
Add "800x600" (or whatever resolution(s) you want) to the appropriate
"Modes" line. (e.g., in the "Display" subsection that contains 24-bit color
depth ("Depth 24"), which is what Tux Paint tries to use.)
Modes "1280x1024" "1024x768" "800x600" "640x480"
Note that some Linux distributions have tools that can make these
changes for you. Debian users can run the command
"dpkg-reconfigure xserver-xfree86" as root, for example.
Note that some Linux distributions have tools that can make these changes
for you. Debian users can run the command "dpkg-reconfigure
xserver-xfree86" as root, for example.
Tux Paint keeps running in Full Screen mode - I want it windowed!
The "fullscreen" option is set.
If you're running Tux Paint from a command-line, make sure you're
not giving it a "--fullscreen" option.
If you're running Tux Paint from a command-line, make sure you're not
giving it a "--fullscreen" option.
If you're running Tux Paint by double-clicking an icon, check the
properties of the icon to see if "--fullscreen" is listed as a
command-line argument.
properties of the icon to see if "--fullscreen" is listed as a command-line
argument.
If a "--fullscreen" option isn't being sent on the command line,
check Tux Paint's configuration file for a line reading:
"fullscreen=yes".
If a "--fullscreen" option isn't being sent on the command line, check Tux
Paint's configuration file for a line reading: "fullscreen=yes".
Either remove that line, or simply run Tux Paint with the
command-line argument: "--windowed", which will override the
configuration file's setting.
Either remove that line, or simply run Tux Paint with the command-line
argument: "--windowed", which will override the configuration file's
setting.
Or use Tux Paint Config. and make sure "Fullscreen" (under "Video
& Sound") is not checked.
Or use Tux Paint Config. and make sure "Fullscreen" (under "Video & Sound")
is not checked.
----------------------------------------------------------------------
-------------------------------------------------------------------------------
Other Problems
Tux Paint won't run
If Tux Paint aborts with the message: "You're already running a
copy of Tux Paint!", this means it has been launched in the last
30 seconds. (On Unix/Linux, this message would appear in a
terminal console if you ran Tux Paint from a command-line. On
Windows, this message would appear in a file named "stdout.txt" in
the same folder where TuxPaint.exe resides (e.g., in "C:\Program
Files\TuxPaint").
If Tux Paint aborts with the message: "You're already running a copy of Tux
Paint!", this means it has been launched in the last 30 seconds. (On Unix/
Linux, this message would appear in a terminal console if you ran Tux Paint
from a command-line. On Windows, this message would appear in a file named
"stdout.txt" in the same folder where TuxPaint.exe resides (e.g., in "C:\
Program Files\TuxPaint").
A lockfile ("~/.tuxpaint/lockfile.dat" on Linux and Unix,
"userdata\lockfile.dat" on Windows) is used to make sure Tux Paint
isn't run too many times at once (e.g., due to a child impatiently
clicking its icon more than once).
A lockfile ("~/.tuxpaint/lockfile.dat" on Linux and Unix, "userdata\
lockfile.dat" on Windows) is used to make sure Tux Paint isn't run too many
times at once (e.g., due to a child impatiently clicking its icon more than
once).
Even if the lockfile exists, it contains the 'time' Tux Paint was
last run. If it's been more than 30 seconds, Tux Paint should run
fine, and simply update the lockfile with the current time.
Even if the lockfile exists, it contains the 'time' Tux Paint was last run.
If it's been more than 30 seconds, Tux Paint should run fine, and simply
update the lockfile with the current time.
If multiple users are sharing the directory where this file is stored
(e.g., on a shared network drive), then you'll need to disable this
feature.
To disable the lockfile, add the "--nolockfile" argument to Tux Paint's
command-line, or "nolockfile=yes" to the configuration file.
If multiple users are sharing the directory where this file is
stored (e.g., on a shared network drive), then you'll need to
disable this feature.
To disable the lockfile, add the "--nolockfile" argument to Tux
Paint's command-line, or "nolockfile=yes" to the configuration
file.
I can't quit Tux Paint
The "no quit" option is set. This disables the "Quit" button in
Tux Paint's toolbar (greying it out), and prevents Tux Paint from
being exited via the [Escape] key.
The "no quit" option is set. This disables the "Quit" button in Tux Paint's
toolbar (greying it out), and prevents Tux Paint from being exited via the
[Escape] key.
If Tux Paint is not in fullscreen mode, simply click the window
close button on Tux Paint's title bar. (i.e., the "ⓧ" at the upper
right.)
If Tux Paint is not in fullscreen mode, simply click the window close
button on Tux Paint's title bar. (i.e., the "ⓧ" at the upper right.)
If Tux Paint is in fullscreen mode, you will need to use the [Shift] +
[Control] + [Escape] sequence on the keyboard to quit Tux Paint.
(Note: with or without "no quit" set, you can always use the [Alt] + [F4]
combination on your keyboard to quit Tux Paint.)
If Tux Paint is in fullscreen mode, you will need to use the
[Shift] + [Control] + [Escape] sequence on the keyboard to quit
Tux Paint.
(Note: with or without "no quit" set, you can always use the [Alt]
+ [F4] combination on your keyboard to quit Tux Paint.)
I don't want "no quit" mode enabled!
If you're running Tux Paint from a command-line, make sure you're
not giving it a "--noquit" option.
If you're running Tux Paint from a command-line, make sure you're not
giving it a "--noquit" option.
If you're running Tux Paint by double-clicking an icon, check the
properties of the icon to see if "--noquit" is listed as a
command-line argument.
properties of the icon to see if "--noquit" is listed as a command-line
argument.
If a "--noquit" option isn't being sent on the command line, check
Tux Paint's configuration file for a line reading: "noquit=yes".
If a "--noquit" option isn't being sent on the command line, check Tux
Paint's configuration file for a line reading: "noquit=yes".
Either remove that line, or simply run Tux Paint with the command-line
argument: "--quit", which will override the configuration file's setting.
Or use Tux Paint Config. and make sure "Disable Quit Button and [Escape]
Key" (under "単純化") is not checked.
Either remove that line, or simply run Tux Paint with the
command-line argument: "--quit", which will override the
configuration file's setting.
Or use Tux Paint Config. and make sure "Disable Quit Button and
[Escape] Key" (under "単純化") is not checked.
Tux Paint keeps writing weird messages to the screen / to a text file
A few messages are normal, but if Tux Paint is being extremely
verbose (like listing the name of every rubber-stamp image it
finds while loading them), then it was probably compiled with
debugging output turned on.
A few messages are normal, but if Tux Paint is being extremely verbose
(like listing the name of every rubber-stamp image it finds while loading
them), then it was probably compiled with debugging output turned on.
To change this, you must rebuild Tux Paint from source. Be sure to
remove or comment out any line that says:
To change this, you must rebuild Tux Paint from source. Be sure to remove
or comment out any line that says:
#define DEBUG
in the "tuxpaint.c" file in the "src" directory.
Tux Paint is using options I didn't specify!
By default, Tux Paint first looks at configuration files for
options.
By default, Tux Paint first looks at configuration files for options.
* Windows
+ Windows
Under Windows, Tux Paint first examines the configuration
file:
Under Windows, Tux Paint first examines the configuration file:
tuxpaint.cfg
Finally, any options sent as command-line arguments are used.
* macOS
+ macOS
* Unix and Linux
+ Unix and Linux
Under Unix and Linux, it first examines the system-wide
configuration file, located here:
Under Unix and Linux, it first examines the system-wide configuration
file, located here:
/etc/tuxpaint/tuxpaint.conf
@ -572,19 +571,19 @@ Other Problems
Finally, any options sent as command-line arguments are used.
* Haiku
+ Haiku
This means that if anything is set in a configuration file that
you don't want set, you'll need to either change the config. file
(if you can), or override the option on the command-line.
This means that if anything is set in a configuration file that you don't
want set, you'll need to either change the config. file (if you can), or
override the option on the command-line.
For example, on Linux and Unix, if "/etc/tuxpaint/tuxpaint.conf"
includes this option to disable sound...
For example, on Linux and Unix, if "/etc/tuxpaint/tuxpaint.conf" includes
this option to disable sound...
nosound=yes
...then you can reenable sound by either adding this option to
your own ".tuxpaintrc" file:
...then you can reenable sound by either adding this option to your own
".tuxpaintrc" file:
sound=yes
@ -592,24 +591,27 @@ Other Problems
--sound
Linux and Unix users can also disable the system-wide
configuration file by including the following command-line
argument:
Linux and Unix users can also disable the system-wide configuration file by
including the following command-line argument:
--nosysconfig
Tux Paint will then only look at "~/.tuxpaintrc" and command-line
arguments to determine what options should be set.
Tux Paint will then only look at "~/.tuxpaintrc" and command-line arguments
to determine what options should be set.
----------------------------------------------------------------------
-------------------------------------------------------------------------------
Help / Contact
Any questions you don't see answered? Please let us know! You can
subscribe and post to our "tuxpaint-users" mailing list:
Any questions you don't see answered? Please let us know! You can subscribe and
post to our "tuxpaint-users" mailing list:
https://tuxpaint.org/lists/
Or, contact lead developer Bill Kendrick directly:
bill@newbreedsoftware.com

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -10,79 +10,83 @@
About PNGs
PNG is the Portable Network Graphic format. It is an open standard, not
burdened by patents (like GIFs). It is a highly compressed format (though
not "lossy" like JPEGs - lossiness allows files to be much smaller, but
introduces 'mistakes' in the image when saved), and supports 24-bit color
(16.7 million colors) as well as a full "alpha channel" - that is, each
pixel can have a varying degree of transparency.
burdened by patents (like GIFs). It is a highly compressed format (though not
"lossy" like JPEGs - lossiness allows files to be much smaller, but introduces
'mistakes' in the image when saved), and supports 24-bit color (16.7 million
colors) as well as a full "alpha channel" - that is, each pixel can have a
varying degree of transparency.
For more information, visit: http://www.libpng.org/
These features (openness, losslessness, compression, transparency/alpha)
make it the best choice for Tux Paint. (Tux Paint's support for the PNG
format comes from the Open Source SDL_Image library, which in turn gets it
from the libPNG library.)
These features (openness, losslessness, compression, transparency/alpha) make
it the best choice for Tux Paint. (Tux Paint's support for the PNG format comes
from the Open Source SDL_Image library, which in turn gets it from the libPNG
library.)
Support for many colors allows photo-quality "rubber stamp" images to be
used in Tux Paint, and alpha transparency allows for high-quality brushes.
Support for many colors allows photo-quality "rubber stamp" images to be used
in Tux Paint, and alpha transparency allows for high-quality brushes.
How To Make PNGs
The following is a very brief list of ways to create PNGs or convert
existing images into PNGs.
The following is a very brief list of ways to create PNGs or convert existing
images into PNGs.
GIMP & Krita
Excellent tools with which to create PNG images for use in Tux
Paint are GIMP and Krita, both high-quality Open Source
interactive drawing and photo editing programs.
Excellent tools with which to create PNG images for use in Tux Paint are
GIMP and Krita, both high-quality Open Source interactive drawing and photo
editing programs.
It is likely that one or both are already installed on your system. If not,
they should be readily available from your Linux distribution's software
repository. If not, or to learn more, visit http://www.gimp.org/ and http:/
/www.krita.org/, respectively.
It is likely that one or both are already installed on your
system. If not, they should be readily available from your Linux
distribution's software repository. If not, or to learn more,
visit http://www.gimp.org/ and http://www.krita.org/,
respectively.
Command-line Tools
NetPBM
The Portable Bitmap tools (collectively known as
"NetPBM") is a collection of Open Source command-line
tools which convert to and from various formats,
including GIF, TIFF, BMP, PNG, and many more.
The Portable Bitmap tools (collectively known as "NetPBM") is a
collection of Open Source command-line tools which convert to and from
various formats, including GIF, TIFF, BMP, PNG, and many more.
It is possible that it's already installed on your system. If not, they
it be readily available from your Linux distribution's software
repository. If not, or to learn more, visit http://
netpbm.sourceforge.net/.
It is possible that it's already installed on your
system. If not, they it be readily available from
your Linux distribution's software repository. If
not, or to learn more, visit
http://netpbm.sourceforge.net/.
cjpeg/djpeg
The "cjpeg" and "djpeg" command-line programs convert
between the NetPBM Portable Any Map (PNM) format and
JPEGs. It is possible that it's already installed on
your system. If not, they it be readily available
from your Linux distribution's software repository.
If not, or to learn more, visit
https://jpegclub.org/.
The "cjpeg" and "djpeg" command-line programs convert between the
NetPBM Portable Any Map (PNM) format and JPEGs. It is possible that
it's already installed on your system. If not, they it be readily
available from your Linux distribution's software repository. If not,
or to learn more, visit https://jpegclub.org/.
Proprietary Software for Windows
* CorelDRAW (Corel) — http://www.corel.com/
* Illustrator (Adobe) —
http://www.adobe.com/products/illustrator.html
* Paint Shop Pro (Corel) — https://www.paintshoppro.com/
* Photoshop (Adobe) —
http://www.adobe.com/products/photoshop.html
* PIXresizer (Bluefive software) —
http://bluefive.pair.com/pixresizer.htm
+ CorelDRAW (Corel) — http://www.corel.com/
+ Illustrator (Adobe) — http://www.adobe.com/products/illustrator.html
+ Paint Shop Pro (Corel) — https://www.paintshoppro.com/
+ Photoshop (Adobe) — http://www.adobe.com/products/photoshop.html
+ PIXresizer (Bluefive software) — http://bluefive.pair.com/
pixresizer.htm
Macintosh Users
* CorelDRAW (Corel) — http://www.corel.com/
* GraphicConverter (Lemke Software) —
https://www.lemkesoft.de/mac-fotobearbeitung-mac-diashow-mac-grafikprogramm-mac-bildbetrachter/
* Illustrator (Adobe) —
http://www.adobe.com/products/illustrator.html
* Photoshop (Adobe) —
http://www.adobe.com/products/photoshop.html
+ CorelDRAW (Corel) — http://www.corel.com/
+ GraphicConverter (Lemke Software) — https://www.lemkesoft.de/
mac-fotobearbeitung-mac-diashow-mac-grafikprogramm-mac-bildbetrachter/
+ Illustrator (Adobe) — http://www.adobe.com/products/illustrator.html
+ Photoshop (Adobe) — http://www.adobe.com/products/photoshop.html

File diff suppressed because it is too large Load diff

View file

@ -7,47 +7,51 @@
2022年6月 4日
Tux Paint responds to the following signals (which can be sent to the
program's process via `kill` or `killall`, for example).
Tux Paint responds to the following signals (which can be sent to the program's
process via `kill` or `killall`, for example).
SIGTERM (also, [Control] + [C] from a terminal running `tuxpaint`)
Tux Paint responds as if the "Quit" button were pressed, or the
desktop environment was told to close Tux Paint (e.g., by clicking
a window close button, or pressing [Alt] + [F4] on most systems).
Tux Paint responds as if the "Quit" button were pressed, or the desktop
environment was told to close Tux Paint (e.g., by clicking a window close
button, or pressing [Alt] + [F4] on most systems).
From the main interface, Tux Paint will prompt whether or not you
wish to quit, and (unless overridden by the auto-save option, e.g.
"--autosave") if you'd like to save the current drawing (if
unsaved), and if so, and it's a modified version of an existing
drawing (unless overridden by the options to save over old images,
or always save new images; e.g. "--saveover" and "--saveovernew",
respectively), whether or not to overwrite the existing drawing,
or save to a new file.
From the main interface, Tux Paint will prompt whether or not you wish to
quit, and (unless overridden by the auto-save option, e.g. "--autosave") if
you'd like to save the current drawing (if unsaved), and if so, and it's a
modified version of an existing drawing (unless overridden by the options
to save over old images, or always save new images; e.g. "--saveover" and
"--saveovernew", respectively), whether or not to overwrite the existing
drawing, or save to a new file.
例: killall tuxpaint
💡 Note: From other parts of the interface, the signal is currently
interpreted as a request to go back (e.g., from the "New" dialog
back to the main interface), as if a "Back" button in Tux Paint
were clicked, or the [Esc] was key pressed.
interpreted as a request to go back (e.g., from the "New" dialog back to
the main interface), as if a "Back" button in Tux Paint were clicked, or
the [Esc] was key pressed.
SIGUSR1 & SIGUSR2
Tux Paint responds by setting its auto-save option (as if it had
been launched with "--autosave"), as well as either the option to
always save new images (as if launched with "--saveovernew") in
the case of receiving a SIGUSR1 signal, or to always save over the
existing image (as if launched with "--saveover") in the case of
receiving SIGUSR2. Then Tux Paint sends itself a SIGTERM signal,
in an attempt to quit. (See above.)
Tux Paint responds by setting its auto-save option (as if it had been
launched with "--autosave"), as well as either the option to always save
new images (as if launched with "--saveovernew") in the case of receiving a
SIGUSR1 signal, or to always save over the existing image (as if launched
with "--saveover") in the case of receiving SIGUSR2. Then Tux Paint sends
itself a SIGTERM signal, in an attempt to quit. (See above.)
So, from the main interface, Tux Paint should quit almost
immediately, with no questions asked.
So, from the main interface, Tux Paint should quit almost immediately, with
no questions asked.
例: killall -s SIGUSR1 tuxpaint
💡 Note: From other parts of the interface, unfortunately, Tux
Paint will go back one level in the interface. Therefore, at this
time, it may be necessary to send this signal to Tux Paint a few
times, for it to quit completely.
💡 Note: From other parts of the interface, unfortunately, Tux Paint will go
back one level in the interface. Therefore, at this time, it may be
necessary to send this signal to Tux Paint a few times, for it to quit
completely.

View file

@ -10,27 +10,28 @@
About SVGs
SVG (Scalable Vector Graphics) is an open standard used to describe
two-dimensional vector graphics. It is great for diagrams and shapes,
while PNGs are better for photographs. SVG files are a bit like
instructions on how to make an image. This means that they can be resized
without looking pixelated or blocky.
two-dimensional vector graphics. It is great for diagrams and shapes, while
PNGs are better for photographs. SVG files are a bit like instructions on how
to make an image. This means that they can be resized without looking pixelated
or blocky.
For more information, visit: https://www.w3.org/Graphics/SVG/
How to make SVGs
An excellent tool with which to create SVG images for use in Tux Paint is
Inkscape, a high-quality Open Source interactive drawing program available
for Windows, macOS, and Linux. There are also other applications that can
produce SVGs, both free/open source, and commerical/proprietary.
Inkscape, a high-quality Open Source interactive drawing program available for
Windows, macOS, and Linux. There are also other applications that can produce
SVGs, both free/open source, and commerical/proprietary.
Open Source
* Inkscape — http://www.inkscape.org/
* Karbon — https://calligra.org/karbon/
+ Inkscape — http://www.inkscape.org/
+ Karbon — https://calligra.org/karbon/
Proprietary
* CorelDRAW (Corel) — https://www.coreldraw.com/en/
* Illustrator (Adobe) —
http://www.adobe.com/products/illustrator.html
* Boxy SVG — https://boxy-svg.com/
* Sketch (Sketch B.V.) — https://boxy-svg.com/
+ CorelDRAW (Corel) — https://www.coreldraw.com/en/
+ Illustrator (Adobe) — http://www.adobe.com/products/illustrator.html
+ Boxy SVG — https://boxy-svg.com/
+ Sketch (Sketch B.V.) — https://boxy-svg.com/

View file

@ -5,7 +5,8 @@
🖌ふで
* 右側のブラシを選択します。
* ブラシには、アニメーションするもの 🎞, 方向があるもの ✲ があり、両方を併せ持つブラシもあります。
* ブラシには、アニメーションするもの 🎞, 方向があるもの ✲ があり、両方を併せ持
つブラシもあります。
* 右下のバー 📶 でブラシの間隔を変更します。
* 色を選択します("色" のセクションを参照)
* キャンバスをクリックまたはタップしてドラッグし、描画します。
@ -14,14 +15,18 @@
* 右下の左右の矢印のボタン ⇦⇨ で、カテゴリを切り替えます。
* 右側のスタンプを選択してください。
* スタンプの中には、右下の操作ボタンを使って、上下 🪞 左右 ↕ に反転させることができるものがあります。
* スタンプの中には、右下の操作ボタンを使って、上下 🪞 左右 ↕ に反転させること
ができるものがあります。
* 色を変えられるスタンプもあります("色" のセクションを参照)
* 右下のバー 📶 でスタンプのサイズを変更します。
* 回転 ⟳ は、お好みに応じて有効にすることができます。
* キャンバスをクリックまたはタップしてスタンプの位置を決めます。
* 回転が有効に設定されている場合、ドラッグして回転させ、もう一度クリックまたはタップして描画します。
* 効果音があるスタンプでは、スピーカー 🕪 ボタンを押すと、もう一度聞くことができます。
* 音声解説付きのスタンプもあります。ヘッドフォン 🎧 ボタンを押すと、もう一度聞くことができます。
+ 回転が有効に設定されている場合、ドラッグして回転させ、もう一度クリック
またはタップして描画します。
* 効果音があるスタンプでは、スピーカー 🕪 ボタンを押すと、もう一度聞くことがで
きます。
* 音声解説付きのスタンプもあります。ヘッドフォン 🎧 ボタンを押すと、もう一度聞
くことができます。
⚟せん
@ -31,7 +36,8 @@
⭓かたち
* 右側の図形を選択してください。
* 右下のコントロールを使用して、図形を中心 ⧈ から広げるかコーナー ◰ から広げるかを選択します。
* 右下のコントロールを使用して、図形を中心 ⧈ から広げるかコーナー ◰ から広げ
るかを選択します。
* クリックまたはタップして位置を決め、ドラッグして大きさを変えます。
* ドラッグして回転させ、もう一度クリックまたはタップして描画します。
@ -43,41 +49,55 @@
* 色を選択します("色" のセクションを参照)
* キャンバスをクリックまたはタップして、入力カーソルの位置を決めます。
* キーボードまたはスクリーンキーボードを使用してテキストを入力します。
* テキストの位置を変更したい場合は、キャンバスをもう一度クリックまたはタップします。
* [Enter]/[Return] を押すか、⮨ をクリックまたはタップするとテキストが追加され、次の行の入力が開始されます。
* [Tab] を押すか ⟷ をクリック/タップすれば、テキストが追加され、すぐ右側に続けてテキストを入力できます。
* テキストの位置を変更したい場合は、キャンバスをもう一度クリックまたはタップ
します。
* [Enter]/[Return] を押すか、⮨ をクリックまたはタップするとテキストが追加され
、次の行の入力が開始されます。
* [Tab] を押すか ⟷ をクリック/タップすれば、テキストが追加され、すぐ右側に続
けてテキストを入力できます。
* スクリーンキーボードの使い方:
* 「Cmp」は文字を合成するために使用できます。たとえば、Cmp ' a は á になります。
* 「AltGr」を使用すると、より多くの文字にすばやくアクセスできます。
* 左右の矢印で、キーボード レイアウトを切り替えます (例: "QWERTY" と "ABC")
+ 「Cmp」は文字を合成するために使用できます。たとえば、Cmp ' a は á にな
ります。
+ 「AltGr」を使用すると、より多くの文字にすばやくアクセスできます。
+ 左右の矢印で、キーボードレイアウトを切り替えます (例: "QWERTY" と
"ABC")
🅰ラベル
* (「もじ」を参照)
* ラベルは絵から離れて「浮いて」います。描画やスタンプでの上書きや、「まほう」の効果などは適用されません。
* ラベルは絵から離れて「浮いて」います。描画やスタンプでの上書きや、「まほう
」の効果などは適用されません。
* ラベルは、後からでも、編集や移動、スタイルの変更ができます。
* 右下の ☝
ボタンをクリックまたはタップして、ラベルを選択します。変更するラベルをクリックまたはタップしてから、キャンバス内の別の場所をクリックまたはタップして位置を変更したり、フォントやスタイル、色を変更したり、タイプしてテキストを編集したりできます。
* 右下にある 🖑 ボタン押すと、ラベルはキャンバスに貼り付けられ、以後は編集できなくなります。
* 右下の ☝ ボタンをクリックまたはタップして、ラベルを選択します。変更するラベ
ルをクリックまたはタップしてから、キャンバス内の別の場所をクリックまたはタ
ップして位置を変更したり、フォントやスタイル、色を変更したり、タイプしてテ
キストを編集したりできます。
* 右下にある 🖑 ボタン押すと、ラベルはキャンバスに貼り付けられ、以後は編集でき
なくなります。
🪣ぬる
* 右側で塗りつぶしモードを選択します。
* 色を選択します("色" のセクションを参照)
* クリックまたはタップして(「ふで」モードと「リニア」モードでは、さらにドラッグして)、閉じたエリアを色で塗りつぶします。
* なし - グラデーション無しの一色で塗りつぶします
* ふで - ブラシを使ってエリアからはみ出さないように塗りつぶします
* リニア - エリアを線形グラデーションで塗りつぶします (ドラッグして角度とグラデーションを選択します)
* ほうしゃ - クリックまたはタップした場所を中心に、放射状のグラデーションでエリアを塗りつぶします
* あわせる - エリアの輪郭に合わせたグラデーションで塗りつぶします。
* クリックまたはタップして(「ふで」モードと「リニア」モードでは、さらにドラ
ッグして)、閉じたエリアを色で塗りつぶします。
+ なし - グラデーション無しの一色で塗りつぶします
+ ふで - ブラシを使ってエリアからはみ出さないように塗りつぶします
+ リニア - エリアを線形グラデーションで塗りつぶします (ドラッグして角度と
グラデーションを選択します)
+ ほうしゃ - クリックまたはタップした場所を中心に、放射状のグラデーション
でエリアを塗りつぶします
+ あわせる - エリアの輪郭に合わせたグラデーションで塗りつぶします。
🪄まほう
* 右側から、使いたい特殊効果ツールを選択します。
* 右下の左右の矢印のボタン ⇦⇨ で、カテゴリを切り替えます。
* クリックまたはタップとドラッグによって描画または効果を適用するツール 〰🪄 と、絵の全体に影響するツール 🖻🪄
があります。両方に対応したツールでは、右下のコントロールでどちらかを選択します。
* 効果のサイズを変更できるツールもあります。右下のバー 📶 でサイズを変更します。
* クリックまたはタップとドラッグによって描画または効果を適用するツール〰🪄 と
、絵の全体に影響するツール 🖻🪄 があります。両方に対応したツールでは、右下の
コントロールでどちらかを選択します。
* 効果のサイズを変更できるツールもあります。右下のバー 📶 でサイズを変更します
* 使う際に色を選べるツールもあります。
🖓とりけし
@ -94,16 +114,20 @@
* 右側から、消しゴムの大きさと形を選びます。
* クリックまたはタップしてドラッグすると、ドラッグした部分が消去されます。
* ショートカット: [X]を押しながらクリックまたはタップ(使用中のツールによっては、ショートカットが無効な場合があります)
* ショートカット: [X]を押しながらクリックまたはタップ(使用中のツールによって
は、ショートカットが無効な場合があります)
制御ツール
🗏さいしょから
* 開始するキャンバスを、単色の背景、スターター画像、テンプレートから選択します。
* スターター画像では、(例えば塗り絵のように)前面のレイヤーの下に描画されます。さらに背景レイヤーを有するものもあります。
* テンプレートは背景レイヤーのみの画像です。
* 消しゴムツール ◪ で消した部分は、単色の背景またはスターター/テンプレートの背面レイヤーが現れます。
* 開始するキャンバスを、単色の背景、スターター画像、テンプレートから選択しま
す。
+ スターター画像では、(例えば塗り絵のように)前面のレイヤーの下に描画さ
れます。さらに背景レイヤーを有するものもあります。
+ テンプレートは背景レイヤーのみの画像です。
+ 消しゴムツール ◪ で消した部分は、単色の背景またはスターター/テンプレー
トの背面レイヤーが現れます。
* 「🕮⮫ひらく」をクリックまたはタップして、新しい描画を開始します。
* 「⤺もどる」をクリックまたはタップすると、元の画面に戻ります。
* ショートカット: [Ctrl]+[N]
@ -111,28 +135,36 @@
🕮⮫ひらく
* 以前に保存した作品を選択して開きます (書き出しや消去もできます)。
* 「🕮⮫ひらく」をクリックまたはタップして、保存した作品を開き、編集を続けます。
* 「🗏⮫エクスポート」をクリックまたはタップして、作品をシステムの「ピクチャ」フォルダに保存します。
* 「🕮⮫ひらく」をクリックまたはタップして、保存した作品を開き、編集を続けます
* 「🗏⮫エクスポート」をクリックまたはタップして、作品をシステムの「ピクチャ」
フォルダに保存します。
* 「🗑けす」をクリックまたはタップして、作品をシステムのごみ箱に移動します。
* 「⤺もどる」をクリックまたはタップすると、元の画面に戻ります。
* 「📽スライド」をクリックまたはタップすると、スライドショー モードに切り替わります:
* 保存された中から、再生したい順に複数の作品をクリックまたはタップして選択します。順序がサムネール上に表示されます。
* 左下のバー 📶 で、再生速度を設定します。
* 「⯈かいし」をクリックまたはタップすると、スライドショー/アニメーションが開始します。
* ここで「🎞かきだす」をクリックまたはタップすると、アニメーションGIF形式のファイルををシステムの「ピクチャ」フォルダに出力します。
* 「⤺もどる」をクリックまたはタップして、「ひらく」ダイアログに戻ります。
* 「📽スライド」をクリックまたはタップすると、スライドショーモードに切り替わり
ます:
+ 保存された中から、再生したい順に複数の作品をクリックまたはタップして選
択します。順序がサムネール上に表示されます。
+ 左下のバー 📶 で、再生速度を設定します。
+ 「⯈かいし」をクリックまたはタップすると、スライドショー/アニメーション
が開始します。
+ ここで「🎞かきだす」をクリックまたはタップすると、アニメーションGIF形式
のファイルををシステムの「ピクチャ」フォルダに出力します。
+ 「⤺もどる」をクリックまたはタップして、「ひらく」ダイアログに戻ります。
* ショートカット: [Ctrl]+[O]
🕮⮪セーブ
* クリックまたはタップして作品を保存します。
* 以前に保存したことがある場合は、既存の作品を上書きするか、新しい作品として保存するかを選択するよう求められます。
* 以前に保存したことがある場合は、既存の作品を上書きするか、新しい作品として
保存するかを選択するよう求められます。
* ショートカット: [Ctrl]+[S]
🖶いんさつ
* クリックまたはタップして、作品を印刷します。
* [Alt] または [Option] を押しながらクリックまたはタップすると、(対応している場合は)システムの印刷ダイアログが表示されます。
* [Alt] または [Option] を押しながらクリックまたはタップすると、(対応してい
る場合は)システムの印刷ダイアログが表示されます。
* ショートカット: [Ctrl]+[P]
🗙やめる
@ -142,21 +174,29 @@
いろ
* クリックまたはタップして、色が選べるツール(ふで、せん、かたちツール、および、はんこ、まほうツール)で使用する色を選択します。
* クリックまたはタップして、色が選べるツール(ふで、せん、かたちツール、およ
び、はんこ、まほうツール)で使用する色を選択します。
* 画像の中から色を選択するには、ピペット/カラーピッカー 💉 ボタンを使います。
* ショートカット: [Ctrl] を押しながらキャンバスをクリックまたはタップすると、画像の中から素早く色を選択できます。
* 虹 🌈 のボタンをクリックまたはタップして、レインボーパレットから、好きな色を選択します。
* 左側の正方形のエリアをクリックまたはタップして色を選択します(色相と彩度を決める)
* 灰色のグラデーション バーをクリックまたはタップして、明るさを調整します。
* 緑のチェックボックス ✓ をクリックまたはタップして決定します。
* 「⤺戻る」をクリックまたはタップして中止し、パレットを閉じます。
* 色がついた矢印 ⇫
の形のボタンをクリックして、カラーパレット、スポイト、カラーミキサーのいずれかで選択した色をセットすることができます。
* 絵の具パレット 🎨 ボタンをクリックまたはタップして、赤、黄、青の3原色と、白(色合い)、グレー(色調)、黒(濃淡)を混ぜて色を作成します。
* 緑のチェックボックス ✓ をクリックまたはタップして決定します。
* カラーミキサーでは「🖓とりけし」および「🖒やりなおし」オプションが使えます。
* 「🗑さいしょから」をクリックまたはタップすると、最初からやり直せます。
* 「⤺戻る」をクリックまたはタップすると、色の作成をを中止してダイアログを終了します。
+ ショートカット: [Ctrl] を押しながらキャンバスをクリックまたはタップする
と、画像の中から素早く色を選択できます。
* 虹 🌈 のボタンをクリックまたはタップして、レインボーパレットから、好きな色を
選択します。
+ 左側の正方形のエリアをクリックまたはタップして色を選択します(色相と彩
度を決める)
+ 灰色のグラデーションバーをクリックまたはタップして、明るさを調整します
+ 緑のチェックボックス ✓ をクリックまたはタップして決定します。
+ 「⤺戻る」をクリックまたはタップして中止し、パレットを閉じます。
+ 色がついた矢印 ⇫ の形のボタンをクリックして、カラーパレット、スポイト、
カラーミキサーのいずれかで選択した色をセットすることができます。
* 絵の具パレット 🎨 ボタンをクリックまたはタップして、赤、黄、青の3原色と、白
(色合い)、グレー(色調)、黒(濃淡)を混ぜて色を作成します。
+ 緑のチェックボックス ✓ をクリックまたはタップして決定します。
+ カラーミキサーでは「🖓とりけし」および「🖒やりなおし」オプションが使えま
す。
+ 「🗑さいしょから」をクリックまたはタップすると、最初からやり直せます。
+ 「⤺戻る」をクリックまたはタップすると、色の作成をを中止してダイアログを
終了します。
描画中に利用できるショートカット:
@ -172,3 +212,4 @@
* [Esc] - ⤺もどるまたは 🗙やめる
最終更新日: 2023年5月 9日