Hi,
currently I'm testing Inkscape for the german computer magazine c't. I'm trying to crop an imported bitmap along the path described by a vector object (e.g a star) to gain a bitmap element shaped like the object (which I want to use as a "die"). I've tried the boolean operators for shapes and paths, but nothing happened. Is this operation possible in Inkscape?
Thank you!
Regards,
Peter König
c't - Magazin für Computertechnik http://www.heise.de/ct/ Heise Zeitschriften Verlag GmbH & Co.KG phone: 0511-5352-300 Helstorfer Str. 7 fax: 0511-5352-417 D-30625 Hannover, Germany eMail: pek@...883...
On 4/20/06, Peter König <pek@...883...> wrote:
Hi,
currently I'm testing Inkscape for the german computer magazine c't. I'm trying to crop an imported bitmap along the path described by a vector object (e.g a star) to gain a bitmap element shaped like the object (which I want to use as a "die"). I've tried the boolean operators for shapes and paths, but nothing happened. Is this operation possible in Inkscape?
Yes, see "Clipping or masking a bitmap" at http://inkscape.org/doc/tips/tutorial-tips.html.
In the development version, the same can also be done by Object > Clip
Set. However, the pattern method is still more convenient because
you can move the bitmap inside its clip by the pattern adjustment handles (in Node tool).
-- bulia byak Inkscape. Draw Freely. http://www.inkscape.org
On Thu, 20 Apr 2006 12:52:54 -0400, "bulia byak" <buliabyak@...400...> wrote:
In the development version, the same can also be done by Object > Clip
Set. However, the pattern method is still more convenient because
you can move the bitmap inside its clip by the pattern adjustment handles (in Node tool).
Hmm, good point.
There's another advantage to the pattern approach: you can use the shape in further boolean operations.
-mental
On Thu, 20 Apr 2006 18:43:07 +0200, Peter König <pek@...883...> wrote:
Hi,
currently I'm testing Inkscape for the german computer magazine c't. I'm trying to crop an imported bitmap along the path described by a vector object (e.g a star) to gain a bitmap element shaped like the object (which I want to use as a "die"). I've tried the boolean operators for shapes and paths, but nothing happened. Is this operation possible in Inkscape?
The best way to do this in SVG might be to apply the shape to the bitmap as a clipping path. However, the user interface for this feature will not be available until Inkscape 0.44.
As an alternative, you can turn the bitmap into a pattern ("object to pattern"), and then fill a shape with it. After doing so, you may need to use the pattern handles to adjust the size and position of the pattern in the shape.
-mental
participants (3)
-
bulia byak
-
MenTaLguY
-
Peter König