Skip to main content
Participating Frequently
June 29, 2016
Question

assets export panel assets with clipping paths not exporting correctly.

  • June 29, 2016
  • 33 replies
  • 24347 views

I have a simple image with a clipping mask applied. I can either choose to add it to the new Assets Export panel or select it and right click and choose export selections. Either way, the exported PNG (in this case) does not crop to the clipping path. The image being masked is what is setting the exported PNG size with transparency to the clipping mask shape. See the attached image. Masked out one pastry from a large group but the export is surrounded by transparency that is the size of the masked image and not the size of the circle mask.

Anyone have a solution for this?

This topic has been closed for replies.

33 replies

jamesellis
Participant
November 13, 2017

The asset exporter is almost totally useless without the ability to export assets to the clipped mask. Come on Adobe, your potentially outstanding feature is almost useless without this update.

Participant
September 10, 2017

+1 Recently switched to Illustrator for web design and this is my only gripe - please fix!

PeterThomason
Known Participant
August 24, 2017

How Adobe chooses to ignore something that should just work is beyond me. This sucks. Time to try Sketch.

joshpsawyer
Participant
August 8, 2017

Another workaround, and this one's pretty easy but it requires Photoshop:

  1. Use Illustrator to export all of your assets with clipping masks. This will give you images that respect the clipping masks in terms of transparency, but not their dimensions.
  2. Create an action in Photoshop that corresponds to Image > Trim and trims the transparent pixels from the image.
  3. Use that action with File > Automate > Batch to batch process all of your exported images.

This will result in images that look how you imagine they would: respecting the clipping mask in both transparency and size.

Participant
July 28, 2017

I cannot believe this has been unfixed for so long. This issue is killing my work right now and making life very inconvenient.... I might have to look for alternative vector programs if this is going to go unsolved.

Participant
July 19, 2017

Is Adobe ever going to fix this? The export assets tool adds white borders to every masked image, scaled to the size of the image that is masked. It makes the tool 100% useless for web work at all. However, if you take that same image, move its own artboard, it then exports correctly using "export as" and including the artboard. 

Exported images should be the exact same size as the mask.

I also noticed when I do a copy and paste with a masked image to Photoshop, the pasted image size is now the same size as the image that is inside the mask. What the hell?

ADOBE, THIS IS KILLING THE USE OF ILLUSTRATOR FOR ANY DIGITAL PRODUCTION WORK. 

It makes me miss Fireworks... which did all of this... without all of these added errors and work-arounds. There is a reason all of these other vector design apps are popping up over the last couple of years.

Participant
May 9, 2017

Bump, have the same annoying problem.

Spanners80
Participating Frequently
April 7, 2017

The new April 2017 update to Illustrator has introduced a new feature - Image Crop. See New features summary for the 2017 release of Illustrator CC

I've tested this extensively and it works. You select an image on the artboard (linked or embedded), click Crop Image at the top of the screen (or select Object > Crop Image) and adjust the bounding box to crop your image.

The image is then cropped and embedded into the Illustrator composition. Any linked file remains intact.

Then you can drag that cropped image into the Asset Export and it creates a properly cropped asset.

The good news is that this means you can export ALL of your assets from the Asset Export Panel now.

The weird thing is, why not just fix the masking image issue? I really can't see how cropping an image and embedding it, increasing the size of the .AI file, is better than masking linked images.

Participant
April 10, 2017

This is not a good solution as I have a lot of assets in need of export that include and image and vector.

Embedding is also not an ideal workflow.

But thanks for the new feature, this will do for now.

Participating Frequently
April 7, 2017

Indeed, it renders the feature useless, have to export manually from artboards.

ericrivier
Participant
April 7, 2017

I checked today to see if this was fixed and it is not fixed yet. Is there any other way this can be escalated so that it can be taken care of?