LazPaint Command line/fr: what changed
Revision 1 to 2. Removed lines have a minus sign; added lines have a plus sign.
| Old | New | Line | |
|---|---|---|---|
| 1 | 1 | [[LazPaint/fr|Retour]] | |
| 2 | 2 | ||
| 3 | 3 | ### Ligne de commande | |
| 4 | 4 | ||
| 5 | 5 | Utilisation générale : | |
| 6 | 6 | ||
| 7 | - | ||
| 7 | + | ```text | |
| 8 | + | lazpaint fichierEnEntrée [/commande1 [/commande2...]] [fichierEnSortie] | |
| 9 | + | ``` | |
| 8 | 10 | ||
| 9 | 11 | Ou | |
| 10 | 12 | ||
| 11 | - | ||
| 13 | + | ```text | |
| 14 | + | lazpaint fichierEnEntrée [-commande1 [-commande2...]] [fichierEnSortie] | |
| 15 | + | ``` | |
| 12 | 16 | ||
| 13 | 17 | Sous Linux, le préfixe de commande est '-'. Sous Windows, le préfixe de commande peut être '-' ou '/'. | |
| 14 | 18 | ||
| 15 | 19 | #### Ligne sans commande | |
| 16 | 20 | ||
| 17 | 21 | Vous pouvez omettre les commandes si vous voulez seulement convertir une image dans un autre format. Par exemple : | |
| 18 | 22 | ||
| 19 | - | ||
| 23 | + | ```text | |
| 24 | + | lazpaint image.pdn image.png | |
| 25 | + | ``` | |
| 20 | 26 | ||
| 21 | 27 | aplatira et sauvegardera une image Paint.NET dans un fichier PNG. | |
| 22 | 28 | ||
| 23 | 29 | #### Ligne sans fichier en sortie | |
| 24 | 30 | ||
| 25 | 31 | Si vous ne spécifiez pas de fichier en sortie, l'application sera ouverte avec l'image résultante. Par exemple : | |
| 26 | 32 | ||
| 27 | - | ||
| 33 | + | ```text | |
| 34 | + | lazpaint image.png /RotateCW | |
| 35 | + | ``` | |
| 28 | 36 | ||
| 29 | 37 | ouvrira l'image avec une rotation de 90°. | |
| 30 | 38 | ||
| 31 | 39 | #### Ligne sans fichier en entrée | |
| 32 | 40 | ||
| 33 | 41 | Vous pouvez aussi créer une image à partir de rien. Par exemple : | |
| 34 | 42 | ||
| 35 | - | ||
| 43 | + | ```text | |
| 44 | + | lazpaint /New(800,600) /Gradient(255,255,255,255,0,0,0,255,Linear,0,0,800,600) blackwhite.png | |
| 45 | + | ``` | |
| 36 | 46 | ||
| 37 | 47 | créera une image avec un dégradé noir et blanc et le sauvegardera dans blackwhite.png. | |
| 38 | 48 | ||
| 39 | 49 | #### Commandes générales | |
| 40 | 50 | ||
| 41 | 51 | - /HorizontalFlip : retourne l'image horizontalement | |
| 42 | 52 | - /VerticalFlip : retourne l'image verticalement | |
| 43 | 53 | - /SwapRedBlue : échange les canaux rouges et bleus | |
| 44 | 54 | - /RotateCW : tourne l'image dans le sens horaire | |
| 45 | 55 | - /RotateCCW : tourne l'image dans le sens anti-horaire | |
| 46 | 56 | - /Resample(Width,Height: Integer) : rééchantillonge l'image à Width x Height | |
| 47 | 57 | - /Opacity(Value: Byte) : applique un factor global d'opacité | |
| 48 | 58 | - /Gradient(red1,green1,blue1,alpha1,red2,green2,blue2,alpha2: Byte; type; x1,y1,x2,y2: Single) : dessine un gradient. Le type peut être Linear, Reflected, Diamond ou Radial. | |
| 49 | 59 | - /New(Width,Height) : crée une nouvelle image de dimensions Width x Height | |
| 50 | 60 | ||
| 51 | 61 | Par exemple : | |
| 52 | 62 | ||
| 53 | - | ||
| 63 | + | ```text | |
| 64 | + | lazpaint bigimage.bmp /Resample(320,200) smallimage.png | |
| 65 | + | ``` | |
| 54 | 66 | ||
| 55 | 67 | sauvegardera une petite copie de l'image bigimage.bmp dans smallimage.png | |
| 56 | 68 | ||
| 57 | 69 | #### Commandes de filtre | |
| 58 | 70 | ||
| 59 | 71 | Vous pouvez appliquer les filtres avec les valeur par défaut. Voici la liste des commandes de filtres : | |
| 60 | 72 | ||
| 61 | 73 | **Filtres de flou :** BlurPrecise, BlurRadial, BlurFast, BlurCorona, BlurDisk, BlurMotion, BlurCustom | |
| 62 | 74 | ||
| 63 | 75 | **Filtres de pixels :** Sharpen, Smooth, Median, Emboss, Contour, Grayscale, Negative, LinearNegative, Normalize, SmartZoom3 | |
| 64 | 76 | ||
| 65 | 77 | **Filtres de déformation :** Sphere, Twirl, Cylinder, Plane | |
| 66 | 78 | ||
| 67 | 79 | **Filtres de rendu :** PerlinNoise, CyclicPerlinNoise, Clouds, CustomWater, Water, Wood, WoodVertical, Plastik, MetalFloor, Camouflage, SnowPrint, Stone, RoundStone, Marble | |
| 68 | 80 | ||
| 69 | 81 | Par exemple : | |
| 70 | 82 | ||
| 71 | - | ||
| 83 | + | ```text | |
| 84 | + | lazpaint photo.jpg /Contour /Emboss /Normalize | |
| 85 | + | ``` | |
| 72 | 86 | ||
| 73 | 87 | tansformera l'image en dessin en pierre taillée. | |
| 74 | 88 | ||
| 75 | 89 | --- | |
| 76 | 90 | *From the Free Pascal wiki, page "LazPaint Command line/fr", as it stood on 2015-07-10 after a change by FTurtle, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).* | |
| 77 | 91 | Category: LazPaint/fr |
