Jump to content
You must now use your email address to sign in [click for more info] ×

Recommended Posts

Hello all,

Currently completing an ID Card project, which includes a headshot that has been masked by a rectangle (the image has also been cropped to match the size of the rectangle - I shall explain later). However, when I export using SVG, I lose the image on re-opening the .svg file.

I cropped the headshot due to the fact that when only the mask is applied, and I've exported to SVG, the image has loses it's mask when opening the new file.

Is there anyone that can advice me on what I'm doing wrong? I've also attached an image of my SVG export settings.

Screenshot Export.jpg

Link to comment
Share on other sites

16 minutes ago, Nathannnn said:

I've actually found a way around it now,

I'd like to see that too

Affinity doesn't understand clipPath so when you export a clipped image as svg then only the visible part of the image is encoded as base 64 data
Likewise, on import clipPath is discarded
View the attached file in a browser and you'll see the clipped image
Open it in Affinity and you'll see the original

HeadshotINK.svg

Microsoft Windows 11 Home, Intel i7-1360P 2.20 GHz, 32 GB RAM, 1TB SSD, Intel Iris Xe
Affinity Photo - 24/05/20, Affinity Publisher - 06/12/20, KTM Superduke - 27/09/10

Link to comment
Share on other sites

Thank you all for your tips and advice, the way around it that I've found is exporting the headshot to the mask as a PNG, then placing the new headshot image onto the rectangle, then export the whole project as an SVG.

Probably sounds overly complicated, but all the files are heading to a printers - so they want everything separated anyway, as well as files they can edit hence why I'm using SVG.

Thank you all :)

Link to comment
Share on other sites

4 hours ago, Nathannnn said:

... that I've found is exporting the headshot to the mask as a PNG, then placing the new headshot image onto the rectangle, then export the whole project as an SVG.

Probably sounds overly complicated ...

Indeed, since SVG is usally also nothing print services like to deal with, as it's initially meant more for web based graphics. Next Affinity's SVG code generation is pretty limited and offers just the bare bone basics of the SVG spec here. - If you would have used PDF as an export format from start up, things might have been easier to work directly here!

☛ Affinity Designer 1.10.8 ◆ Affinity Photo 1.10.8 ◆ Affinity Publisher 1.10.8 ◆ OSX El Capitan
☛ Affinity V2.3 apps ◆ MacOS Sonoma 14.2 ◆ iPad OS 17.2

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.