adobe-photoshop / generator-assets

Generator Plug-in for Adobe Photoshop CC that helps users export image assets
MIT License
494 stars 87 forks source link

Clipping Mask and SVG #327

Open lewishowles opened 9 years ago

lewishowles commented 9 years ago

It's been a while since I've reported a bug! This is a doozy, but may already be known.

It involves clipping masks when trying to output an SVG. This came to light particularly when outputting a simplified version of the Union Flag as SVG (with rounded corners, naturally).

This is the final appearance in Photoshop

image

This is layer structure

image

But this is a preview of the resulting SVG file. The output always seems to suffer the same consequences - everything clipped is unclipped and shifted up and left.

image

If turning the clipping masks off, the expected result is produced

image

The current workaround is to use Path Operations to create a flag without clipping masks, but it's a bit more time consuming.

imaderyc commented 9 years ago

watson bug 3833741

nimbupani commented 9 years ago

As @imaderyc mentions we already have a bug around this internally. The good news is it is prioritized to be resolved within the next few months!

mcilroyc commented 8 years ago

The above-referenced watson issue was closed as the lack of full support for masks in the underlying SVG lib is a documented limitation. This issue can stay open to track possible future enhancement. cc @chadrolfs