Issue 104035 - provide true image clip and mask by a shape
Summary: provide true image clip and mask by a shape
Alias: None
Product: Draw
Classification: Application
Component: editing (show other issues)
Version: DEV300m52
Hardware: PC Linux, all
: P3 Trivial with 1 vote (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2009-08-05 20:06 UTC by Joe Smith
Modified: 2013-02-07 22:38 UTC (History)
1 user (show)

See Also:
Issue Type: FEATURE
Latest Confirmation in: ---
Developer Difficulty: ---


Note You need to log in before you can comment on or make changes to this issue.
Description Joe Smith 2009-08-05 20:06:31 UTC
In OOo Draw:
 1) Insert > Picture > From File... (any image)
 2) Create an ellipse and place it over part of the image.
 3) Select both and choose Modify > Shapes > Subtract
    -- you get the image with a hole cut out of the middle. Great.
 4) Undo
 5) Repeat with Modify > Shapes > Intersect.

Did you get the result you expected?

I expected the result to show only the part of the image covered by the ellipse,
instead it shows the "wrong" part of the image.

This is because the operation does not clip the image to the shape, but instead
fills the resulting shape with the image. If the result has a different bounding
box, the image in the result appears to be shifted and scaled, in addition to
the expected clipping.

I see that this was reported some time ago as Issue 10589, and closed as
"WORKSFORME" because the feature works as designed.

Unfortunately, the design does not provide the most useful result, which would
be to clip the image to the shape. E.g. to clip a group picture to show only one

Requiring the user to get and learn external image editing software for a simple
and common clipping operation seems like a significant barrier.

I see that Inkscape implements this as a separate clip (or mask) operation, and
does not allow shapes to modify images.
Comment 1 wolframgarten 2009-08-06 07:52:36 UTC