I've been trying to work out how to produce a mask, to be used for compositing an image with ImageMagick by a CMS.
What I need is a white background and a rounded border (with a stroke of one or two pixels), then with the middle punched out so an image on the layer below shows through the hole. I've tried making three layers, one solid white, one with a rounded rectangle with rounded corners with a transparent fill, and a copy of the previous with no stroke but with a solid fill, and tried various combinations of 'mask' and 'clip' but I can't seem to find it.
Can someone help me before I resort to chucking it into Photoshop and cheating?
Paul Bolger
Could you exmplify your question: it's hard to imagine what you want by just reading.
Maarten van der Velde graphic designer
Powel ASA Klæbuveien 194, NO-7037 Trondheim, NORWAY Phone: +47 73 80 45 00 - Fax: +47 73 80 45 01 Direct line: +47 73 80 46 21 - Mobile: +47 48 16 46 21 / +31 (0) 6 30 80 95 91 Email: Maarten.van-der-Velde@...2171... www.powel.com
-----Original Message----- From: Paul Bolger [mailto:pbolger@...155...] Sent: 22. mars 2009 22:11 To: inkscape-user@lists.sourceforge.net Subject: [Inkscape-user] How to make a mask?
I've been trying to work out how to produce a mask, to be used for compositing an image with ImageMagick by a CMS.
What I need is a white background and a rounded border (with a stroke of one or two pixels), then with the middle punched out so an image on the layer below shows through the hole. I've tried making three layers, one solid white, one with a rounded rectangle with rounded corners with a transparent fill, and a copy of the previous with no stroke but with a solid fill, and tried various combinations of 'mask' and 'clip' but I can't seem to find it.
Can someone help me before I resort to chucking it into Photoshop and cheating?
Paul Bolger
------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Inkscape-user mailing list Inkscape-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-user
********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses.
www.powel.no **********************************************************************
not sure if i fully get your intentions, but try subtracting the rounded rectangle path from the white background (via Path-Difference), this should get the layer underneath visible only on the region you just subtracted.
For the stroke, your best bet is to duplicate the rectangle beforehand and have it stroked with no fill.
hth! :r
Paul Bolger wrote:
I've been trying to work out how to produce a mask, to be used for compositing an image with ImageMagick by a CMS.
What I need is a white background and a rounded border (with a stroke of one or two pixels), then with the middle punched out so an image on the layer below shows through the hole. I've tried making three layers, one solid white, one with a rounded rectangle with rounded corners with a transparent fill, and a copy of the previous with no stroke but with a solid fill, and tried various combinations of 'mask' and 'clip' but I can't seem to find it.
Can someone help me before I resort to chucking it into Photoshop and cheating?
Paul Bolger
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Inkscape-user mailing list Inkscape-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-user
participants (3)
-
Maarten van der Velde
-
Paul Bolger
-
ricardo lafuente