图像
 
 

2639

 

1451

Layer-Based Masking/Clipping

This SVG corrobates with this discussion in mind - https://www.reddit.com/r/Inkscape/comments/ah9jzf/mask_as_a_layer_newbie_help/

The video of the process - https://streamable.com/d4vkr

Right-click to set to 1/4 if needed.

It is also proof of concept that you can use layers as clip/mask much in the same way open source raster programs does. The SVG does not conform to standard SVG.

----
Masking a star by a raster image layer Tutorial

1)Create your star.
2)Insert your desired raster image.
3)Group the star.
4)Group the desired raster image.
5)Clone the desired raster image group.
6)Mask the grouped star with the clone.
7)Group the grouped raster image.
8)The uppermost level of the grouped raster image opacity should be set to 0
9)I would advice to lock the raster group. Convert groups to layers.
10) Now select the star, and move it, you should have the star moved, but not the raster mask.

Inkscape Template File

图形大小
210x297
文件大小
401.3 KB
创建于
类型
image/svg+xml
General Public License v3 (GPLv3)
brynn 发表了 :

I'm just curious. Why would someone want this kind of behavior?

Reptorian 发表了 :

You could avoid unclipping, unmasking while being able to manipulate the mask/clip directly. You can also move objects without affecting the mask/clip location. Much more akin to Photoshop or GIMP or Krita style workflow. You can also move the entire clipped/masked object by simply putting those layers to group. I find it more powerful than what offered in Inkscape directly.

I had utilize this approach when testing Inkscape to design shoes, and using blurs as gradient mesh at this point is too limited on Inkscape. It actually worked so well to generate realistic shoes. Only problem is the rendering speed, but there's no real alternative when gradient mesh is too limiting there.

登录后发言!