La profondeur de la scène est estimée à partir de la photo (MiDaS small ou Depth Anything V2 Small) et mélangée aux gris : les planches suivent les volumes du sujet plutôt que ses lumières et ses ombres. - Onglet « Profondeur » : part de la carte de profondeur, modèle, et détails fins de la photo gravés dans la profondeur (yeux, bouche). - Répartition des niveaux : rapproche les planches d'aires égales quand les valeurs sont tassées sur quelques gris. - Images 16 bits lues sur toute leur plage (elles étaient écrêtées à 255). - Le Python d'Inkscape (MinGW, sans pip) ne peut pas charger onnxruntime : le calcul tourne dans un environnement à part, installé par deploy.ps1 -Depth, lancé en sous-processus, résultat gardé en cache. - Depth Anything sur la carte graphique (DirectML) avec repli sur le processeur ; MiDaS small toujours sur le processeur, DirectML lui faisant rendre une carte fausse. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AumyrbcuQobB3GbPrFjG9i
226 lines
7.2 KiB
Plaintext
226 lines
7.2 KiB
Plaintext
# Modele de traduction de l'extension Inkscape « Gray Iso-Layers ».
|
|
# Genere par i18n.py ; ne modifier que les msgstr.
|
|
msgid ""
|
|
msgstr ""
|
|
"Project-Id-Version: grayisolayers\n"
|
|
"MIME-Version: 1.0\n"
|
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
"Content-Transfer-Encoding: 8bit\n"
|
|
|
|
#: gray_iso_layers.inx
|
|
msgid "Gray Iso-Layers"
|
|
msgstr ""
|
|
|
|
#: gray_iso_layers.inx
|
|
msgid "Levels"
|
|
msgstr ""
|
|
|
|
#: gray_iso_layers.inx
|
|
msgid "Number of gray levels:"
|
|
msgstr ""
|
|
|
|
#: gray_iso_layers.inx
|
|
msgid "Level distribution (% of equal areas):"
|
|
msgstr ""
|
|
|
|
#: gray_iso_layers.inx
|
|
msgid "0 keeps evenly spaced thresholds. 100 spreads the levels so that every board covers the same area: use it when most of the image sits in a few grays, as in a depth map."
|
|
msgstr ""
|
|
|
|
#: gray_iso_layers.inx
|
|
msgid "Content of each board:"
|
|
msgstr ""
|
|
|
|
#: gray_iso_layers.inx
|
|
msgid "Stacked, lightest in front (board no. 1 = darkest, whole image)"
|
|
msgstr ""
|
|
|
|
#: gray_iso_layers.inx
|
|
msgid "Stacked, darkest in front (board no. 1 = lightest, whole image)"
|
|
msgstr ""
|
|
|
|
#: gray_iso_layers.inx
|
|
msgid "Its own gray only (boards side by side, no overlap)"
|
|
msgstr ""
|
|
|
|
#: gray_iso_layers.inx
|
|
msgid "Mark on each board the outline of the next one (stacked boards)"
|
|
msgstr ""
|
|
|
|
#: gray_iso_layers.inx
|
|
msgid "Assembly guide: the outline of the board to glue on top is drawn in the marking color, without being cut."
|
|
msgstr ""
|
|
|
|
#: gray_iso_layers.inx
|
|
msgid "Smoothing (% of the image's longer side):"
|
|
msgstr ""
|
|
|
|
#: gray_iso_layers.inx
|
|
msgid "Smoothing applied before cutting the levels: the higher it is, the rounder and simpler the outlines."
|
|
msgstr ""
|
|
|
|
#: gray_iso_layers.inx
|
|
msgid "Preserve edges while smoothing (portraits, photos)"
|
|
msgstr ""
|
|
|
|
#: gray_iso_layers.inx
|
|
msgid "Flattens skin and textures but keeps sharp transitions (eyes, mouth, outline of a face). Uncheck for a plain blur, better suited to abstract reliefs."
|
|
msgstr ""
|
|
|
|
#: gray_iso_layers.inx
|
|
msgid "Calculation resolution (points on the longer side):"
|
|
msgstr ""
|
|
|
|
#: gray_iso_layers.inx
|
|
msgid "The image is resampled to this size before the calculation. Higher is more accurate but slower."
|
|
msgstr ""
|
|
|
|
#: gray_iso_layers.inx
|
|
msgid "Smallest island or hole kept (% of the image area):"
|
|
msgstr ""
|
|
|
|
#: gray_iso_layers.inx
|
|
msgid "Simplification (calculation points):"
|
|
msgstr ""
|
|
|
|
#: gray_iso_layers.inx
|
|
msgid "Largest deviation allowed when removing nodes. 0 keeps every node."
|
|
msgstr ""
|
|
|
|
#: gray_iso_layers.inx
|
|
msgid "Smooth the outlines with Bézier curves"
|
|
msgstr ""
|
|
|
|
#: gray_iso_layers.inx
|
|
msgid "Depth"
|
|
msgstr ""
|
|
|
|
#: gray_iso_layers.inx
|
|
msgid "Depth map share (%):"
|
|
msgstr ""
|
|
|
|
#: gray_iso_layers.inx
|
|
msgid "0 uses the grays of the image alone, 100 its estimated depth alone. In between, the depth gives the volumes and the grays keep details such as the eyes and the mouth. Needs the depth models, installed by deploy.ps1 -Depth."
|
|
msgstr ""
|
|
|
|
#: gray_iso_layers.inx
|
|
msgid "Depth model:"
|
|
msgstr ""
|
|
|
|
#: gray_iso_layers.inx
|
|
msgid "Fast (MiDaS small)"
|
|
msgstr ""
|
|
|
|
#: gray_iso_layers.inx
|
|
msgid "Fine (Depth Anything V2 Small)"
|
|
msgstr ""
|
|
|
|
#: gray_iso_layers.inx
|
|
msgid "Fine details of the photo (%):"
|
|
msgstr ""
|
|
|
|
#: gray_iso_layers.inx
|
|
msgid "Carves the fine contrasts of the photo (eyes, mouth, eyebrows, strands of hair) into the depth, which has none of them. A plain background brings nothing and stays at the back. 0 keeps the smooth depth alone."
|
|
msgstr ""
|
|
|
|
#: gray_iso_layers.inx
|
|
msgid "The depth of the scene is estimated from the photo: near areas become light, far areas dark. With boards stacked lightest in front, the nearest part of the subject ends up in front."
|
|
msgstr ""
|
|
|
|
#: gray_iso_layers.inx
|
|
msgid "The estimate runs on the graphics card when possible and is kept in a cache: only the first run on an image takes a few seconds."
|
|
msgstr ""
|
|
|
|
#: gray_iso_layers.inx
|
|
msgid "Style"
|
|
msgstr ""
|
|
|
|
#: gray_iso_layers.inx
|
|
msgid "Fill:"
|
|
msgstr ""
|
|
|
|
#: gray_iso_layers.inx
|
|
msgid "Gray of each level"
|
|
msgstr ""
|
|
|
|
#: gray_iso_layers.inx
|
|
msgid "Single color (below)"
|
|
msgstr ""
|
|
|
|
#: gray_iso_layers.inx
|
|
msgid "No fill (outlines only)"
|
|
msgstr ""
|
|
|
|
#: gray_iso_layers.inx
|
|
msgid "Fill color:"
|
|
msgstr ""
|
|
|
|
#: gray_iso_layers.inx
|
|
msgid "Stroke width (0 = no stroke):"
|
|
msgstr ""
|
|
|
|
#: gray_iso_layers.inx
|
|
msgid "Unit:"
|
|
msgstr ""
|
|
|
|
#: gray_iso_layers.inx
|
|
msgid "Cut stroke color:"
|
|
msgstr ""
|
|
|
|
#: gray_iso_layers.inx
|
|
msgid "Marking stroke color:"
|
|
msgstr ""
|
|
|
|
#: gray_iso_layers.inx
|
|
msgid "Keep the original image"
|
|
msgstr ""
|
|
|
|
#: gray_iso_layers.inx
|
|
msgid "Help"
|
|
msgstr ""
|
|
|
|
#: gray_iso_layers.inx
|
|
msgid ""
|
|
"Select one or more bitmap images (imported photo, height map, blurred noise), then run the extension. Colors are read as grays and transparency as white.\n"
|
|
"\n"
|
|
"The image is smoothed, then split into the requested number of gray levels with evenly spaced thresholds. Each level becomes one closed path that follows the edge of its flat area, like a contour line on a map.\n"
|
|
"\n"
|
|
"Each gray level goes into its own layer, named Board no. 1, Board no. 2... from the back to the front, added above the image: as many new layers as gray levels. The boards are meant to be cut and stacked: board no. 1 covers the whole image and each following board is smaller and lies in front of the previous one, lightest (or darkest) in front. In each layer, the cut outline of the board is drawn in the cut color (red), and the outline of the next board is carried over in the marking color (black), to show where to glue it. With \"Its own gray only\", a board holds the flat area of its gray alone: the boards sit side by side without overlapping and carry no marking. Several selected images share the same layers.\n"
|
|
"\n"
|
|
"For a relief that follows the real volumes of a portrait rather than its light and shadows, raise the depth map share (Depth tab): at 100, the boards follow the volumes, and the fine details setting carves the eyes and the mouth into them. A depth map made elsewhere (8 or 16 bits) can also be imported and selected like any image, with a share of 0. In both cases, if most boards come out empty or the subject only gets a few of them, raise the level distribution.\n"
|
|
"\n"
|
|
"For laser cutting, choose no fill: only the cut and marking strokes remain. For line art only, choose a white single-color fill, or no fill, with a black stroke and no marking. If the outlines are too busy, raise the smoothing or the smallest island; if they look angular, raise the smoothing or the simplification. If a face is no longer recognizable, lower the smoothing and keep \"Preserve edges\" checked."
|
|
msgstr ""
|
|
|
|
#: gray_iso_layers.py
|
|
msgid "Select at least one bitmap image (File > Import), then run the extension again."
|
|
msgstr ""
|
|
|
|
#: gray_iso_layers.py
|
|
msgid "At least 2 gray levels are needed."
|
|
msgstr ""
|
|
|
|
#: gray_iso_layers.py
|
|
msgid "Board no. {}"
|
|
msgstr ""
|
|
|
|
#: gray_iso_layers.py
|
|
msgid "Cannot read the image '{}' ({}). Embed it in the document (right-click > Embed Image) or check its link."
|
|
msgstr ""
|
|
|
|
#: gray_iso_layers.py
|
|
msgid "The image '{}' is uniform: only the base level has a shape. Reduce the smoothing or pick a more contrasted image."
|
|
msgstr ""
|
|
|
|
#: gray_iso_layers.py
|
|
msgid "Cut"
|
|
msgstr ""
|
|
|
|
#: gray_iso_layers.py
|
|
msgid "Marking of board no. {}"
|
|
msgstr ""
|
|
|
|
#: gray_iso_layers.py
|
|
msgid "No depth map for the image '{}' ({}). Install the depth models with 'deploy.ps1 -Depth'. The grays of the image are used alone."
|
|
msgstr ""
|