Replacing French w/ new content from tuxpaint-docs

Some already-translated (but very out-of-date) content
has been replaced with not-yet-translated (i.e., English) content.

Translators may want to look at the previous revisions of these
files when translating the new 'tuxpaint-docs' gettext catalog.
Sorry to cause extra work here, if I've done so.
This commit is contained in:
Bill Kendrick 2021-02-05 00:47:45 -08:00
parent 72019b15d1
commit 5cb7d2c277
21 changed files with 13346 additions and 10243 deletions

View file

@ -7,8 +7,7 @@
# Bill Kendrick # Bill Kendrick
# bill@newbreedsoftware.com # bill@newbreedsoftware.com
# #
# Sept. 4, 2005 - December 3, 2017 # Sept. 4, 2005 - February 5, 2020
# $Id$
LINKS_OPTIONS:=-dump -codepage utf8 LINKS_OPTIONS:=-dump -codepage utf8
LINKS:=links $(LINKS_OPTIONS) LINKS:=links $(LINKS_OPTIONS)
@ -20,11 +19,11 @@ COPYING_TEXTFILES:=$(patsubst COPYING/html/%.html,COPYING/%.txt,$(COPYING_HTMLFI
EN_HTMLFILES:=$(wildcard en/html/*.html) EN_HTMLFILES:=$(wildcard en/html/*.html)
EN_TEXTFILES:=$(patsubst en/html/%.html,en/%.txt,$(EN_HTMLFILES)) EN_TEXTFILES:=$(patsubst en/html/%.html,en/%.txt,$(EN_HTMLFILES))
ES_HTMLFILES:=$(wildcard es/html/*.html) ES_HTMLFILES:=$(wildcard es_ES.UTF-8/html/*.html)
ES_TEXTFILES:=$(patsubst es/html/%.html,es/%.txt,$(ES_HTMLFILES)) ES_TEXTFILES:=$(patsubst es_ES.UTF-8/html/%.html,es_ES.UTF-8/%.txt,$(ES_HTMLFILES))
FR_HTMLFILES:=$(wildcard fr/html/*.html) FR_HTMLFILES:=$(wildcard fr_FR.UTF-8/html/*.html)
FR_TEXTFILES:=$(patsubst fr/html/%.html,fr/%.txt,$(FR_HTMLFILES)) FR_TEXTFILES:=$(patsubst fr_FR.UTF-8/html/%.html,fr_FR.UTF-8/%.txt,$(FR_HTMLFILES))
GL_HTMLFILES:=$(wildcard gl/html/*.html) GL_HTMLFILES:=$(wildcard gl/html/*.html)
GL_TEXTFILES:=$(patsubst gl/html/%.html,gl/%.txt,$(GL_HTMLFILES)) GL_TEXTFILES:=$(patsubst gl/html/%.html,gl/%.txt,$(GL_HTMLFILES))
@ -82,10 +81,10 @@ $(COPYING_TEXTFILES): COPYING/%.txt: COPYING/html/%.html
$(EN_TEXTFILES): en/%.txt: en/html/%.html $(EN_TEXTFILES): en/%.txt: en/html/%.html
$(LINKS) $< > $@ $(LINKS) $< > $@
$(ES_TEXTFILES): es/%.txt: es/html/%.html $(ES_TEXTFILES): es_ES.UTF-8/%.txt: es_ES.UTF-8/html/%.html
$(LINKS) $< > $@ $(LINKS) $< > $@
$(FR_TEXTFILES): fr/%.txt: fr/html/%.html $(FR_TEXTFILES): fr_FR.UTF-8/%.txt: fr_FR.UTF-8/html/%.html
$(LINKS) $< > $@ $(LINKS) $< > $@
$(GL_TEXTFILES): gl/%.txt: gl/html/%.html $(GL_TEXTFILES): gl/%.txt: gl/html/%.html

View file

@ -0,0 +1,268 @@
Tux Paint
version 0.9.26 Advanced Stamps 'How-To'
Copyright © 2006-2021 by Albert Cahalan and others; see AUTHORS.
http://www.tuxpaint.org/
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 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
License
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.
Images produced by the US government are Public Domain, but be aware
that the US government sometimes uses other images on the web. Google
image queries including either site:gov or site:mil will supply many
suitable images. (Note: the *.mil sites include non-military content,
too!)
Your own images can be placed in the Public Domain or a suitable
license, such as the Creative Commons CC0 by declaring it so. (Hire a
lawyer if you feel the need for legal advice.)
For personal use, any image you can legitimately modify and use for
your own personal use should be fine.
Image Size and Orientation
You need an image that has a useful orientation. Perspective is an
enemy. Images that show an object from the corner are difficult to fit
into a nice drawing. As a general rule, telephoto side views are the
best. The impossible ideal is that, for example, two wheels of a car
are perfectly hidden behind the other two.
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.)
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
across if you can. You can shrink this later to hide your mistakes.
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.
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.
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.
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:
1. unmodified image (write-protect this if you can)
2. an image you will modify — the "work in progress" layer
3. solid green (write-protect this if you can)
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.
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 [Ctrl]-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).
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.
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.
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).
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.
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).
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.
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:
* 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.
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.
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.
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...
A Safer Way to Save
Drag the mask from the layers dialog to the unused portion of the
toolbar (right after the last drawing tool). This will create a new
image consisting of one layer that contains the mask data. Scale this
as desired, remembering the settings you use. Often you should start
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.)
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
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
same way. Save this image as a NetPBM portable pixmap (".ppm") file.
(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:
pnmtopng -force -compression 9 -alpha mask.pgm fg.ppm >
final-stamp.png

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -1 +1,387 @@
Veuillez voir le "docs/INSTALL.txt" Tux Paint
version 0.9.26
Installation Documentation
Copyright © 2002-2021 by various contributors; see AUTHORS.
http://www.tuxpaint.org/
30 janvier 2021
----------------------------------------------------------------------
Requirements:
libSDL
Tux Paint requires the Simple DirectMedia Layer Library (libSDL), an
Open Source multimedia programming library available under the GNU
Lesser General Public License (LGPL).
Along with libSDL, Tux Paint depends on a number of other SDL 'helper'
libraries: SDL_Image (for graphics files), SDL_TTF and (optionally)
SDL_Pango (for True Type Font support) and, optionally, SDL_Mixer (for
sound effects).
Linux/Unix Users:
The SDL libraries are available as source-code, or as RPM or Debian
packages for various distributions of Linux. They can be downloaded
from:
* libSDL: http://www.libsdl.org/
* SDL_Image: http://www.libsdl.org/projects/SDL_image/
* SDL_TTF: http://www.libsdl.org/projects/SDL_ttf/
* SDL_Pango: http://sourceforge.net/projects/sdlpango/ (optional)
* SDL_Mixer: http://www.libsdl.org/projects/SDL_mixer/ (optional)
They are also typically available along with your Linux distribution
(e.g. on an installation media, or available via package
maintainance software like Debian's "apt").
Note: When installing libraries from packages, be sure to ALSO
install the development versions of the packages. (For example,
install both "SDL-1.2.4.rpm" and "SDL-1.2.4-devel.rpm".)
Other Libraries
Tux Paint also takes advantage of a number of other free, LGPL'd
libraries. Under Linux, just like SDL, they should either already be
installed, or are readily available for installation as part of your
Linux distribution.
libPNG
Tux Paint uses PNG (Portable Network Graphics) format for its data
files. SDL_image will require libPNG be installed.
http://www.libpng.org/pub/png/libpng.html
gettext
Tux Paint uses your system's locale settings along with the
"gettext" library to support various languages (e.g., Spanish).
You'll need the gettext library installed.
http://www.gnu.org/software/gettext/
libpaper (Linux/Unix only)
As of Tux Paint 0.9.17, Tux Paint can determine your system's
default paper size (e.g., A4 or Letter), or can be told to use a
particular paper size, thanks to "libpaper".
https://github.com/naota/libpaper
FriBiDi
Tux Paint's "Text" and also "Label" tools support bidirectional
languages, thanks to the "FriBiDi" library.
http://fribidi.org/
SVG graphics support
As of Tux Paint 0.9.17, Tux Paint can load SVG (Scalable Vector
Graphics) images as stamps. Two sets of libraries are supported, and
SVG support can be completely disabled (via "make SVG_LIB:=")
librsvg-2 & libCairo2 (newer libraries)
* libRSVG 2: http://librsvg.sourceforge.net/
* Cairo 2: http://www.cairographics.org/
* These also depend on the following:
* GdkPixbuf & GLib: http://www.gtk.org/
* Pango: http://www.pango.org/
Older SVG libraries
* libcairo1, libsvg1, & libsvg-cairo1:
http://www.cairographics.org/
* These also depend on the following:
* libxml2: https://gitlab.gnome.org/GNOME/libxml2
Animated GIF Export feature
To support export of animated GIFs (slideshows), the "libimagequant"
library (from the "pngquant2" project) is required.
https://github.com/ImageOptim/libimagequant
NetPBM Tools (optional) No longer used, by default
Under Linux and Unix, earlier versions of Tux Paint used the NetPBM
tools to assist with printing. (A PNG is generated by Tux Paint, and
converted into a PostScript using the 'pngtopnm' and 'pnmtops'
NetPBM command-line tools.)
http://netpbm.sourceforge.net/
Compiling and Installation:
Tux Paint is released under the GNU General Public License (GPL) (see
"COPYING.txt" for details), and therefore the 'source code' to the
program is available freely.
Windows Users:
Compiling:
As of February 2005 (starting with Tux Paint 0.9.15), the "Makefile"
includes support for building on a Windows system using MinGW/MSYS
(http://www.mingw.org/).
After configuring the environment and building and installing all
the dependencies, use these commands, in MSYS, to build, install and
run:
Prior to version 0.9.20:
$ make win32
$ make install-win32
$ tuxpaint
Version 0.9.20 and beyond:
$ make
$ make install
$ tuxpaint
Use the following command to build a version suitable for
redistribution with the installer or in a zip-file:
$ make bdist-win32
Or if building for Win9x/ME:
$ BDIST_WIN9X=1 make bdist-win32
Before any of the above will work, you need to configure the
environment and build or install the libraries that Tux Paint
depends upon. John Popplewell put together some instructions for
doing that here:
http://www.johnnypops.co.uk/tuxpaint/
Read the relevant notes if building for Win9X/ME.
Running the Installer:
Double-click the Tux Paint installer executable (.EXE file) and
follow the instructions.
First, you will be asked to agree to the license. (It is the GNU
General Public License (GPL), which is also available as
"COPYING.txt".)
You will then be asked whether you want to install shortcuts to Tux
Paint in your Windows Start Menu and on your Windows Desktop. (Both
options are set by default.)
Then you will be asked where you wish to install Tux Paint. The
default should be suitable, as long as there is space available.
Otherwise, pick a different location.
At this point, you can click 'Install' to install Tux Paint!
Changing the Settings Using the Shortcut:
To change program settings, right-click on the TuxPaint shortcut and
select 'Properties' (at the bottom).
Make sure the 'Shortcut' tab is selected in the window that appears,
and examine the 'Target:' field. You should see something like this:
"C:\Program Files\TuxPaint\TuxPaint.exe"
You can now add command-line options which will be enabled when you
double-click the icon.
For example, to make the game run in fullscreen mode, with simple
shapes (no rotation option) and in French, add the options (after
'TuxPaint.exe'), like so:
"C:\Program Files\TuxPaint\TuxPaint.exe" -f -s --lang french
(See the main documentation for a full list of available
command-line options.)
If you make a mistake or it all disappears use [Ctrl] + [Z] to undo
or just hit the [Esc] key and the box will close with no changes
made (unless you pushed the "Apply" button!).
When you have finished, click "OK."
If Something Goes Wrong:
If, when you double-click on the shortcut to run Tux Paint, nothing
happens, it is probably because some of these command-line options
are wrong. Open an Explorer like before, and look for a file called
"stderr.txt" in the TuxPaint folder.
It will contain a description of what was wrong. Usually it will
just be due to incorrect character-case (capital 'Z' instead of
lowercase 'z') or a missing (or extra) '-' (dash).
Linux/Unix Users:
Compiling:
Note: Tux Paint does not use autoconf/automake, so there is no
"./configure" script to run. Compiling should be straight-forward
though, assuming everything Tux Paint needs is installed.
To compile the program from source, simply run the following command
from a shell prompt (e.g., "$"):
$ make
Disabling SVG support (and hence Cairo, libSVG, and svg-cairo dependencies):
To disable SVG support (e.g., if your system is not currently
supported by the Cairo library or other SVG-related dependencies),
you can run "make" with "SVG_LIB= SVG_CFLAGS= NOSVGFLAG=NOSVG"
added:
$ make SVG_LIB= SVG_CFLAGS=
Disabling Pango support (and hence Pango, Cairo, etc. dependencies):
Prior to version 0.9.18, Tux Paint used the libSDL_ttf library for
rendering text using TrueType Fonts. Since 0.9.18, libSDL_Pango is
used, as it has much greater support for internationalization.
However, if you wish to disable the use of SDL_Pango, you may do so
running "make" with "SDL_PANGO_LIB=" added:
$ make SDL_PANGO_LIB=
Disabling Sound at Compile-time:
If you don't have a sound card, or would prefer to build the program
with no sound support (and therefore without a the SDL_mixer
dependency), you can run "make" with "SDL_MIXER_LIB=" added:
$ make SDL_MIXER_LIB=
Other options:
Various other options (e.g., installation paths) may be overridden;
see them in "Makefile" for further details.
If you get errors:
If you receive any errors during compile-time, make sure you have
the appropriate libraries installed (see above). If using packaged
versions of the libraries (e.g., RPMs under RedHat or DEBs under
Debian), be sure to get the corresponding "-dev" or "-devel"
packages as well, otherwise you won't be able to compile Tux Paint
(and other programs) from source!
Installng:
Assuming no fatal errors occured, you can now install the program so
that it can be run by users on the system. By default, this must be
done by the "root" user ('superuser'). Switch to "root" by typing
the command:
$ su
Enter "root"'s password at the prompt. You should now be "root"
(with a prompt like "#"). To install the program and its data files,
type:
# make install
Finally, you can switch back to your regular user by exiting
superuser mode:
# exit
Alternatively, you may be able to simply use the "sudo" command
(e.g., on Ubuntu Linux):
$ sudo make install
Note: By default, "tuxpaint", the executable program, is placed in
"/usr/local/bin/". The data files (images, sounds, etc.) are placed
in "/usr/local/share/tuxpaint/".
Changing Where Things Go
You can change where things will go by setting "Makefile"variables
on the command line. "DESTDIR" is used to place output in a
staging area for package creation. "PREFIX" is the basis of where
all other files go, and is, by default, set to "/usr/local".
Other variables are:
BIN_PREFIX
Where the "tuxpaint" binary will be installed. (Set to
"$(PREFIX)/bin" by default - e.g., "/usr/local/bin")
DATA_PREFIX
Where the data files (sound, graphics, brushes, stamps,
fonts) will go, and where Tux Paint will look for them
when it's run. (Set to "$(PREFIX)/share/tuxpaint")
DOC_PREFIX
Where the documentation text files (the "docs" directory)
will go. (Set to "$(PREFIX)/share/doc/tuxpaint")
MAN_PREFIX
Where the manual page for Tux Paint will go. (Set to
"$(PREFIX)/share/man")
ICON_PREFIX — $(PREFIX)/share/pixmaps
X11_ICON_PREFIX — $(PREFIX)/X11R6/include/X11/pixmaps
GNOME_PREFIX — $(PREFIX)/share/gnome/apps/Graphics
KDE_PREFIX — $(PREFIX)/share/applnk/Graphics
Where the icons and launchers (for GNOME and KDE) will go.
LOCALE_PREFIX
Where the translation files for Tux Paint will go, and
where Tux Paint will look for them. (Set to
"$(PREFIX)/share/locale/") (Final location of a
translation file will be under the locale's directory
(e.g., "es" for Spanish), within the "LC_MESSAGES"
subdirectory.)
Note: This list is out of date. See "Makefile" and "Makefile-i18n"
for a complete list.
Debugging:
Debugging (to "STDOUT", e.g. to the terminal, or to a "stdout.txt" file,
on Windows) can be enabled by setting "DEBUG" (and, if verbose logging
is wanted, "VERBOSE") #defines in "src/debug.h".
Uninstalling Tux Paint:
Windows
Using the Uninstaller
If you installed the Start Menu shortcuts (the default), then go to
the TuxPaint folder and select "Uninstall". A box will be displayed
that will confirm that you are about to uninstall Tux Paint and, if
you are certain that you want to permanently remove Tux Paint, click
on the 'Uninstall' button.
When it has finished, click on the close button.
Using the Control Panel
It is also possible to use the entry "TuxPaint (remove only)" in the
Control Panel Add/Remove programs section.
Linux
Within the Tux Paint source directory (where you compiled Tux Paint),
you can use the "make uninstall" target to uninstall Tux Paint. By
default, this must be done by the "root" user ('superuser'), but if
you installed Tux Paint somewhere else (e.g., using a "PREFIX=..."
setting to "make" and "make install"), you may not, and will want to
provide those same settings here. (See the installation instructions
above for further information.)

File diff suppressed because it is too large Load diff

View file

@ -1,164 +1,82 @@
A propos des PNG Tux Paint
version 0.9.26
PNG Documentation
A propos des PNG Copyright © 2007-2021 by various contributors; see AUTHORS.
http://www.tuxpaint.org/
PNG est le format Portable Network Graphic . c'est un standard 30 janvier 2021
ouvert, non couvert par une licence (contrairement au GIFs) (En fait c'est
sous licence GPL -global public licence, qui garantie à tous l'accès libre
à ce format). c'est un format hautement compressé (mais qui n'a pas de
perte contrairement au jpeg, les pertes permettant une compression
meilleure mais peuvent introduire des erreurs dans l'image lors de la
sauvegarde) et qui supporte les couleurs en 24 bit ( 16,7 million de
couleurs) ainsi qu'une couche alpha - ce qui veux dire que chaque pixel à
un degré variable de transparence-.
Pour plus d'information, visitez http://www.libpng.org/ (en anglais : ----------------------------------------------------------------------
peut être des liens vers des sites français pas vérifié)
Ces caractéristiques (open source, pertes réduites, compression, About PNGs
transparence/alpha) font que le format PNG est le meilleur choix pour
Tuxpaint (Tuxpaint supporte le format PNG grâce à la librairie open
source SDL_Image qui provient de la librairie libPNG.)
Le support des nombreuses couleurs permet d'utiliser des tampons de PNG is the Portable Network Graphic format. It is an open standard, not
qualité "photo" dans Tux Paint et la transparence permet des brosses de burdened by patents (like GIFs). It is a highly compressed format (though
grande qualité. Attention à bien conserver la transparence lors des not "lossy" like JPEGs - lossiness allows files to be much smaller, but
enregistrements. 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.
Comment créer des PNGs For more information, visit: http://www.libpng.org/
Ce qui suit est un très bref descriptif des logiciel capables de créer These features (openness, losslessness, compression, transparency/alpha)
des PNG pour les trois OS grand public : make it the best choice for Tux Paint. (Tux Paint's support for the PNG
* Linux format comes from the Open Source SDL_Image library, which in turn gets it
* Windows from the libPNG library.)
* Mac OS X
Utilisateurs de Linux/Unix 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.
Le GIMP GIMP & Krita
Le meilleur outil pour créer des images PNG pour utiliser avec Tux Excellent tools with which to create PNG images for use in Tux Paint are
Paint, c'est le programme de manipulation d'image GNU (GIMP = GNU Image GIMP and Krita, both high-quality Open Source interactive drawing and
Manipulation Program) un programme de dessin et de retouche photo open photo editing programs.
source de grande qualité.
Il est probablement déjà installé avec votre distribution linux, sinon
il doit être sur les CD d'installation où sur le site de votre
distribution. Autrement vous pouvez le trouver sur le site
http://www.gimp.org/
Krita 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.
Krita est une application de dessin et de retouche photo pour Command-line Tools
KOffice : http://koffice.kde.org/krita/
NetPBM NetPBM
Les outils Portable Bitmap (connus collectivement comme "NetPBM") The Portable Bitmap tools (collectively known as "NetPBM") is a collection
sont une collection d'outil ligne de commande open source qui of Open Source command-line tools which convert to and from various
convertissent en provenance et vers de nombreux formats, tels que GIF, formats, including GIF, TIFF, BMP, PNG, and many more.
TIFF, BMP, PNG, et beaucoup d'autres.
NB : les formats netPBM (Portable Bitmap : PBM, Portable Greymap: PGM,
Portable Pixmap: PPM, et le catch-all Portable Any Map: PNM) ne supportent
pas les couches alpha, donc toute information de transparence (i.e. comme
dans un GIF ou un PNG) sera perdue! Utilisez le GIMP!
Ils sont probablement déjà installés avec votre distribution linux. It is possible that it's already installed on your system. If not, they it
Sinon ils sont très certainement disponibles sur vos CD d'installation ou be readily available from your Linux distribution's software repository.
sur le site de la distribution. Autrement sur le If not, or to learn more, visit http://netpbm.sourceforge.net/.
site http://netpbm.sourceforge.net/
cjpeg/djpeg cjpeg/djpeg
Les programmes en ligne de commande "cjpeg" et "djpeg" convertissent The "cjpeg" and "djpeg" command-line programs convert between the NetPBM
entre les formats NetPBM Portable Any Map (PNM) et les JPEG. 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/.
Ils sont probablement déjà installés avec votre distribution linux. Windows Users
(Sous Debian, ils sont disponibles dans le package 'libjpeg-progs") Sinon
ils sont très certainement disponibles sur vos CD d'installation ou sur le
site de la distribution. Autrement sur le site
ftp://ftp.uu.net/graphics/jpeg/
Utilisateurs de 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
The Gimp Macintosh Users
http://www.gimp.org/~tml/gimp/win32/ * CorelDRAW (Corel) — http://www.corel.com/
* GraphicConverter (Lemke Software) —
Canvas (Deneba) https://www.lemkesoft.de/mac-fotobearbeitung-mac-diashow-mac-grafikprogramm-mac-bildbetrachter/
* Illustrator (Adobe) — http://www.adobe.com/products/illustrator.html
http://www.deneba.com/products/canvas8/default2.html * Photoshop (Adobe) — http://www.adobe.com/products/photoshop.html
CorelDRAW (Corel)
http://www.corel.com/
Fireworks (Macromedia)
http://macromedia.com/software/fireworks/
Illustrator (Adobe)
http://www.adobe.com/products/illustrator/main.html
Paint Shop Pro (Jasc)
http://www.jasc.com/products/psp/
Photoshop (Adobe)
http://www.adobe.com/products/photoshop/main.html
Utilisateurs de Macintosh
The Gimp
http://www.gimp.org/~tml/gimp/win32/
Canvas (Deneba)
http://www.deneba.com/products/canvas8/default2.html
CorelDRAW (Corel)
http://www.corel.com/
Fireworks (Macromedia)
http://macromedia.com/software/fireworks/
Illustrator (Adobe)
http://www.adobe.com/products/illustrator/main.html
Photoshop (Adobe)
http://www.adobe.com/products/photoshop/main.html
Graphic Converter
http://www.lemkesoft.de/us_gcabout.html
NetPBM
Les outils Portable Bitmap (connus collectivement comme "NetPBM")
sont une collection d'outil ligne de commande open source qui
convertissent en provenance et vers de nombreux formats, tels que GIF,
TIFF, BMP, PNG, et beaucoup d'autres.
NB : les formats netPBM (Portable Bitmap : PBM, Portable Greymap: PGM,
Portable Pixmap: PPM, et le catch-all Portable Any Map: PNM) ne supportent
pas les couches alpha, donc toute information de transparence (i.e. comme
dans un GIF ou un PNG) sera perdue! Utilisez le GIMP!
Vous pouvez l'installer en utilisant fink via fink commander :
http://finkcommander.sourceforge.net/ . Autrement sur le
site http://netpbm.sourceforge.net/
Plus d'informations.
--------------------
le site web libPNG liste les éditeurs et convertisseurs d'image qui
supportent le format PNG
http://www.libpng.org/pub/png/pngaped.html
http://www.libpng.org/pub/png/pngapcv.html

File diff suppressed because it is too large Load diff

View file

@ -1,516 +0,0 @@
Tux Paint
Traduit septembre 2005 de
version 0.9.14
Un programme simple de dessin pour enfants
Copyright 2004 par Bill Kendrick
New Breed Software
bill@newbreedsoftware.com
http://www.newbreedsoftware.com/tuxpaint/
14 juin 2002 - 24 septembre 2004
# A propos #
A/ Qu'est-ce que Tux Paint?
B/ Licence.
C/ Objectifs
1 Facile et drôle.
2 Extensibilité.
3 Portabilité
4 Simplicité.
# Utiliser Tux Paint #
A/ démarrer Tux Paint.
1 utilisateurs de Linux/Unix.
2 Utilisateurs de Windows.
3 Utilisateurs de Mac OS X.
B/ Ecran de démarrage
C/ Ecran principal
D/ Outils disponibles.
1 Outils de dessin.
1-1 Peindre (Brosses) [Paint] :
1-2 Tampon [stamp] :
1-3 Lignes [Lines] :
1-4 Formes [Shapes] :
1-4-1 Mode Normal
1-4-2 Mode Forme Simple
1-5 Texte [Text] :
1-6 Magique (effets spéciaux) [Magic (Special Effects)] :
1-6-1 Arc en ciel [Rainbow]
1-6-2 Etincelles [Sparkles]
1-6-3 Miroir [mirror]
1-6-4 Renverser [Flip]
1-6-5 Brouiller [Blur]
1-6-6 Blocs [Blocks]
1-6-7 Négatif [Negative]
1-6-8 Affadir [Fade]
1-6-9 Craie [Chalk]
1-6-10 Gouttes [Drip]
1-6-11 Epaissir [Thick]
1-6-12 Amincir [Thin]
1-6-13 Remplir [Fill]
1-7 Gomme [Eraser] :
2 Autres outils
2-1 Défaire [Undo] :
2-2 Refaire [Redo] :
2-3 Nouveau [New] :
2-4 Ouvrir [Open] :
2-5 Sauvegarder [Save] :
2-6 Imprimer [Print] :
2-6-1 Déconnecter l'impression
2-6-2 Restreindre l'impression
2-6-3 la commande d'impression
2-6-4 Réglage de l'imprimante
2-7 Quitter [Quit] :
# A propos #
A/ Qu'est-ce que Tux Paint?
Tux Paint est un programme de dessin libre destiné aux jeunes enfants de 3
ans et plus. Il est simple, avec une interface facile à utiliser, avec des
effets sonores rigolos, et une mascotte motivante qui aide te guide les
enfants lorsqu'ils utilisent le programme. Il fournit un canevas blanc et
une variétés d'outils de dessin pour aider les enfants à être créatifs.
B/ Licence.
Tux Paint est un projet open source, et un logiciel gratuit livré sous la
licence publique générale GNU (GPL). Il est gratuit, et le code source
derrière le programme est disponible. (Cela permet aux autres d'ajouter
des caractéristiques, de réparer des bogues et d'utiliser tout ou partie
du programme pour leur propre logiciels GPL)
Voir COPYING.txt pour le texte complet sur la licence GPL
C/ Objectifs
1 Facile et drôle.
Tux Paint se propose d'être un programme simple pour les jeunes enfants.
Il n'a pas l'ambition d'être un outil de dessin général. Il est fait pour
être amusant et facile à utiliser. Les effets sonores et un personnage
"cartonnesque" aident l'utilisateur à savoir ce qui a lieu, et participent
à l'amusement. Il y a aussi une flèche de souris extra-large de style
cartoon.
2 Extensibilité.
Tux Paint est extensible. Des brosses et des tampons peuvent être ajoutés
ou enlevé. Par exemple, un professeur peut ajouter une collection de
formes animales et demander à ses élèves de dessiner un écosystème. Chaque
forme peut avoir un son propre qui est joué et un texte qui apparaît quand
l'enfant la sélectionne.
3 Portabilité.
Tux Paint est déjà porté sur diverses plateformes informatiques : Windows,
Macintosh OS X, Linux, etc... L'interface est la même quelque soit le
système d'exploitation. Tux Paint fonctionne parfaitement bien sur de
vieux systèmes (tels que les pentium 133), et peut être paramétré pour
fonctionné mieux sous des systèmes plus lents.
4 Simplicité.
Il n'y a pas d'accès direct à l'arborescence du système. L'image courante
est conservée lorsque le programme quitte, et réapparaît lorsqu'il
redémarre. Sauvegarder des images ne nécessite pas de créer un nom de
fichier ou d'utiliser le clavier. Ouvrir une image se fait en la
sélectionnant dans une collection de vignettes. L'accès aux autres
fichiers de l'ordinateur est restreint.
# Utiliser Tux Paint #
A/ démarrer Tux Paint.
1 utilisateurs de Linux/Unix.
Tux Paint doit avoir placé une icône de lancement dans votre menu KDE ou
GNOME, dans le sous menu 'Graphique'.
Vous pouvez aussi taper la commande shell :
$ tuxpaint
Si une erreur à lieu elle sera signalée sur le terminal (stderr).
2 Utilisateurs de Windows.
Si vous avez installé Tux Paint sur votre ordinateur en utilisant le 'Tux
Paint installer', il a dû vous demander si vous vouliez installer le
raccourcis du menu démarrage et le raccourcis du bureau. Si vous avez
accepté, vous pouvez simplement démarrer Tux Paint à partir de la section
Tux Paint du menu démarrage (i.e. sous le menu programmes sur Windows XP),
ou en double cliquant l'icône "Tux Paint" sur votre bureau.
Si vous avez installé Tux Paint en utilisant le fichier ZIP, ou si vous
avez refusé l'installation par l'installateur des raccourcis, vous devez
double cliquer l'icône "tuxpaint.exe" dans le répertoire 'Tux Paint' de
votre ordinateur.
Par défaut, l'installateur 'Tux Paint' va installer le répertoire "Tux
Paint" dans le répertoire "C:\Program Files\" à moins que vous ayez
modifié cela pendant l'installation.
Si vous utilisez le fichier ZIP, le répertoire Tux Paint sera là où vous
effectuerez la décompression.
3 Utilisateurs de Mac OS X.
Double cliquez sur l'icône Tux Paint après avoir téléchargé le .dmg et
avoir copié le contenu dans le dossier applications.
B/ Ecran de démarrage
Quand Tux Paint démarre, un écran titre/crédits apparaît.
écran_demarrage
Une fois le démarrage terminé, appuyez sur une touche ou cliquez avec la
souris pour continuer. (ou après environ 30 seconde l'écran de démarrage
disparaît automatiquement.)
C/ Ecran principal
L'écran principal est divisé selon les sections suivantes :
- Coté Gauche : la barre d'outils.
La barre d'outils contient les contrôles de dessin et d'édition.
- Au milieu : le canevas de dessin.
La partie la plus large de l'écran, au centre, c'est le canevas de dessin.
C'est Là où on dessine.
- Coté droit : le sélecteur.
Il dépend de l'outil sélectionné : le sélecteur montre différentes choses
telles que les brosses pour dessiner lorsque l'outil dessin est
sélectionné. Quand l'outil tampon est sélectionné, la partie droite montre
les différents tampons disponibles.
- En bas : les couleurs.
Une palette de couleurs disponibles se trouve en bas de la fenêtre.
- Tout en bas : l'aire d'aide.
Tout en bas de l'écran, Tux, le pingouin de linux, donne des conseils et
d'autres informations pendant que vous dessinez.
ecran-travail
D/ Outils disponibles.
1 Outils de dessin.
1-1 Peindre (Brosses) [Paint] :
Les brosses de dessin permettent de dessiner à main levée, en utilisant
différentes formes de brosses (choisies dans le sélecteur) de différentes
couleurs (choisie dans la palette du bas).
dessin
Si vous appuyez sur le bouton de la souris et que vous déplacez celle-ci
en même temps, vous dessinez.
Pendant que vous dessinez, un son est joué. Plus la brosse est grosse,
plus le ton est bas.
1-2 Tampon [stamp] :
L'outil tampon est comme un tampon en caoutchouc ou alors comme des
gommettes. Il permet de copier des images pré dessinées ou photographiques
(comme des images de cheval, d'arbre, ou la lune...) dans votre dessin.
Lorsque vous bougez la souris, une silhouette suit le pointeur, montrant
où le tampon va être appliqué.
tampon
Différents tampons peuvent avoir des effets sonores. Certains tampons
peuvent être colorés ou teintés.
Les tampons peuvent être rétrécis et étendus, et de nombreux tampon
peuvent être basculé verticalement et en miroir en utilisant les contrôles
sur le bas du sélecteur.
(NB : Si l'option "--nostampcontrols" est utilisée, Tux Paint ne permettra
ni les modifications de taille, ni les basculements. Voir la documentation
sur les options.)
1-3 Lignes [Lines] :
Cet outil vous permet de dessiner des lignes droites en utilisant
différentes brosses et couleurs, identiques à l'outil peindre.
ligne
Cliquez avec la souris pour déterminer le point de départ. En maintenant
appuyé et en déplaçant la souris vous voyez une «bande élastique» qui
montre la ligne qui va être dessinée.
En lâchant le bouton, la ligne se forme en faisant un «boing».
1-4 Formes [Shapes] :
Cet outil vous permet de dessinez de simple formes géométriques remplies
ou non.
Sélectionnez une forme dans le sélecteur à droite (cercle, carré,
ovale,...etc).
forme choix taille
Faites un cliqué-glissé avec la souris pour placer puis modifier la taille
de la forme. Certaines formes peuvent changer de proportions (telles que
les rectangles et les ovales) et d'autres non (telles que les carrés et
les cercles.).
Relâchez le bouton lorsque vous avez fini de choisir la taille.
1-4-1 Mode Normal
Maintenant vous pouvez tourner la souris autour de la forme pour la faire
tourner.
Cliquez sur le bouton de nouveau et la forme sera dessinée.
forme rotation
1-4-2 Mode Forme Simple
Si le mode simple forme est activé (i.e. avec l'option "--simpleshapes"),
la forme sera dessinée sur le canevas dès que le bouton sera relâché,
c'est à dire sans l'étape de rotation.
1-5 Texte [Text] :
Choisir une police (à partir des lettres sur la droite) et une couleur
(dans la palette du bas). Cliquez sur l'écran et un curseur apparaîtra.
Tapez un texte qui apparaît alors sur l'écran. (apparemment ne prend pas
les lettres accentuées du clavier Mac.)
texte1
Tapez Enter ou Return et le texte sera dessiné dans l'image et le curseur
descendra d'une ligne.
texte2
Cliquez ailleurs dans l'écran et la ligne courante de texte sera déplacée
là, où vous pourrez continuer d'éditer.
1-6 Magique (effets spéciaux) [Magic (Special Effects)] :
Les outils 'magiques' sont un groupe d'outils spéciaux. Sélectionnez un
des outils magiques dans le sélecteur de droite, et ensuite appliquez
l'effet sur l'image en cliquant et glissant la souris.
1-6-1 Arc en ciel [Rainbow]
Cet outil est similaire à une brosse de pinceau, mais en bougeant la
souris, les couleurs de l'arc en ciel se succèdent.
1-6-2 Etincelles [Sparkles]
Cet outil dessine des étincelles jaunes sur l'image.
1-6-3 Miroir [mirror]
Lorsque cet outil est sélectionné et que vous cliquez sur l'image,
celle-ci est inversée comme dans un miroir.
1-6-4 Renverser [Flip]
Similaire au miroir cet outil permet d'inverser l'image par rapport à un
miroir horizontal.
1-6-5 Brouiller [Blur]
Cela estompe l'image là où vous cliquez-glissez la souris.
1-6-6 Blocs [Blocks]
Cela pixellise l'image là où vous cliquez-glissez la souris.
1-6-7 Négatif [Negative]
Cela inverse les couleurs de l'image là où vous cliquez-glissez la souris
(Blanc devient noir et inversement, jaune devient bleu...etc)
1-6-8 Affadir [Fade]
cet outil pâlit les couleurs là où vous cliquez-glissez la souris.
(Appliquer l'effet plusieurs fois au même endroit peut pâlir la couleur
jusqu'au blanc.)
magic1
1-6-9 Craie [Chalk]
Celui-ci rend des parties de l'image (où vous bougez la souris) comme
dessinées à la craie.
1-6-10 Gouttes [Drip]
Celui-ci fait couler votre dessin là où vous appliquez votre souris.
1-6-11 Epaissir [Thick]
Cela rend les traits de couleur noire plus épais là où vous passez la
souris.
1-6-12 Amincir [Thin]
Similaire de Epaissir, excepté que les couleurs sombres s'amincissent (et
les couleurs claires s'épaississent.).
Pour voir correctement l'effet de ces deux derniers outils effectuez les
manipulations suivantes :
- Créez un trait noir et appliquez lui les deux outils
- Créez un rectangle blanc dans un surface noire et appliquez lui les deux
outils.
1-6-13 Remplir [Fill]
Cet outil rempli une zone délimitée par un trait fermé avec une couleur.
magic2
1-7 Gomme [Eraser] :
Cet outil est similaire à Peindre. Partout où vous cliquez ou
cliquez-glissez, le dessin est effacé et devient blanc, ou de la couleur
de l'arrière-plan de l'image courante si vous avez choisi une image
'starter'.
Différentes tailles de gomme sont disponibles.
Quand vous déplacez la souris sur l'image, un cadre suit le pointeur,
montrant quelle partie de l'image sera effacée.
Pendant que vous effacez, un son grinçant de torchon sur du verre est
émis.
2 Autres outils
2-1 Défaire [Undo] :
Cliquer sur cet outil annule la dernière action de dessin. Vous pouvez
annuler plus d'une action.
NB: Vous pouvez aussi taper ctrl-Z sur le clavier pour annuler.
2-2 Refaire [Redo] :
Cliquer sur cet outil restaure ce qui a été annulé avec le bouton Annuler.
Tant que vous n'avez pas redessiné, vous pouvez restaurer autant d'action
annulées que vous voulez.
NB: Vous pouvez aussi taper ctrl-R sur le clavier pour restaurer.
2-3 Nouveau [New] :
Cliquer sur le bouton Nouveau démarre un nouveau dessin. Il vous demande
d'abord si vous voulez vraiment en démarrer un.
NB: Vous pouvez aussi taper ctrl-N sur le clavier pour démarrer un nouveau
dessin.
2-4 Ouvrir [Open] :
Celui-ci vous montre la liste d'images que vous avez sauvegardées. S'il y
en a plus qui peuvent apparaître sur l'écran, utilisez les flèches monter
et descendre en haut et en bas de la liste pour défiler dans la liste
d'images.
ouvrir
Cliquez sur le bouton vert «ouvrir» en bas à gauche pour charger l'image.
(Vous pouvez aussi double-cliquer sur l'icône d'une image pour l'ouvrir.)
Cliquez sur le bouton rouge «Effacer» (la poubelle) en bas à droite de la
liste pour effacer l'image sélectionnée. (Il vous sera demandé de
confirmer.)
Ou cliquez sur le bouton bleu «retour» avec une flèche en bas à droite de
la liste, pour annuler et retourner au dessin précédent.
Images 'Starter'
En plus des images que vous sauvegardez, Tux Paint fournit des images
'Starter'. Les ouvrir revient à créer une nouvelle image, sauf que cette
image n'est pas blanche, mais peut être comme une feuille de livre de
coloriage (Un dessin en ligne noir et blanc, que vous pouvez colorer.) ou
comme une photographie en trois D, où vous pouvez dessiner des parties en
arrière.
Les images 'Starter' ont un arrière plan vert dans l'écran d'ouverture
(Les images normales ont un arrière plan bleu.) Quand vous chargez un
'starter', dessinez dessus puis le sauvegardez, cela créer une nouvelle
image. (Cela n'écrase pas le starter original, ainsi vous pourrez le
réutiliser de nouveau plus tard.)
Si vous choisissez d'ouvrir une image et que l'image courante n'est pas
enregistrée, il vous sera demandé si vous voulez la sauvegarder ou non.
(Voir Sauvegarder ci-dessous)
NB : Vous pouvez aussi taper [Ctrl]-[O] Sue le clavier pour obtenir le
dialogue d'ouverture'.
Pour plus de renseignement sur les images starter voir comment créer des
brosses...
2-5 Sauvegarder [Save] :
Cela sauvegarde votre image courante.
Si vous ne l'avez pas sauvegardée avant, il va créer une nouvelle entrée
dans la liste des images sauvegardées (i.e. Cela va créer un nouveau
fichier.)
NB : Il ne vous demande rien tel que le nom du fichier; il sauvegarde
simplement l'image et joue un son de déclenchement d'appareil photo.
Si vous avez sauvegardé l'image avant, ou si c'est une image que vous
venez juste d'ouvrir en utilisant la commande 'ouvrir', il vous sera
d'abord demandé si vous voulez sauvegarder sur l'ancienne version ou si
vous voulez créer un nouveau fichier.
(NB: Si les options "--saveover" ou "--saveovernew" sont sélectionnées, il
ne vous sera pas demandé avant de sauvegarder si vous voulez conservé
l'ancien fichier (Voir la documentation sur les options pour plus de
détails.)
NB: Vous pouvez aussi taper [Ctrl]-[S] sur le clavier pour sauvegarder.
2-6 Imprimer [Print] :
Cliquez ce bouton et votre image sera imprimée.
2-6-1 Déconnecter l'impression
Si l'option "--noprint" a été sélectionnée (soit avec "noprint=yes" dans
le fichier de configuration de Tux Paint, soit en utilisant la ligne de
commande "--noprint") le bouton imprimé est déconnecté. (Voir la
documentation sur les options)
2-6-2 Restreindre l'impression
Si l'option "--printdelay" est utilisée (soit en utilisant la commande
"printdelay=SECONDS" dans le fichier de configuration, soit en écrivant
dans la ligne de commande "--printdelay=SECONDS" ), vous ne pouvez
imprimer qu'une fois toutes les SECONDS secondes.
Par exemple, avec "printdelay=60", vous ne pouvez imprimer qu'une fois par
minute. (Voir la documentation sur les options)
2-6-3 la commande d'impression
(Linux et Unix seulement)
La commande utilisée par défaut est un groupe de commande qui converti un
PNG en fichier postscript qui est envoyé à l'imprimante :
pngtopnm | pnmtops | lpr
Cette commande peut être changée en réglant la valeur de "printcommand"
dans le fichier de configuration de Tux Paint. (Voir la documentation sur
les options )
2-6-4 réglage de l'imprimante
(Windows uniquement)
Par défaut, Tux Paint imprime simplement sur l'imprimante par défaut avec
les réglages par défaut quand vous cliquez sur le bouton 'imprimer'.
Toutefois si vous maintenez enfoncée la touche [ALT] du clavier en
cliquant sur 'imprimer', tant que vous n'êtes pas en mode plein écran, une
fenêtre de dialogue d'impression,dans laquelle vous pouvez changer les
réglages, apparaît.
Vous pouvez changer plus définitivement la configuration de l'imprimante
en utilisant l'option "printcfg", soit en utilisant "--printcfg" dans une
ligne de commande, soit en utilisant "printcfg=yes" Dans le fichier de
configuration de Tux Paint. ("tuxpaint.cfg").
Si l'option "printcfg" est utilisée, les réglages de l'imprimante seront
chargés à partir du fichier "userdata/print.cfg". Tout changement sera
sauvegardé là de la même façon. (Voir la documentation sur les options)
2-7 Quitter [Quit] :
Cliquer sur le bouton 'Quitter' ferme la fenêtre Tux Paint, ainsi que
taper sur la touche escape [esc].
(NB : le bouton 'Quitter' peut être déconnecté (Par exemple avec l'option
"--noquit" en ligne de commande) mais la touche [esc] fonctionne toujours.
(Voir la documentation sur les options))
Il vous sera d'abord demandé si vous voulez vraiment quitter.
Si vous choisissez de quitter et que vous n'avez pas sauvegardé l'image
courante, il vous est demandé si vous voulez le faire. Si ce n'est pas une
nouvelle image, il vous est demandé si vous voulez l'enregistrer par
dessus l'ancienne version ou si vous voulez créer une nouvelle entrée.
(Voir la fonction 'Sauvegarder' ci-dessus.)
NB : Si l'image est sauvegardée, elle sera rechargée automatiquement au
prochain démarrage de Tux Paint.

View file

@ -1,397 +0,0 @@
brosses, tampons...
Comment créer des brosses, des tampons, des polices et des images "starter"?
Si vous voulez ajouter ou changer des choses telles que les brosses et les
tampons utilisés par Tux Paint, vous pouvez le faire simplement en
ajoutant ou en enlevant des fichiers sur votre disque dur.
NB : vous devrez redémarrer Tux Paint pour que les changements prennent
effet.
1. Les répertoires où Tux Paint range les différents éléments
2. Comment créer des brosses?
3. Comment créer des tampons?
4. Comment créer des Images "starter"?
5. Comment ajouter des polices?
6. Importer des images pour les ouvrir dans Tux Paint.
1. Les répertoire où Tux Paint range les différents éléments.
Les fichiers standards
Tux Paint regarde dans ses répertoires de données pour trouver ses
fichiers de configuration.
Linux et Unix
Où ces répertoires sont installés dépend de la valeur définie pour
"DATA_PREFIX" quand Tux Paint est construite. Pour plus de détail voir
INSTALL.txt.
Par défaut le répertoire est :
/usr/local/share/tuxpaint/
Si vous l'avez installé à partir d'un package il est plus sûrement :
/usr/share/tuxpaint/
Mac OS X
Tux Paint range ces fichiers dans le répertoire :
/Users/Joe/Library/Application Support/tuxpaint/ et non pas dans
/Users/Joe/Library/preferences/ comme indiqué dans le texte en anglais.
Attention aux fichiers cachés (par exemple /Users/Joe/Library/Application
Support/tuxpaint/saved/.thumbnail/ )
Windows
Tux Paint regarde dans un répertoire nommé 'data' situé dans le même
répertoire que le programme exécutable. Ces le répertoire qui est créé
lors de l'installation :
C:\Program Files\TuxPaint\data
Fichiers personnels
Vous pouvez aussi créer des brosses, des tampons, des polices et des
images 'starter' dans votre propre répertoire où Tux Paint les trouvera.
Linux et Unix
Votre répertoire Tux Paint personnel est "~/.tuxpaint/".
C'est à dire que si votre répertoire home est "/home/karl", alors votre
répertoire Tux Paint est "/home/karl/.tuxpaint/".
Ne pas oublier le point (".") avant 'tuxpaint'!
Mac OS X
Dans la version anglaise rien est dit concernant Mac OS X. J'ai d'abord
cru qu'il fallait faire comme pour linux, après tout OS X est un système
UNIX; mais ce n'est pas le cas. En fait on peut créer les dossiers
brushes, stamps, fonts et starters dans le dossier
/Users/Joe/Library/Application Support/tuxpaint/ et cela fonctionne.
Windows
Votre répertoire Tux Paint personnel se nomme "userdata" et il est dans le
même répertoire que l'exécutable :
C:\Program Files\TuxPaint\userdata
2. Comment créer des brosses?
Pour créer des brosses : il faut d'abord créer un dossier brushes, s'il
n'existe pas, dans votre répertoire personnel de Tux Paint.
Les brosses utilisées pour l'outil dessin et l'outil ligne dans Tux Paint
sont de simple images PNG en niveau de gris.
La couche alpha (transparence) de l'image PNG est utilisée pour déterminer
la forme de la brosse, ce qui signifie que la forme peut-être anti-aliasée
et même partiellement transparente. (L'anti-aliasing est une technique qui
rend les bord d'une figure légèrement floue pour qu'on ait pas
l'impression de voir une forme pixellisée).
Les images de brosses ne doivent pas être plus grande que 40 pixel par 40.
Une fois l'image PNG de la brosse crée il n'y a plus qu'à la sauvegarder
dans le dossier brushes.
NB : Si votre nouvelle brosse apparaît comme un rectangle (ou un carré)
plein, c'est parce que vous avez oublié d'utiliser la transparence! Voir
la documentation Qu'est qu'un PNG? Et comment en créer un? pour plus
d'informations et de conseils.
3. Comment créer des tampons?
Ils se rangent dans le répertoire stamps, s'il n'existe pas, dans votre
répertoire personnel de Tux Paint.
On peut créer des sous-dossiers dans son dossier stamps (par exemple
/stamps/vacances/ et /stamps/animaux/ - ceux qui utilisent l'OS du coté
obscur remplacent les / par des \.-).
Un tampon, c'est une image au format PNG qui doit considérer les pixels
blancs comme transparents (en fait c'est l'alpha qui détermine la
transparence, c'est à dire que chaque pixel de l'image est plus ou moins
transparent en fonction de la valeur alpha qui lui est allouée. Chaque
point est plus ou moins transparent et laisse donc plus ou moins voir
l'arrière plan.)
tete_chien
Pour des raisons démonstratives, le blanc apparaît en jaune dans le dessin
ci-dessus.
exemple 1 : seuls les contours de la tête sont marqué dans le dessin et on
peut colorier autour et dedans
exemple 2 : toute la tête est marquée, mais le tour du chien c'est
transparent.
exemple 3 : la transparence du dessin n'a pas été conservée le tampon est
rectangulaire avec une tête de chien au milieu.
Comment fait-on une image au format PNG? Personnellement j'utilise un
logiciel open source de dessin qui s'appelle le GIMP (voir Qu'est qu'un
PNG? Et comment en créer un?) ou photoshop element. D'autres logiciels
sont capables de créer des images png. Le format se choisit au moment de
l'enregistrement.
La taille de l'image ne doit pas dépasser 100 pixels sur 100 (déjà une
grosse image pour Tux Paint : mais attention çà veut dire que les détails
du dessin peuvent ne pas passer donc prendre un dessin de base assez
simple)
Attention de bien enregistrer l'alpha en transparent. et attention dans le
choix du nom : pas de caractères spéciaux ni accentués (Ils sont souvent
responsables de problèmes.)
Considérons maintenant que l'image tetechien.png. a été créée et qu'elle a
été placée dans /stamps/animaux/
On peut faire un texte d'explication qui apparaîtra dans le bas de la
fenêtre de Tux Paint :
ouvrir un éditeur de texte (par ex Text Edit sur Mac OS X, Kedit sur
Linux, word pad sur Windows)
première ligne description en anglais :"en .utf8= head of dog"
deuxième ligne description en français "fr .utf8= tête de chien"
(Si on veut mettre une description en espagnol 3° ligne :" es .utf8=
cabeza de perro")
On sauvegarde au format UTF8 (Paramétrez Text Edit pour qu'il créer de
nouveaux documents au format simple text et choisir l'encodage UTF8 lors
de l'enregistrement, sous Windows choisissez Plain text (ou simple texte))
avec l'extension .txt (tetechien.txt) dans le dossier /stamps/animaux/
On peut peux aussi associer un son à son image.
On créer un son au format .WAV (AIFF sur Mac OS X dont on modifie
l'extension .aif ou .aiff en .wav) nommé tetechien.wav dans le dossier
/stamps/animaux/. Si ce son est un mot, on peut créer toute une suite de
traduction :
par exemple
* dog.wav, "son=dog";
* dog_fr.wav, "son=chien";
* dog_es.wav, "son=perro".
On peut donner des instructions au logiciel pour qu'il gère d'une certaine
manière le tampon. Pour cela il faut ouvrir un éditeur de texte et taper
les instructions suivantes :
colorable = si on écrit cette instruction le logiciel permettra à
l'utilisateur de choisir la couleur au moment de l'utilisation (comme pour
les pinceaux)
tintable = si on écrit cette instruction l'image d'origine sera teintée
par la couleur choisie par l'utilisateur; Seules les zones à plus de 25 %
de saturations seront teintées.
On peut si on veut rendre les gris non "teintables" en tapant notintgray.
noflip = empêche la possibilité de retourner le tampon.
nomirror = empêche la possibilité de mettre l'image du tampon en miroir.
On sauvegardes en UTF8 mais avec l'extension .dat (tetechien.dat) dans le
dossier /stamps/animaux/
Un exemple de texte de paramétrage pour ma tête de chien :
colorable
noflip
Enfin on peut créer une image miroir pré-enregistrée : par exemple si on a
un camion de pompiers avec écrit service incendie, si on le laisse se
mettre en miroir dans le logiciel normalement, on va avoir les mots écrit
en miroir; on peut alors créer l'image miroir avec les mots bien écrits
que tu nomme image_mirror.png dans le même dossier que image.png.
4. Comment créer des images "starter".
Il faut créer un répertoire /starters/, s'il n'existe pas, dans votre
répertoire personnel de Tux Paint.
Les images de départ ('starter') apparaissent dans le dialogue d'ouverture
de document, à coté des images que vous avez créés. Elles ont des boutons
verts au lieu de bleu derrière.
Contrairement à vos images sauvegardées, quand vous sélectionner et ouvrez
un 'starter', en réalité vous créez une nouvelle image. Au lieu d'être
blanche, cependant, la nouvelle image contient le contenu du 'starter'. De
plus quand vous éditez votre nouvelle image, le contenu du 'starter'
original l'affecte.
Style livre de coloriage
Le mode de 'starter' le plus basique ressemble à une image d'un livre à
colorier. C'est une forme délimitée par des lignes à laquelle on peut
ajouter des détails et des couleurs. Dans Tux Paint, quand vous dessinez,
tapez du texte, utilisez les tampons, les lignes du dessins restent
au-dessus de ce que vous dessinez. Vous pouvez effacer ce que vous
rajoutez mais pas les lignes du 'starter'.
Pour créer une telle image, dessinez simplement une forme en ligne dans un
programme de dessin, rendez le reste transparent (ce qui deviendra blanc
dans Tux Paint), et sauvegardez au format PNG dans le dossier /starters/.
Style scène
A coté du style livre de coloriage, vous pouvez aussi procurer comme
'starter', un avant plan et un arrière plan séparé de l'image. Le principe
est le même : on ne peut pas l'effacer, lui appliquer les effet magiques.
On ne peut pas dessiner sur l'avant plan.
Quand la gomme est appliquée à ce type d'image, au lieu de révéler du
blanc elle révèle l'image d'arrière plan.
En créant à la fois un avant plan et un arrière plan, on peut créer un
'starter' simulant un effet de perspective. Imaginez un arrière plan
représentant l'océan et un avant plan qui représente un récif. On peut
ensuite dessiner ou tamponner des poissons dans l'image : ils apparaîtront
dans l'océan mais jamais en avant du récif.
Pour créer ce genre de starter, il faut créer un avant plan (avec
transparence alpha) comme décrit précédemment, et le sauvegarder au format
PNG dans le dossier /starters/. Ensuite créez une autre image sans
transparence et la sauvegarder avec le même nom mais avec le suffixe
"-back" ( Par exemple le récif du premier plan s'appelle reef.png et
l'océan de l'arrière plan reef-back.png.)
Le 'starter' doit avoir la même taille de canevas que Tux Paint. Par
défaut c'est le mode 640x480, c'est à dire 448x376 pixels. (Si vous
utilisez le mode 800x600, cela doit être 608x496 pixels.)
Les 'starter' apparaissent avec un bouton vert au début de la liste dans
le dialogue d'ouverture.
NB : Les 'starter' ne peuvent pas être sauvés comme tels à partir de Tux
Paint car charger un starter, c'est vraiment comme créer une nouvelle
image. (Au lieu d'être blanche, elle a quelque chose à l'intérieur. La
commande 'sauvegarde' ne fait que créer une nouvelle image, tout comme si
la commande 'nouvelle' avait été utilisée.)
NB : Les 'starter' sont "attachés" aux images sauvegardées, via un petit
fichier texte qui a le même nom que le dessin sauvegardé, mais au format
.dat. Cela permet au premier plan et à l'arrière plan, s'ils existent, de
continuer d'affecter le dessin après que Tux Paint ait été quitté, ou
qu'une autre image ait été chargée ou démarrée. (En d'autres mots, si vous
construisez un dessin à partir d'un 'starter', il sera toujours affecté
par celui-ci.)
5. Comment ajouter des polices?
Il faut là encore créer un dossier fonts, s'il n'existe pas, dans votre
répertoire personnel de Tux Paint.
Mettre dans ce dossier des polices de format TrueType. (Voir avec un
gestionnaire de polices pour voir quel type de police on utilise). La
police sera alors prise en charge dans Tux Paint, avec 4 tailles
différente proposées.
6. Importer des images pour les ouvrir dans Tux Paint.
Comme le dialogue d'ouverture de Tux Paint ne nous montre que les dessins
créés par lui-même, comment faire si vous voulez charger une autre image
ou photographie dans Tux Paint pour l'éditer?
Pour faire cela, vous devez convertir l'image en PNG ( voir Qu'est qu'un
PNG? Et comment en créer un? ), et la placer dans le répertoire saved de
Tux Paint (~/.tuxpaint/saved/ sous linux et UNIX, userdata\saved\ sous
windows ~/Library/Application Support/tuxpaint/saved/ sous Mac OS X -et
pas dans preferences comme indiqué dans la version anglaise-) Il faut
aussi prévoir une icône pour apparaître dans le menu ouverture qui sera
dans le répertoire ~/.tuxpaint/saved/.thumb sous linux et
UNIX, ~/Library/Application Support/tuxpaint/saved/.thumb sous Mac OS X,
et je ne sais pas pour windows peut-être userdata\saved\thumb tout
simplement.
Utiliser 'tuxpaint-import'
Les utilisateurs de Linux et d'UNIX peuvent utiliser le 'tuxpaint-import',
un script shell qui s'installe quand vous installez Tux Paint. Il utilise
quelques outils NetPBM pour convertir l'image ("anytopnm"), pour la
retailler afin qu'elle entre dans le canevas de Tux Paint ("pnmscale"),
et la convertie en PNG ("pnmtopng"). Il crée en même temps une icône pour
afficher dans le menu ouverture.
Il utilise aussi la commande date pour renommer l'image avec les
conventions de Tux Paint qui nomme ses fichiers images sauvegardés en
fonction de la date, de l'heure... (Souvenez-vous que vous ne demandez
jamais un nom de fichier pour ouvrir ou sauvegarder une image!)
Pour utiliser 'tuxpaint-import', lancez la commande à partir d'un shell et
donnez lui le nom du fichier que vous voulez convertir.
Il sera alors convertit et placé dans votre répertoire saved. (NB : Si
vous faîtes cela pour un utilisateur différent - par exemple votre enfant,
il faut exécuter la commande dans sa session.)
Exemple:
$ tuxpaint-import grandma.jpg
grandma.jpg -> /home/username/.tuxpaint/saved/20020921123456.png
jpegtopnm: WRITING A PPM FILE
La première ligne ("tuxpaint-import grandma.jpg") est la commande à
lancer. Les deux lignes suivantes sont les sorties ('output') pendant que
le script s'exécute.
Après le redémarrage de Tux Paint, l'image est alors disponible dans le
dialogue d'ouverture. Il ne reste plus qu'à cliquer dessus l'icône.
Pour les utilisateurs de Mac OS X contrairement à ce qui est dit dans la
version anglaise, on peut aussi utiliser un script shell. Peut-être le
script Tuxpaint-import est adaptable à Mac OS X, mais personnellement j'en
ai récris un autre.
Pré requis : il faut installer les outils NetPBM (à l'aide de fink et
finkcommander par exemple) et il faut créer un répertoire ~/.tmp
Voici donc le script que j'ai écrit
#!/bin/bash
# creation d'une variable date
DATE=`date '+%Y%m%d%H%M%S'`
# creation d'une variable de travail
FICHIER_IMAGE=$1
#creation et déplacement dans un fichier de travail
cp $FICHIER_IMAGE $HOME/.tmp/
#creation d'une image pour Thumbnail
cp $HOME/.tmp/$FICHIER_IMAGE $HOME/.tmp/$FICHIER_IMAGE-t
#creation de l'image au format png qui sera chargeable dans tux paint
anytopnm $HOME/.tmp/$FICHIER_IMAGE | pnmscale --xysize 448 376 |
pnmtopng > $HOME/.tmp/$FICHIER_IMAGE.png
# renommer en utilisant la variable date l'image png car le fichier doit
# avoir le format suivant yyyymmddhhmmss.png
mv $HOME/.tmp/$FICHIER_IMAGE.png $HOME/.tmp/$DATE.png
#creation de l'image du dialogue d'ouverture
anytopnm $HOME/.tmp/$FICHIER_IMAGE-t | pnmscale --xysize 92 56 |
pnmtopng > $HOME/.tmp/$FICHIER_IMAGE-t.png
# renommer en utilisant la variable date l'image png car le fichier doit
# avoir le format suivant yyyymmddhhmmss-t.png
mv $HOME/.tmp/$FICHIER_IMAGE-t.png $HOME/.tmp/$DATE-t.png
# faire le menage
rm $HOME/.tmp/$FICHIER_IMAGE
rm $HOME/.tmp/$FICHIER_IMAGE-t
mv $HOME/.tmp/$DATE.png $HOME/Library/Application\
support/TuxPaint/saved/
mv $HOME/.tmp/$DATE-t.png $HOME/Library/Application\
support/TuxPaint/saved/.thumb
exit 0
Ce script s'utilise comme 'tuxpaint -import'
Le faire Manuellement
Les utilisateurs de Windows et de BeOS doivent actuellement faire la
conversion manuellement.
Lancez un programme qui est capable d'ouvrir votre image et de la
convertir au format PNG. (Voir Qu'est qu'un PNG? Et comment en créer un?
Pour avoir quelques suggestions concernant les programmes capables de
faire cela.)
Ouvrez l'image et réduisez sa taille à une taille inférieure ou égale à
448X376 pixels.
Sauvegardez l'image au format PNG. Il est fortement recommandé de nommer
le fichier en utilisant la date et l'heure courante, puisque par
convention Tux Paint utilise :
AAAAMMJJhhmmss.png
• AAAA = Année
• MM = Mois (01-12)
• JJ = Jour (01-31)
• HH = Heure, au format 24h (00-23)
• mm = Minute (00-59)
• ss = Second (00-59)
i.e. :
20020921130500 - pour le 21 Septembre 2002 13h05m00
Sauvegardez le PNG dans le dossier 'saved' de Tux Paint. (Voir plus haut)

View file

@ -0,0 +1,55 @@
Tux Paint
version 0.9.26
Signals Documentation
Copyright © 2019-2021 by various contributors; see AUTHORS.
http://www.tuxpaint.org/
30 janvier 2021
----------------------------------------------------------------------
Tux Paint responds to the following signals (which can be sent to the
program's process via `kill` or `killall`, for example).
SIGTERM (also, [Ctrl] + [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).
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.
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.
Example: killall tuxpaint
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.)
So, from the main interface, Tux Paint should quit almost
immediately, with no questions asked.
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.
Example: killall -s SIGUSR1 tuxpaint

34
docs/fr_FR.UTF-8/SVG.txt Normal file
View file

@ -0,0 +1,34 @@
Tux Paint
version 0.9.26
SVG Documentation
Copyright © 2007-2021 by various contributors; see AUTHORS.
http://www.tuxpaint.org/
30 janvier 2021
----------------------------------------------------------------------
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.
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.
It is likely that is already installed on your system. If not, it should
be readily available from your Linux distribution's software repository.
If not, or to learn more, visit http://www.inkscape.org/, respectively.
Mac and Windows users
* CorelDRAW (Corel) — http://www.corel.com/
* Illustrator (Adobe) — http://www.adobe.com/products/illustrator.html

View file

@ -0,0 +1,225 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>
Tux Paint Advanced Stamps 'How-To' </title>
<meta http-equiv="Content-Type"
content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF"
text="#000000"
link="#0000FF"
vlink="#FF0000"
alink="#FF00FF">
<center>
<h1>
<img src="../../html/images/tuxpaint-title.png"
width="205"
height="210"
alt="Tux Paint"><br>
version 0.9.26 Advanced Stamps 'How-To' </h1>
<p>
Copyright &copy; 2006-2021 by Albert Cahalan and others; see AUTHORS.<br>
<a href="http://www.tuxpaint.org/">http://www.tuxpaint.org/</a>
</p>
</center>
<h2>
About this 'How-To' </h2>
<blockquote>
<p>
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. </p>
<p>
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. </p>
</blockquote>
<h2>
Image choice is crucial </h2>
<blockquote>
<h3>
License </h3>
<blockquote>
<p>
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. </p>
<p>
Images produced by the US government are Public Domain, but be aware that the US government sometimes uses other images on the web. <a href="http://images.google.com/">Google image</a> queries including either <code>site:gov</code> or <code>site:mil</code> will supply many suitable images. (Note: the *.mil sites include non-military content, too!) </p>
<p>
Your own images can be placed in the Public Domain or a suitable license, such as the <a href="https://creativecommons.org/publicdomain/zero/1.0/">Creative Commons CC0</a> by declaring it so. (Hire a lawyer if you feel the need for legal advice.) </p>
<p>
For personal use, any image you can legitimately modify and use for your own personal use should be fine. </p>
</blockquote>
<h3>
Image Size and Orientation </h3>
<blockquote>
<p>
You need an image that has a useful orientation. Perspective is an enemy. Images that show an object from the corner are difficult to fit into a nice drawing. As a general rule, telephoto side views are the best. The impossible ideal is that, for example, two wheels of a car are perfectly hidden behind the other two. </p>
<p>
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.) </p>
<p>
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 across if you can. You can shrink this later to hide your mistakes. </p>
<p>
Be sure that the image is not too grainy, dim, or washed out. </p>
<p>
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. </p>
</blockquote>
</blockquote>
<h2>
Prepare the image </h2>
<blockquote>
<p>
First of all, be sure to avoid re-saving the image as a JPEG. This causes quality loss. There is a special tool called <a href="https://jpegclub.org/">jpegtran</a> that lets you crop an image without the normal quality loss. </p>
<blockquote>
<p>
<code>jpegtran -trim -copy none -crop 512x1728+160+128 &lt; src.jpg &gt; cropped.jpg</code>
</p>
</blockquote>
<p>
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. <a href="http://www.gimp.org/">GIMP</a> users should choose "XCF", and Adobe Photoshop users should choose "PSD", for example. </p>
<p>
If you have rotated or cropped the image in your image editor, flatten it now. You need to have just one RGB layer <i>without mask or alpha</i>. </p>
<p>
Open the layers dialog box. Replicate the one layer several times. From top to bottom you will need something like this: </p>
<ol>
<li>unmodified image (write-protect this if you can)</li>
<li>an image you will modify — the "work in progress" layer</li>
<li>solid green (write-protect this if you can)</li>
<li>solid magenta (write-protect this if you can)</li>
<li>unmodified image (write-protect this if you can)</li>
</li>
</ol>
<p>
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. </p>
<p>
<b>Warning:</b> 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. </p>
</blockquote>
<h2>
Prepare the mask </h2>
<blockquote>
<p>
Get used to doing <b>[Ctrl]</b>-click and <b>[Alt]</b>-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. </p>
<p>
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). </p>
<p>
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. </p>
<p>
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. </p>
<p>
Now you must be zoomed in. </p>
<p>
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. </p>
<p>
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. </p>
<p>
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). </p>
<p>
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. </p>
<p>
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. </p>
</blockquote>
<h2>
Replace the fringe and junk pixels </h2>
<blockquote>
<p>
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). </p>
<p>
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. </p>
<p>
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. </p>
<p>
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: </p>
<ul>
<li>composited over green (mask enabled)</li>
<li>composited over magenta (mask enabled)</li>
<li>original (the top or bottom layer)</li>
<li>composited over the original (mask enabled)</li>
<li>raw WIP layer (mask <strong>disabled</strong>)</li>
</ul>
<p>
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. </p>
<p>
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. </p>
<p>
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. </p>
<p>
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. </p>
</blockquote>
<h2>
Save the image for Tux Paint </h2>
<blockquote>
<p>
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... </p>
<h3>
A Safer Way to Save </h3>
<blockquote>
<p>
Drag the mask from the layers dialog to the unused portion of the toolbar (right after the last drawing tool). This will create a new image consisting of one layer that contains the mask data. Scale this as desired, remembering the settings you use. Often you should start with an image that is about 700 to 1500 pixels across, and end up with one that is 300 to 400. </p>
<p>
Save the mask image as a NetPBM portable greymap ("<code>.pgm</code>") 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.) </p>
<p>
You may close the mask image. </p>
<p>
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 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 same way. Save this image as a NetPBM portable pixmap ("<code>.ppm</code>") file. (Note: <code>.ppm</code>, not <code>.pgm</code>.) (If you choose the RAW PPM format, the second byte of the file should be the ASCII digit "6", hex byte 0x36.) </p>
<p>
Now you need to merge the two files into one. Do that with the <a href="http://netpbm.sourceforge.net/">pnmtopng</a> command, like this: </p>
<blockquote>
<p>
<code>pnmtopng -force -compression 9 -alpha mask.pgm fg.ppm &gt; final-stamp.png</code>
</p>
</blockquote>
</blockquote>
</blockquote>
</body>
</html>

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,458 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>
Tux Paint Installation Documentation </title>
<meta http-equiv="Content-Type"
content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF"
text="#000000"
link="#0000FF"
vlink="#FF0000"
alink="#FF00FF">
<center>
<h1>
<img src="../../html/images/tuxpaint-title.png"
width="205"
height="210"
alt="Tux Paint"><br>
version 0.9.26<br/>
Installation Documentation </h1>
<p>
Copyright &copy; 2002-2021 by various contributors; see AUTHORS.<br>
<a href="http://www.tuxpaint.org/">http://www.tuxpaint.org/</a>
</p>
<p>
30 janvier 2021 </p>
</center>
<hr>
<h2>Requirements:</h2>
<blockquote>
<h3>libSDL</h3>
<blockquote>
<p>
Tux Paint requires the Simple DirectMedia Layer Library (libSDL), an Open Source multimedia programming library available under the GNU Lesser General Public License (LGPL). </p>
<p>
Along with libSDL, Tux Paint depends on a number of other SDL 'helper' libraries: SDL_Image (for graphics files), SDL_TTF and (optionally) SDL_Pango (for True Type Font support) and, optionally, SDL_Mixer (for sound effects). </p>
<h4>Linux/Unix Users:</h4>
<blockquote>
<p>
The SDL libraries are available as source-code, or as RPM or Debian packages for various distributions of Linux. They can be downloaded from: </p>
<ul>
<li>libSDL: <a href="http://www.libsdl.org/">http://www.libsdl.org/</a></li>
<li>SDL_Image: <a href="http://www.libsdl.org/projects/SDL_image/">http://www.libsdl.org/projects/SDL_image/</a></li>
<li>SDL_TTF: <a href="http://www.libsdl.org/projects/SDL_ttf/">http://www.libsdl.org/projects/SDL_ttf/</a></li>
<li>SDL_Pango: <a href="http://sourceforge.net/projects/sdlpango/">http://sourceforge.net/projects/sdlpango/</a> (optional)</li>
<li>SDL_Mixer: <a href="http://www.libsdl.org/projects/SDL_mixer/">http://www.libsdl.org/projects/SDL_mixer/</a> (optional)</li>
</ul>
<p>
They are also typically available along with your Linux distribution (e.g. on an installation media, or available via package maintainance software like Debian's "<code>apt</code>"). </p>
<p>
<b>Note:</b> When installing libraries from packages, be sure to ALSO install the development versions of the packages. (For example, install both "<code>SDL-1.2.4.rpm</code>" <em>and</em> "<code>SDL-1.2.4-devel.rpm</code>".) </p>
</blockquote>
</blockquote>
<h3>Other Libraries</h3>
<blockquote>
<p>
Tux Paint also takes advantage of a number of other free, LGPL'd libraries. Under Linux, just like SDL, they should either already be installed, or are readily available for installation as part of your Linux distribution. </p>
<h4>libPNG</h4>
<blockquote>
<p>
Tux Paint uses PNG (Portable Network Graphics) format for its data files. SDL_image will require libPNG be installed. </p>
<p>
<a href="http://www.libpng.org/pub/png/libpng.html">http://www.libpng.org/pub/png/libpng.html</a>
</p>
</blockquote>
<h4>gettext</h4>
<blockquote>
<p>
Tux Paint uses your system's locale settings along with the "gettext" library to support various languages (e.g., Spanish). You'll need the gettext library installed. </p>
<p>
<a href="http://www.gnu.org/software/gettext/">http://www.gnu.org/software/gettext/</a>
</p>
</blockquote>
<h4>libpaper (Linux/Unix only)</h4>
<blockquote>
<p>
As of Tux Paint 0.9.17, Tux Paint can determine your system's default paper size (e.g., A4 or Letter), or can be told to use a particular paper size, thanks to "libpaper". </p>
<p>
<a href="https://github.com/naota/libpaper">https://github.com/naota/libpaper</a>
</p>
</blockquote>
<h4>FriBiDi</h4>
<blockquote>
<p>
Tux Paint's "Text" and also "Label" tools support bidirectional languages, thanks to the "FriBiDi" library. </p>
<p>
<a href="http://fribidi.org/">http://fribidi.org/</a>
</p>
</blockquote>
<h4>SVG graphics support</h4>
<blockquote>
<p>
As of Tux Paint 0.9.17, Tux Paint can load SVG (Scalable Vector Graphics) images as stamps. Two sets of libraries are supported, and SVG support can be completely disabled (via "<code>make SVG_LIB:=</code>") </p>
<h5>librsvg-2 &amp; libCairo2 (newer libraries)</h5>
<ul>
<li>libRSVG 2: <a href="http://librsvg.sourceforge.net/">http://librsvg.sourceforge.net/</a></li>
<li>Cairo 2: <a href="http://www.cairographics.org/">http://www.cairographics.org/</a></li>
<li>These also depend on the following: <ul>
<li>GdkPixbuf &amp; GLib: <a href="http://www.gtk.org/">http://www.gtk.org/</a></li>
<li>Pango: <a href="http://www.pango.org/">http://www.pango.org/</a></li>
</ul>
</li>
</ul>
<h5>Older SVG libraries</h5>
<ul>
<li>libcairo1, libsvg1, &amp; libsvg-cairo1: <a href="http://www.cairographics.org/">http://www.cairographics.org/</a></li>
<li>These also depend on the following: <ul>
<li>libxml2: <a href="https://gitlab.gnome.org/GNOME/libxml2">https://gitlab.gnome.org/GNOME/libxml2</a></li>
</ul>
</li>
</ul>
</blockquote>
<h4>Animated GIF Export feature</h4>
<blockquote>
<p>
To support export of animated GIFs (slideshows), the "libimagequant" library (from the "pngquant2" project) is required. </p>
<p>
<a href="https://github.com/ImageOptim/libimagequant">https://github.com/ImageOptim/libimagequant</a>
</p>
</blockquote>
<h4>NetPBM Tools (optional) No longer used, by default</h4>
<blockquote>
<p>
Under Linux and Unix, earlier versions of Tux Paint used the NetPBM tools to assist with printing. (A PNG is generated by Tux Paint, and converted into a PostScript using the '<code>pngtopnm</code>' and '<code>pnmtops</code>' NetPBM command-line tools.) </p>
<p>
<a href="http://netpbm.sourceforge.net/">http://netpbm.sourceforge.net/</a>
</p>
</blockquote>
</blockquote>
</blockquote>
<h2>Compiling and Installation:</h2>
<blockquote>
<p>
Tux Paint is released under the GNU General Public License (GPL) (see "COPYING.txt" for details), and therefore the 'source code' to the program is available freely. </p>
<h3>Windows Users:</h3>
<blockquote>
<h4>Compiling:</h4>
<blockquote>
<p>
As of February 2005 (starting with Tux Paint 0.9.15), the "<code>Makefile</code>" includes support for building on a Windows system using MinGW/MSYS (<a href="http://www.mingw.org/">http://www.mingw.org/</a>). </p>
<p>
After configuring the environment and building and installing all the dependencies, use these commands, in MSYS, to build, install and run: </p>
<h5>Prior to version 0.9.20:</h5>
<blockquote>
<code>
$ make win32<br/>
$ make install-win32<br/>
$ tuxpaint
</code>
</blockquote>
<h5>Version 0.9.20 and beyond:</h5>
<blockquote>
<code>
$ make<br/>
$ make install<br/>
$ tuxpaint
</code>
</blockquote>
<p>
Use the following command to build a version suitable for redistribution with the installer or in a zip-file: </p>
<blockquote>
<code>
$ make bdist-win32
</code>
</blockquote>
<p>
Or if building for Win9x/ME: </p>
<blockquote>
<code>
$ BDIST_WIN9X=1 make bdist-win32
</code>
</blockquote>
<p>
Before any of the above will work, you need to configure the environment and build or install the libraries that Tux Paint depends upon. John Popplewell put together some instructions for doing that here: </p>
<p>
<a href="http://www.johnnypops.co.uk/tuxpaint/">http://www.johnnypops.co.uk/tuxpaint/</a>
</p>
<p>
Read the relevant notes if building for Win9X/ME. </p>
</blockquote>
<h4>Running the Installer:</h4>
<blockquote>
<p>
Double-click the Tux Paint installer executable (.EXE file) and follow the instructions.
<p>
First, you will be asked to agree to the license. (It is the GNU General Public License (GPL), which is also available as "COPYING.txt".) </p>
<p>
You will then be asked whether you want to install shortcuts to Tux Paint in your Windows Start Menu and on your Windows Desktop. (Both options are set by default.) </p>
<p>
Then you will be asked where you wish to install Tux Paint. The default should be suitable, as long as there is space available. Otherwise, pick a different location. </p>
<p>
At this point, you can click 'Install' to install Tux Paint! </p>
</blockquote>
<h4>Changing the Settings Using the Shortcut:</h4>
<blockquote>
<p>
To change program settings, right-click on the TuxPaint shortcut and select 'Properties' (at the bottom). </p>
<p>
Make sure the 'Shortcut' tab is selected in the window that appears, and examine the 'Target:' field. You should see something like this: </p>
<blockquote>
<code>
"C:\Program Files\TuxPaint\TuxPaint.exe"
</code>
</blockquote>
<p>
You can now add command-line options which will be enabled when you double-click the icon. </p>
<p>
For example, to make the game run in fullscreen mode, with simple shapes (no rotation option) and in French, add the options (after 'TuxPaint.exe'), like so: </p>
<blockquote>
<code>
"C:\Program Files\TuxPaint\TuxPaint.exe" -f -s --lang french
</code>
</blockquote>
<p>
(See the main documentation for a full list of available command-line options.) </p>
<p>
If you make a mistake or it all disappears use <b><code>[Ctrl]</code></b> + <b><code>[Z]</code></b> to undo or just hit the <b><code>[Esc]</code></b> key and the box will close with no changes made (unless you pushed the "Apply" button!). </p>
<p>
When you have finished, click "OK." </p>
</blockquote>
<h4>If Something Goes Wrong:</h4>
<blockquote>
<p>
If, when you double-click on the shortcut to run Tux Paint, nothing happens, it is probably because some of these command-line options are wrong. Open an Explorer like before, and look for a file called "<code>stderr.txt</code>" in the TuxPaint folder. </p>
<p>
It will contain a description of what was wrong. Usually it will just be due to incorrect character-case (capital 'Z' instead of lowercase 'z') or a missing (or extra) '-' (dash). </p>
</blockquote>
</blockquote>
<h3>Linux/Unix Users:</h3>
<blockquote>
<h4>Compiling:</h4>
<blockquote>
<p>
Note: Tux Paint does not use <code>autoconf</code>/<code>automake</code>, so there is no "<code>./configure</code>" script to run. Compiling should be straight-forward though, assuming everything Tux Paint needs is installed. </p>
<p>
To compile the program from source, simply run the following command from a shell prompt (e.g., "$"): </p>
<blockquote>
<code>
$ make
</code>
</blockquote>
</blockquote>
<h4>
Disabling SVG support (and hence Cairo, libSVG, and svg-cairo dependencies): </h4>
<blockquote>
<p>
To disable SVG support (e.g., if your system is not currently supported by the Cairo library or other SVG-related dependencies), you can run "<code>make</code>" with "<code>SVG_LIB= SVG_CFLAGS= NOSVGFLAG=NOSVG</code>" added:
<blockquote>
<code>
$ make SVG_LIB= SVG_CFLAGS=
</code>
</blockquote>
</blockquote>
<h4>
Disabling Pango support (and hence Pango, Cairo, etc. dependencies): </h4>
<blockquote>
<p>
Prior to version 0.9.18, Tux Paint used the <code>libSDL_ttf</code> library for rendering text using TrueType Fonts. Since 0.9.18, <code>libSDL_Pango</code> is used, as it has much greater support for internationalization. However, if you wish to disable the use of SDL_Pango, you may do so running "<code>make</code>" with "<code>SDL_PANGO_LIB=</code>" added: </p>
<blockquote>
<code>
$ make SDL_PANGO_LIB=
</code>
</blockquote>
</blockquote>
<h4>Disabling Sound at Compile-time:</h4>
<blockquote>
If you don't have a sound card, or would prefer to build the program with no sound support (and therefore without a the <code>SDL_mixer</code> dependency), you can run "<code>make</code>" with "<code>SDL_MIXER_LIB=</code>" added: </p>
<blockquote>
<code>
$ make SDL_MIXER_LIB=
</code>
</blockquote>
</blockquote>
<h4>Other options:</h4>
<blockquote>
<p>
Various other options (e.g., installation paths) may be overridden; see them in "<code>Makefile</code>" for further details. </p>
</blockquote>
<h4>If you get errors:</h4>
<blockquote>
<p>
If you receive any errors during compile-time, make sure you have the appropriate libraries installed (see above). If using packaged versions of the libraries (e.g., RPMs under RedHat or DEBs under Debian), be sure to get the corresponding "<code>-dev</code>" or "<code>-devel</code>" packages as well, otherwise you won't be able to compile Tux Paint (and other programs) from source! </p>
</blockquote>
<h4>Installng:</h4>
<blockquote>
<p>
Assuming no fatal errors occured, you can now install the program so that it can be run by users on the system. By default, this must be done by the "root" user ('superuser'). Switch to "root" by typing the command: </p>
<blockquote>
<code>
$ su
</code>
</blockquote>
<p>
Enter "root"'s password at the prompt. You should now be "root" (with a prompt like "#"). To install the program and its data files, type: </p>
<blockquote>
<code>
# make install
</code>
</blockquote>
<p>
Finally, you can switch back to your regular user by exiting superuser mode: </p>
<blockquote>
<code>
# exit
</code>
</blockquote>
<p>
Alternatively, you may be able to simply use the "sudo" command (e.g., on Ubuntu Linux): </p>
<blockquote>
<code>
$ sudo make install
</code>
</blockquote>
<p>
<b>Note:</b> By default, "<code>tuxpaint</code>", the executable program, is placed in "<code>/usr/local/bin/</code>". The data files (images, sounds, etc.) are placed in "<code>/usr/local/share/tuxpaint/</code>". </p>
<h5>Changing Where Things Go</h5>
<blockquote>
<p>
You can change where things will go by setting "<code>Makefile</code>"variables on the command line. "<code>DESTDIR</code>" is used to place output in a staging area for package creation. "<code>PREFIX</code>" is the basis of where all other files go, and is, by default, set to "<code>/usr/local</code>". </p>
<p>
Other variables are: </p>
<dl>
<dt><code>BIN_PREFIX</code></dt>
<dd>
Where the "<code>tuxpaint</code>" binary will be installed. (Set to "<code>$(PREFIX)/bin</code>" by default - e.g., "<code>/usr/local/bin</code>") </dd>
<dt><code>DATA_PREFIX</code></dt>
<dd>
Where the data files (sound, graphics, brushes, stamps, fonts) will go, and where Tux Paint will look for them when it's run. (Set to "<code>$(PREFIX)/share/tuxpaint</code>") </dd>
<dt><code>DOC_PREFIX</code></dt>
<dd>
Where the documentation text files (the "<code>docs</code>" directory) will go. (Set to "<code>$(PREFIX)/share/doc/tuxpaint</code>") </dd>
<dt><code>MAN_PREFIX</code></dt>
<dd>
Where the manual page for Tux Paint will go. (Set to "<code>$(PREFIX)/share/man</code>") </dd>
<dt><code>ICON_PREFIX</code> &mdash; <code>$(PREFIX)/share/pixmaps</code></dt>
<dt><code>X11_ICON_PREFIX</code> &mdash; <code>$(PREFIX)/X11R6/include/X11/pixmaps</code></dt>
<dt><code>GNOME_PREFIX</code> &mdash; <code>$(PREFIX)/share/gnome/apps/Graphics</code></dt>
<dt><code>KDE_PREFIX</code> &mdash; <code>$(PREFIX)/share/applnk/Graphics</code></dt>
<dd>
Where the icons and launchers (for GNOME and KDE) will go. </dd>
<dt><code>LOCALE_PREFIX</code></dt>
<dd>
Where the translation files for Tux Paint will go, and where Tux Paint will look for them. (Set to "<code>$(PREFIX)/share/locale/</code>") (Final location of a translation file will be under the locale's directory (e.g., "<code>es</code>" for Spanish), within the "<code>LC_MESSAGES</code>" subdirectory.) </dd>
</dl>
<p>
<b>Note:</b> This list is out of date. See "<code>Makefile</code>" and "<code>Makefile-i18n</code>" for a complete list. </p>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<h2>Debugging:</h2>
<blockquote>
Debugging (to "STDOUT", e.g. to the terminal, or to a "<code>stdout.txt</code>" file, on Windows) can be enabled by setting "<code>DEBUG</code>" (and, if verbose logging is wanted, "<code>VERBOSE</code>") <code>#define</code>s in "<code>src/debug.h</code>". </blockquote>
<h2>Uninstalling Tux Paint:</h2>
<blockquote>
<h3>Windows</h3>
<blockquote>
<h4>Using the Uninstaller</h4>
<blockquote>
<p>
If you installed the Start Menu shortcuts (the default), then go to the TuxPaint folder and select "Uninstall". A box will be displayed that will confirm that you are about to uninstall Tux Paint and, if you are certain that you want to permanently remove Tux Paint, click on the 'Uninstall' button. </p>
<p>
When it has finished, click on the close button. </p>
</blockquote>
<h4>Using the Control Panel</h4>
<blockquote>
<p>
It is also possible to use the entry "TuxPaint (remove only)" in the Control Panel Add/Remove programs section. </p>
</blockquote>
</blockquote>
<h3>Linux</h3>
<blockquote>
<p>
Within the Tux Paint source directory (where you compiled Tux Paint), you can use the "<code>make uninstall</code>" target to uninstall Tux Paint. By default, this must be done by the "root" user ('superuser'), but if you installed Tux Paint somewhere else (e.g., using a "<code>PREFIX=...</code>" setting to "<code>make</code>" and "<code>make install</code>"), you may not, and will want to provide those same settings here. (See the installation instructions above for further information.) </p>
</blockquote>
<blockquote>
</body>
</html>

File diff suppressed because it is too large Load diff

View file

@ -1,426 +1,117 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>
Tux Paint PNG Documentation </title>
<meta http-equiv="Content-Type"
<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"> content="text/html; charset=utf-8">
<title>PNG</title>
<link rel="stylesheet" type="text/css" href="images/bordure/bordure.css">
</head> </head>
<body bgcolor="#FFFFFF"
text="#000000"
link="#0000FF"
vlink="#FF0000"
alink="#FF00FF">
<center>
<h1>
<img src="../../html/images/tuxpaint-title.png"
width="205"
height="210"
alt="Tux Paint"><br>
version 0.9.26<br/>
PNG Documentation </h1>
<p>
Copyright &copy; 2007-2021 by various contributors; see AUTHORS.<br>
<a href="http://www.tuxpaint.org/">http://www.tuxpaint.org/</a>
</p>
<body> <p>
30 janvier 2021 </p>
</center>
<hr>
<div id="conteneurhaut"> <h2>About PNGs</h2>
<div id="a1"></div>
<p>
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. </p>
<div id="b"></div> <p>
For more information, visit: <a href="http://www.libpng.org/">http://www.libpng.org/</a> </p>
<p>
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.) </p>
<div id="c">A propos des PNG</div> <p>
Support for many colors allows photo-quality "rubber stamp" images to be used in Tux Paint, and alpha transparency allows for high-quality brushes. </p>
<h2>How To Make PNGs</h2>
<div id="d"></div> <p>The following is a very <em>brief</em> list of ways to create PNGs or convert existing images into PNGs.
<h3>GIMP &amp; Krita</h3>
<p>
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. </p>
<p>
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 <a href="http://www.gimp.org/">http://www.gimp.org/</a> and <a href="http://www.krita.org/">http://www.krita.org/</a>, respectively. </p>
<div id="e"></div> <h3>Command-line Tools</h3>
<h4>NetPBM</h4>
<p>
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. </p>
</div> <p>
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 <a href="http://netpbm.sourceforge.net/">http://netpbm.sourceforge.net/</a>. </p>
<h4>cjpeg/djpeg</h4>
<p>
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 <a href="https://jpegclub.org/">https://jpegclub.org/</a>. </p>
<div id="f"> <h3>Windows Users</h3>
<div id="h">
<h2>A propos des PNG</h2>
<br>
&nbsp;&nbsp; &nbsp;PNG est le format Portable Network
Graphic .&nbsp;
c'est un standard ouvert, non couvert par une licence (contrairement au
GIFs) (En fait c'est sous licence GPL -global public licence, qui
garantie &agrave; tous l'acc&egrave;s libre &agrave; ce
format).&nbsp;
c'est un format hautement compress&eacute; (mais qui n'a pas de
perte
contrairement au jpeg, les pertes permettant une compression meilleure
mais peuvent introduire des erreurs dans l'image lors de la sauvegarde)
et qui supporte les couleurs en 24 bit ( 16,7 million de couleurs)
ainsi qu'une couche alpha - ce qui veux dire que chaque pixel
&agrave;
un degr&eacute; variable de transparence-.<br>
<br>
&nbsp;&nbsp; &nbsp;Pour plus d'information,
visitez&nbsp;<a href="http://www.libpng.org/" target="_blank"> http://www.libpng.org/</a> (en
anglais : peut &ecirc;tre des liens vers des sites
fran&ccedil;ais pas v&eacute;rifi&eacute;)<br>
<br>
&nbsp;&nbsp; &nbsp;Ces caract&eacute;ristiques
(open source, pertes
r&eacute;duites, compression, transparence/alpha) font que le
format
PNG est le meilleur choix pour Tuxpaint&nbsp; (Tuxpaint supporte le
format PNG gr&acirc;ce &agrave; la librairie open source
SDL_Image qui
provient de la librairie libPNG.) <br>
<br>
&nbsp;&nbsp; &nbsp;Le support des nombreuses couleurs
permet d'utiliser
des tampons de qualit&eacute; "photo" dans Tux Paint et la
transparence
permet des brosses de grande qualit&eacute;. Attention &agrave;
bien conserver la transparence lors des enregistrements.<br>
<!--
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="tuxpaint-index.html"><img style="border: 0px solid ; width: 200px; height: 100px;" alt="Retour" src="images/boutons_du_site/bouton_chrome_retour.png"></a><a href="JerandKa-index.html"><img style="border: 0px solid ; width: 200px; height: 100px;" alt="Acceuil" src="images/boutons_du_site/bouton_chrome_acceuil.png"></a><br>
-->
<h2><a name="haut"></a>Comment
cr&eacute;er des PNGs</h2>
<br>
&nbsp; Ce qui suit est un tr&egrave;s bref descriptif des
logiciel
capables de cr&eacute;er des PNG pour les trois OS grand public :<br>
<div style="text-align: center;">
<ul> <ul>
<li> <cite>CorelDRAW</cite>
(Corel)
<li><a style="text-decoration: none;" href="#Utilisateurs_de_LinuxUnix_">Linux</a></li> &mdash;
<a href="http://www.corel.com/">http://www.corel.com/</a>
<li> <cite>Illustrator</cite>
<li><a style="text-decoration: none;" href="#Utilisateurs_de_Windows">Windows</a></li> (Adobe)
&mdash;
<a href="http://www.adobe.com/products/illustrator.html">http://www.adobe.com/products/illustrator.html</a>
<li><a style="text-decoration: none;" href="#Utilisateurs_de_Macintosh">Mac OS X</a></li> <li> <cite>Paint Shop Pro</cite>
(Corel)
&mdash;
<a href="https://www.paintshoppro.com/">https://www.paintshoppro.com/</a>
<li> <cite>Photoshop</cite>
(Adobe)
&mdash;
<a href="http://www.adobe.com/products/photoshop.html">http://www.adobe.com/products/photoshop.html</a>
<li> <cite>PIXresizer</cite>
(Bluefive software)
&mdash;
<a href="http://bluefive.pair.com/pixresizer.htm">http://bluefive.pair.com/pixresizer.htm</a>
</ul> </ul>
<h3>Macintosh Users</h3>
</div> <ul>
<li> <cite>CorelDRAW</cite>
(Corel)
<br> &mdash;
<a href="http://www.corel.com/">http://www.corel.com/</a>
<li> <cite>GraphicConverter</cite>
<br> (Lemke Software)
&mdash;
<a href="https://www.lemkesoft.de/mac-fotobearbeitung-mac-diashow-mac-grafikprogramm-mac-bildbetrachter/">https://www.lemkesoft.de/mac-fotobearbeitung-mac-diashow-mac-grafikprogramm-mac-bildbetrachter/</a>
<a name="Utilisateurs_de_LinuxUnix_"></a> <li> <cite>Illustrator</cite>
<h3>&nbsp; Utilisateurs de Linux/Unix </h3> (Adobe)
&mdash;
<a href="http://www.adobe.com/products/illustrator.html">http://www.adobe.com/products/illustrator.html</a>
&nbsp;&nbsp;<br> <li> <cite>Photoshop</cite>
(Adobe)
&mdash;
<h4>&nbsp;&nbsp;&nbsp; Le <a href="http://www.adobe.com/products/photoshop.html">http://www.adobe.com/products/photoshop.html</a>
GIMP&nbsp;&nbsp;&nbsp;&nbsp;<br> </ul>
</h4>
&nbsp;&nbsp; &nbsp;Le meilleur outil pour cr&eacute;er
des images PNG
pour utiliser avec Tux Paint, c'est le programme de manipulation
d'image GNU (GIMP = GNU Image Manipulation Program) un programme de
dessin et de retouche photo open source de grande qualit&eacute;.<br>
&nbsp;&nbsp; &nbsp;Il est probablement
d&eacute;j&agrave;
install&eacute; avec votre distribution linux, sinon il doit
&ecirc;tre
sur les CD d'installation o&ugrave; sur le site de votre
distribution.
Autrement vous pouvez le trouver sur le site&nbsp; <a href="http://www.gimp.org/" target="_blank">http://www.gimp.org/</a><br>
<h4>&nbsp;&nbsp;&nbsp; Krita&nbsp;&nbsp;<br>
</h4>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Krita est une
application de dessin et de retouche photo pour KOffice :&nbsp;<a href="http://koffice.kde.org/krita/" target="_blank">http://koffice.kde.org/krita/</a><br>
<h4>&nbsp;&nbsp;&nbsp; NetPBM&nbsp;&nbsp;<br>
</h4>
&nbsp;&nbsp; &nbsp;Les outils Portable Bitmap&nbsp;
(connus
collectivement comme&nbsp; "NetPBM") sont une collection d'outil
ligne
de commande open source qui convertissent en provenance et vers de
nombreux formats, tels que GIF, TIFF, BMP, PNG, et beaucoup d'autres.<br>
&nbsp;&nbsp; &nbsp;NB : les formats netPBM (Portable Bitmap
: PBM,
Portable Greymap: PGM, Portable Pixmap: PPM, et le catch-all Portable
Any Map: PNM) ne supportent pas les couches alpha, donc toute
information de transparence (i.e. comme dans un GIF ou un PNG) sera
perdue! Utilisez le GIMP!<br>
<br>
&nbsp;&nbsp; &nbsp;Ils sont probablement
d&eacute;j&agrave;
install&eacute;s avec votre distribution linux. Sinon ils sont
tr&egrave;s certainement disponibles sur vos CD d'installation ou
sur
le site de la distribution. Autrement sur le site&nbsp;<a href="http://netpbm.sourceforge.net/" target="_blank">http://netpbm.sourceforge.net/</a><br>
<h4>&nbsp;&nbsp;&nbsp; cjpeg/djpeg</h4>
&nbsp;&nbsp; &nbsp;Les programmes en ligne de commande
"cjpeg" et
"djpeg" convertissent entre les formats NetPBM Portable Any Map (PNM)
et les JPEG.<br>
<br>
&nbsp;&nbsp; &nbsp;Ils sont probablement
d&eacute;j&agrave;
install&eacute;s avec votre distribution linux. (Sous Debian, ils
sont
disponibles dans le package 'libjpeg-progs") Sinon ils sont
tr&egrave;s
certainement disponibles sur vos CD d'installation ou sur le site de la
distribution. Autrement sur le site <a href="ftp://ftp.uu.net/graphics/jpeg/" target="_blank">ftp://ftp.uu.net/graphics/jpeg/</a><br>
<br>
<!--
<a href="#haut"> </a><a href="#haut"><img style="border: 0px solid ; width: 200px; height: 100px;" alt="haut" src="images/boutons_du_site/bouton_chrome_haut.png"></a>&nbsp;&nbsp;<a href="tuxpaint-index.html"><img style="border: 0px solid ; width: 200px; height: 100px;" alt="Retour" src="images/boutons_du_site/bouton_chrome_retour.png"></a><a href="JerandKa-index.html"><img style="border: 0px solid ; width: 200px; height: 100px;" alt="Acceuil" src="images/boutons_du_site/bouton_chrome_acceuil.png"></a>
-->
<h3><a name="Utilisateurs_de_Windows"></a>Utilisateurs
de Windows</h3>
<h4>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The Gimp</h4>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.gimp.org/%7Etml/gimp/win32/" target="_blank">
http://www.gimp.org/~tml/gimp/win32/</a><br>
<h4>&nbsp;&nbsp;&nbsp; Canvas (Deneba)</h4>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.deneba.com/products/canvas8/default2.html" target="_blank">
http://www.deneba.com/products/canvas8/default2.html</a><br>
<h4>&nbsp;&nbsp;&nbsp; CorelDRAW (Corel)</h4>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://www.corel.com/" target="_blank">http://www.corel.com/</a><br>
<h4>&nbsp;&nbsp;&nbsp; Fireworks (Macromedia)</h4>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://macromedia.com/software/fireworks/" target="_blank">
http://macromedia.com/software/fireworks/</a><br>
<h4>&nbsp;&nbsp;&nbsp; Illustrator (Adobe)</h4>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.adobe.com/products/illustrator/main.html" target="_blank">
http://www.adobe.com/products/illustrator/main.html</a><br>
<h4>&nbsp;&nbsp;&nbsp; Paint Shop Pro (Jasc)</h4>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://www.jasc.com/products/psp/" target="_blank">http://www.jasc.com/products/psp/</a><br>
<h4>&nbsp;&nbsp;&nbsp; Photoshop (Adobe)</h4>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://www.adobe.com/products/photoshop/main.html" target="_blank">http://www.adobe.com/products/photoshop/main.html</a><br>
<br>
<br>
<!--
<a href="PNG.html#haut"><img style="border: 0px solid ; width: 200px; height: 100px;" alt="haut" src="images/boutons_du_site/bouton_chrome_haut.png"></a>&nbsp;&nbsp;<a href="tuxpaint-index.html"><img style="border: 0px solid ; width: 200px; height: 100px;" alt="Retour" src="images/boutons_du_site/bouton_chrome_retour.png"></a><a href="JerandKa-index.html"><img style="border: 0px solid ; width: 200px; height: 100px;" alt="Acceuil" src="images/boutons_du_site/bouton_chrome_acceuil.png"></a>
-->
<h3><a name="Utilisateurs_de_Macintosh"></a>Utilisateurs
de Macintosh</h3>
<h4>&nbsp;&nbsp;&nbsp;&nbsp;The
Gimp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</h4>
&nbsp; &nbsp; <a href="http://www.gimp.org/%7Etml/gimp/win32/" target="_blank">http://www.gimp.org/~tml/gimp/win32/</a><br>
<h4>&nbsp;&nbsp;&nbsp; Canvas (Deneba)</h4>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.deneba.com/products/canvas8/default2.html" target="_blank">
http://www.deneba.com/products/canvas8/default2.html</a><br>
<h4>&nbsp;&nbsp;&nbsp; CorelDRAW (Corel)</h4>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://www.corel.com/" target="_blank">http://www.corel.com/</a><br>
<h4>&nbsp;&nbsp;&nbsp; Fireworks (Macromedia)</h4>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://macromedia.com/software/fireworks/" target="_blank">
http://macromedia.com/software/fireworks/</a>&nbsp;&nbsp;&nbsp;
&nbsp;<br>
<h4>&nbsp;&nbsp;&nbsp; Illustrator (Adobe)</h4>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.adobe.com/products/illustrator/main.html" target="_blank">
http://www.adobe.com/products/illustrator/main.html</a><span style="font-weight: bold;"><br>
</span>
<h4>&nbsp; &nbsp; Photoshop
(Adobe)&nbsp;&nbsp;&nbsp;&nbsp; </h4>
&nbsp; &nbsp; &nbsp; <a href="http://www.adobe.com/products/photoshop/main.html" target="_blank">http://www.adobe.com/products/photoshop/main.html</a><br>
<h4>&nbsp; &nbsp; Graphic Converter</h4>
<span style="font-weight: bold;">&nbsp; </span>&nbsp;
&nbsp; <a href="http://www.lemkesoft.de/us_gcabout.html" target="_blank">http://www.lemkesoft.de/us_gcabout.html</a><br>
<h4>&nbsp; &nbsp; &nbsp;NetPBM&nbsp;&nbsp;<br>
</h4>
&nbsp;&nbsp; &nbsp;Les outils Portable Bitmap&nbsp;
(connus
collectivement comme&nbsp; "NetPBM") sont une collection d'outil
ligne de
commande open source qui convertissent en provenance et vers de nombreux
formats, tels que GIF, TIFF, BMP, PNG, et beaucoup d'autres.<br>
&nbsp;&nbsp; &nbsp;NB
: les formats netPBM (Portable Bitmap : PBM, Portable Greymap: PGM,
Portable Pixmap: PPM, et le catch-all Portable Any Map: PNM) ne
supportent pas les couches alpha, donc toute information de
transparence (i.e. comme dans un GIF ou un PNG) sera perdue! Utilisez le
GIMP!<br>
<br>
&nbsp;&nbsp; &nbsp;Vous pouvez l'installer en utilisant
fink via fink commander : <a href="http://finkcommander.sourceforge.net/" target="_blank">http://finkcommander.sourceforge.net/</a>
. Autrement sur
le site&nbsp;<a href="http://netpbm.sourceforge.net/" target="_blank">http://netpbm.sourceforge.net/</a><br>
<br>
<br>
Plus d'informations.<br>
--------------------<br>
&nbsp; le site web libPNG liste les &eacute;diteurs et
convertisseurs d'image qui supportent le format PNG<br>
<br>
&nbsp;&nbsp;&nbsp; <a href="http://www.libpng.org/pub/png/pngaped.html" target="_blank">http://www.libpng.org/pub/png/pngaped.html</a><br>
&nbsp;&nbsp;&nbsp; <a href="http://www.libpng.org/pub/png/pngapcv.html" target="_blank">http://www.libpng.org/pub/png/pngapcv.html<br>
</a><br>
</div>
</div>
<div id="conteneurbas">
<div id="i"></div>
<div id="k"></div>
</div>
</body> </body>
</html> </html>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,75 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>
Tux Paint Signals Documentation </title>
<meta http-equiv="Content-Type"
content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF"
text="#000000"
link="#0000FF"
vlink="#FF0000"
alink="#FF00FF">
<center>
<h1>
<img src="../../html/images/tuxpaint-title.png"
width="205"
height="210"
alt="Tux Paint"><br>
version 0.9.26<br/>
Signals Documentation </h1>
<p>
Copyright &copy; 2019-2021 by various contributors; see AUTHORS.<br>
<a href="http://www.tuxpaint.org/">http://www.tuxpaint.org/</a>
</p>
<p>
30 janvier 2021 </p>
</center>
<hr>
<p>
Tux Paint responds to the following signals (which can be sent to the program's process via `<code>kill</code>` or `<code>killall</code>`, for example). </p>
<dl>
<dt>
<code>SIGTERM</code>
(also, <b><code>[Ctrl]</code></b> + <b><code>[C]</code></b> from a terminal running `<code>tuxpaint</code>`) </dt>
<dd>
<p>
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 <b><code>[Alt]</code></b> + <b><code>[F4]</code></b> on most systems). </p>
<p>
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. "<code>--autosave</code>") 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. "<code>--saveover</code>" and "<code>--saveovernew</code>", respectively), whether or not to overwrite the existing drawing, or save to a new file. </p>
<p>
<b>Note:</b> 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 <b><code>[Esc]</code></b> was key pressed. </p>
<p>
Example: <code>killall tuxpaint</code> </p>
</dd>
<dt>
<code>SIGUSR1</code> &amp; <code>SIGUSR2</code>
</dt>
<dd>
<p>
Tux Paint responds by setting its auto-save option (as if it had been launched with "<code>--autosave</code>"), as well as either the option to always save new images (as if launched with "<code>--saveovernew</code>") in the case of receiving a <code>SIGUSR1</code> signal, or to always save over the existing image (as if launched with "<code>--saveover</code>") in the case of receiving <code>SIGUSR2</code>. Then Tux Paint sends itself a <code>SIGTERM</code> signal, in an attempt to quit. (See above.) </p>
<p>
So, from the main interface, Tux Paint should quit almost immediately, with no questions asked. </p>
<p>
<b>Note:</b> 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. </p>
<p>
Example: <code>killall -s SIGUSR1 tuxpaint</code> </p>
</dd>
</dl>
</body>
</html>

View file

@ -0,0 +1,63 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>
Tux Paint SVG Documentation </title>
<meta http-equiv="Content-Type"
content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF"
text="#000000"
link="#0000FF"
vlink="#FF0000"
alink="#FF00FF">
<center>
<h1>
<img src="../../html/images/tuxpaint-title.png"
width="205"
height="210"
alt="Tux Paint"><br>
version 0.9.26<br/>
SVG Documentation </h1>
<p>
Copyright &copy; 2007-2021 by various contributors; see AUTHORS.<br>
<a href="http://www.tuxpaint.org/">http://www.tuxpaint.org/</a>
</p>
<p>
30 janvier 2021 </p>
</center>
<hr>
<h2>About SVGs</h2>
<p>
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. </p>
<p>
For more information, visit: <a href="https://www.w3.org/Graphics/SVG/">https://www.w3.org/Graphics/SVG/</a> </p>
<h2>How to make SVGs</h2>
<p>
An excellent tool with which to create SVG images for use in Tux Paint is Inkscape, a high-quality Open Source interactive drawing program. </p>
<p>
It is likely that is already installed on your system. If not, it should be readily available from your Linux distribution's software repository. If not, or to learn more, visit <a href="http://www.inkscape.org/">http://www.inkscape.org/</a>, respectively. </p>
<h2>Mac and Windows users</h2>
<ul>
<li> <cite>CorelDRAW</cite>
(Corel)
&mdash;
<a href="http://www.corel.com/">http://www.corel.com/</a>
<li> <cite>Illustrator</cite>
(Adobe)
&mdash;
<a href="http://www.adobe.com/products/illustrator.html">http://www.adobe.com/products/illustrator.html</a>
</ul>
</body>
</html>