issue75:inkscape
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédente | |||
issue75:inkscape [2013/12/18 15:32] – auntiee | issue75:inkscape [2013/12/18 17:34] (Version actuelle) – andre_domenech | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
**Although Inkscape is a vector graphics program, it does have some support for including bitmap images in your drawings. It's certainly not a fully fledged bitmap editor, and neither is it a desktop publishing program. If you want to airbrush a photo, you would be better off using The GIMP, and if you want to lay out a newsletter, then Scribus would be a better tool.** | **Although Inkscape is a vector graphics program, it does have some support for including bitmap images in your drawings. It's certainly not a fully fledged bitmap editor, and neither is it a desktop publishing program. If you want to airbrush a photo, you would be better off using The GIMP, and if you want to lay out a newsletter, then Scribus would be a better tool.** | ||
- | Bien que Inkscape soit un logiciel de graphisme vectoriel, il prend en charge jusqu' | + | Bien qu'Inkscape soit un logiciel de graphisme vectoriel, il prend en charge jusqu' |
**Getting an image into Inkscape is quite simple. My preference is to drag-and-drop it from the desktop or file manager into the main Inkscape window. Alternatively, | **Getting an image into Inkscape is quite simple. My preference is to drag-and-drop it from the desktop or file manager into the main Inkscape window. Alternatively, | ||
- | Intégrer une image dans Inkscape est très simple. Ma préférence va au glisser-déposer depuis le bureau ou le gestionnaire de fichiers vers la fenêtre principale d' | + | Intégrer une image dans Inkscape est très simple. Ma préférence va au glisser-déposer depuis le bureau ou le gestionnaire de fichiers vers la fenêtre principale d' |
**If you select “Embed” then the image will be included as part of the Inkscape file. For the technically minded it is Base64 encoded, which is a means of representing binary data using text. Unfortunately, | **If you select “Embed” then the image will be included as part of the Inkscape file. For the technically minded it is Base64 encoded, which is a means of representing binary data using text. Unfortunately, | ||
- | Si vous sélectionnez « incorporer », l' | + | Si vous sélectionnez « incorporer », l' |
**Selecting “Link” will include the location of your bitmap in the SVG file, but not the data that makes up the image itself. If you subsequently move the SVG file, you'll need to move the bitmap with it, or fix the link to account for the change in location. One advantage of linking a file is that, if you make changes to the original bitmap image, those changes will be automatically reflected in the Inkscape document. For an embedded bitmap you would have to remove the current version from the document and then embed the modified version.** | **Selecting “Link” will include the location of your bitmap in the SVG file, but not the data that makes up the image itself. If you subsequently move the SVG file, you'll need to move the bitmap with it, or fix the link to account for the change in location. One advantage of linking a file is that, if you make changes to the original bitmap image, those changes will be automatically reflected in the Inkscape document. For an embedded bitmap you would have to remove the current version from the document and then embed the modified version.** | ||
Ligne 17: | Ligne 17: | ||
**Which option to choose depends on what you are doing with the bitmap in your Inkscape drawing. If it's only there temporarily—so that you can trace over it, or use it for reference—then linking is probably the best option. For use as a permanent part of your design, then embedding might be better – especially if you plan to move the Inkscape file, put it on a web server, or send it to someone else. If you're unsure, then I would suggest linking the image; you can always embed it later using the Extensions > Images > Embed Images... menu option.** | **Which option to choose depends on what you are doing with the bitmap in your Inkscape drawing. If it's only there temporarily—so that you can trace over it, or use it for reference—then linking is probably the best option. For use as a permanent part of your design, then embedding might be better – especially if you plan to move the Inkscape file, put it on a web server, or send it to someone else. If you're unsure, then I would suggest linking the image; you can always embed it later using the Extensions > Images > Embed Images... menu option.** | ||
- | Le choix de l' | + | Le choix de l' |
**Checking the “Don' | **Checking the “Don' | ||
- | Cocher la case « Ne plus demander » aura pour résultat que les importations futures seront par défaut votre choix Incorporer ou Lier. Je préfère laisser cette case non cochée, comme j'ai tendance à basculer entre les deux options en fonction de ce que je dessine. Si vous la cochez et ensuite changez d' | + | Cocher la case « Ne plus demander » aura pour résultat que les importations futures seront par défaut votre choix Incorporer ou Lier. Je préfère laisser cette case non cochée, comme j'ai tendance à basculer entre les deux options en fonction de ce que je dessine. Si vous la cochez et ensuite changez d' |
**Having imported an image, it will appear in Inkscape with the normal selection handles. One thing that might surprise you is the size of the image—imported bitmaps tend to be bigger than you might expect. This is because Inkscape imports them at a resolution of 90dpi, regardless of the size, shape or embedded metadata of the image. At this resolution, a 900 pixel tall image will be 10 inches tall, nearly filling an A4 page.** | **Having imported an image, it will appear in Inkscape with the normal selection handles. One thing that might surprise you is the size of the image—imported bitmaps tend to be bigger than you might expect. This is because Inkscape imports them at a resolution of 90dpi, regardless of the size, shape or embedded metadata of the image. At this resolution, a 900 pixel tall image will be 10 inches tall, nearly filling an A4 page.** | ||
- | Après avoir importé une image, elle apparaîtra dans Inkscape avec les poignées de sélection normales. Une chose qui pourrait vous surprendre, c'est que la taille des images bitmaps importées a tendance à être plus grande que vous ne le pensez. C'est parce que Inkscape les importe à une résolution de 90 dpi, quelle que soit la taille, la forme ou les métadonnées intégrées de l' | + | Après avoir importé une image, elle apparaîtra dans Inkscape avec les poignées de sélection normales. Une chose qui pourrait vous surprendre, c'est que la taille des images bitmaps importées a tendance à être plus grande que vous ne le pensez. C'est parce qu'Inkscape les importe à une résolution de 90 dpi, quelle que soit la taille, la forme ou les métadonnées intégrées de l' |
**Within Inkscape, it might be useful to think of your picture as being a group of colored squares—albeit a group that you can't enter or un-group. Each square is drawn at 1/90 of an inch in size, but you can scale it up or down using the selection handles, just as you would with any other object. Scaling like this doesn' | **Within Inkscape, it might be useful to think of your picture as being a group of colored squares—albeit a group that you can't enter or un-group. Each square is drawn at 1/90 of an inch in size, but you can scale it up or down using the selection handles, just as you would with any other object. Scaling like this doesn' | ||
Sometimes, you don't want the whole of a bitmap image in your drawing. If your image is a PNG file, then Inkscape will honor any transparency that's present. This can be used to include non-rectangular elements into your drawing. Take the Full Circle Magazine logo as an example: you can clearly see the difference between using importing a JPEG version, which doesn' | Sometimes, you don't want the whole of a bitmap image in your drawing. If your image is a PNG file, then Inkscape will honor any transparency that's present. This can be used to include non-rectangular elements into your drawing. Take the Full Circle Magazine logo as an example: you can clearly see the difference between using importing a JPEG version, which doesn' | ||
- | Dans Inkscape, il pourrait être utile de penser à votre image comme étant un groupe de carrés coloriés | + | Dans Inkscape, il pourrait être utile de penser à votre image comme étant un groupe de carrés coloriés, mais un groupe dans lequel vous ne pouvez pas entrer et que vous ne pouvez pas dégrouper. Chaque carré est dessiné avec une taille de 1/90e de pouce, mais vous pouvez en modifier l' |
- | Parfois, vous ne voudrez pas la totalité d'une image bitmap dans votre dessin. Si votre image est un fichier PNG, alors Inkscape respectera toute transparence qui est présente. Ceci peut être utilisé pour inclure des éléments non-rectangulaires dans votre dessin. Prenez le logo Full Circle Magazine comme exemple : vous pouvez clairement voir la différence entre l' | + | Parfois, vous ne voudrez pas la totalité d'une image bitmap dans votre dessin. Si votre image est un fichier PNG, alors Inkscape respectera toute transparence qui est présente. Ceci peut être utilisé pour inclure des éléments non rectangulaires dans votre dessin. Prenez le logo Full Circle Magazine comme exemple : vous pouvez clairement voir la différence entre l' |
**When protecting sensitive readers from the fleshy expanses of renaissance art, for example, a pair of PNGs makes for a reasonable brassiere, whereas JPEGs lead to overly obtrusive underpants...** | **When protecting sensitive readers from the fleshy expanses of renaissance art, for example, a pair of PNGs makes for a reasonable brassiere, whereas JPEGs lead to overly obtrusive underpants...** | ||
- | Pour protéger les lecteurs sensibles des étendues pulpeuses de l'art de la Renaissance, | + | Pour protéger les lecteurs sensibles des étendues pulpeuses de l'art de la Renaissance, |
**Another way to show just a sub-section of an image is to use clipping. This works in exactly the same way as clipping any other object—just draw a clip path on top, select both the path and the image, and then choose Set Clip from the context menu, or Object > Clip > Set from the main menu. Using this with the bottom left corner of our renaissance painting, followed by some rotating and flipping, leads to an image that should be familiar to anyone who has seen Monty Python' | **Another way to show just a sub-section of an image is to use clipping. This works in exactly the same way as clipping any other object—just draw a clip path on top, select both the path and the image, and then choose Set Clip from the context menu, or Object > Clip > Set from the main menu. Using this with the bottom left corner of our renaissance painting, followed by some rotating and flipping, leads to an image that should be familiar to anyone who has seen Monty Python' | ||
Ligne 43: | Ligne 43: | ||
**The hard edges of a clipped image don't suit every requirement, | **The hard edges of a clipped image don't suit every requirement, | ||
- | Les bords durs d'une image découpée ne conviennent pas à tous les besoins, mais, comme on pouvez | + | Les bords durs d'une image découpée ne conviennent pas à tous les besoins, mais, comme on pouvait |
**As you may recall from the previous part of this tutorial, masks are just collections of colored pixels—just like bitmap images. Inkscape will happily let you use an imported bitmap as a mask—it' | **As you may recall from the previous part of this tutorial, masks are just collections of colored pixels—just like bitmap images. Inkscape will happily let you use an imported bitmap as a mask—it' | ||
Ligne 50: | Ligne 50: | ||
Comme vous vous souvenez de la partie précédente de ce tutoriel, les masques ne sont que des collections de pixels de couleur, tout comme les images bitmap. Inkscape se fera un plaisir de vous permettre d' | Comme vous vous souvenez de la partie précédente de ce tutoriel, les masques ne sont que des collections de pixels de couleur, tout comme les images bitmap. Inkscape se fera un plaisir de vous permettre d' | ||
- | Ce que vous êtes en train de voir est le blanc du canevas d' | + | Ce que vous êtes en train de voir est le blanc du canevas d' |
**It's worth noting that you can mask any sort of object. The examples here all use an image to mask a single rectangle with a flat fill color, but you can use the same technique on an object with a gradient or pattern fill, or even on a group of objects.** | **It's worth noting that you can mask any sort of object. The examples here all use an image to mask a single rectangle with a flat fill color, but you can use the same technique on an object with a gradient or pattern fill, or even on a group of objects.** | ||
- | Il est intéressant de noter que vous pouvez masquer | + | Il est intéressant de noter que vous pouvez masquer |
**Depending on your source image, you may find that you get better results if you convert it to a grayscale using a bitmap editor such as The GIMP. A bitmap editor will also give you the opportunity to lighten, or darken, or even invert, the colors of the image. If the image was included in Inkscape as a Link rather than an Embed, the effect of your changes will be applied to your Inkscape drawing each time you save the bitmap image in your editor, allowing you to easily experiment with different changes to the bitmap. In my experience Inkscape isn't always perfect at refreshing the screen when the bitmap changes, but scrolling the canvas a little, or changing the zoom level, usually fixes the issue.** | **Depending on your source image, you may find that you get better results if you convert it to a grayscale using a bitmap editor such as The GIMP. A bitmap editor will also give you the opportunity to lighten, or darken, or even invert, the colors of the image. If the image was included in Inkscape as a Link rather than an Embed, the effect of your changes will be applied to your Inkscape drawing each time you save the bitmap image in your editor, allowing you to easily experiment with different changes to the bitmap. In my experience Inkscape isn't always perfect at refreshing the screen when the bitmap changes, but scrolling the canvas a little, or changing the zoom level, usually fixes the issue.** | ||
- | En fonction de votre image source, vous pourrez constater que vous obtiendrez de meilleurs résultats si vous la convertissez en niveaux de gris en utilisant un éditeur de bitmap comme GIMP. Un éditeur de bitmap vous donnera également l' | + | En fonction de votre image source, vous pourrez constater que vous obtiendrez de meilleurs résultats si vous la convertissez en niveaux de gris en utilisant un éditeur de bitmap comme GIMP. Un éditeur de bitmap vous donnera également l' |
**Using bitmaps as masks can be another way to get around the limited types of gradients that the SVG format supports. For example, by creating a conical gradient in The GIMP, then using it to mask a yellow square on a green background, it's possible to produce a conical yellow-green gradient that would be difficult to create in Inkscape alone.** | **Using bitmaps as masks can be another way to get around the limited types of gradients that the SVG format supports. For example, by creating a conical gradient in The GIMP, then using it to mask a yellow square on a green background, it's possible to produce a conical yellow-green gradient that would be difficult to create in Inkscape alone.** | ||
Ligne 89: | Ligne 89: | ||
http:// | http:// | ||
- | Crédits pour les images | + | Crédits pour les images |
“Vénus, Cupidon et le Temps” de Angelo Bronzino | “Vénus, Cupidon et le Temps” de Angelo Bronzino |
issue75/inkscape.1387377171.txt.gz · Dernière modification : 2013/12/18 15:32 de auntiee