5.7. Kontūrai ir SVG failai

SVG, Scalable Vector Graphics, yra populiarus vektorinės grafikos failų formatas, kuriame grafiniai elementai rodomi nuo skiriamosios gebos nepriklausomu formatu, priešingai nei rastrinės grafikos paveikslėliai, kur grafiniai elementai yra vaizduojami kaip pikselių masyvai. Programa GIMP pagrinde yra rastrinės grafikos programa, tačiau kontūrai yra vektoriniai objektai.

Fortunately, paths are represented in SVG files in almost exactly the same way they are represented in GIMP. This compatibility makes it possible to store GIMP paths as SVG files without losing any information. You can access this capability in the Paths dialog.

It also means that GIMP can create paths from SVG files saved in other programs, such as Inkscape, a popular open-source vector graphics application. This is nice because dedicated vector editing programs have much more powerful path-manipulation tools than GIMP does. You can import a path from an SVG file using the Paths dialog.

The SVG format handles many other graphical elements than just paths: among other things, it handles figures such as squares, rectangles, circles, ellipses, regular polygons, etc. GIMP cannot do anything with these entities, but it can load them as paths.

[Pastaba] Pastaba

Kontūrų kūrimas yra ne vienintelis dalykas, kurį GIMP galima daryti su SVG failais. GIMP taip pat gali atverti SVG failus kaip GIMP paveikslėlius.