Option to export to clipping mask boundaries
When exporting assets to raster formats, it would be a huge time saver if we had an option to use the boundaries of clipping masks as the edge of the exported artwork. I created three triangles and used a circle as a clipping mask in the attached image. You can see that the exported file has a lot of padding around the artwork because the outer edges of the triangles are used as the boundaries of the file.
If there was an additional option to use the clipping mask boundary as the edge of the exported raster file, it would mean that I wouldn’t have to open every exported file in Photoshop to then crop to the edges of the artwork and re-save the file.
Hi Everyone,
The fix has been rolled out and is available in our latest release build – 24.1.1 for Win and 24.1 for Mac which is available worldwide now.
What’s new in 24.1: https://helpx.adobe.com/illustrator/using/whats-new.html
You can update to the latest release using Creative Cloud desktop App: https://helpx.adobe.com/in/creative-cloud/help/creative-cloud-updates.html
Thank you for all the feedback.
-
Alex Dobra Somesan at Office commented
+1
-
Anonymous commented
Or at least when selecting an object inside the clipping mask without isolating it (in edit contents) the rasterise to be applied to objects inside the mask NOT including the mask itself.
-
Anonymous commented
@Valerii - I already threw my MBP out the window and can confirm that it does *not* fix the asset export clip path bug.
-
Valerii Mamedov commented
It was not fixed.
-
Anonymous commented
This is all true. Workarounds can be found for it, but this flaw in Illustrator's asset export should have been fixed by now.
-
Valerii Mamedov commented
@Joe we are not talking about exporting Artboards. It's Asset Export tab bug. Besides, I would rather throw my MBP In the window than to clatter my designs with hundreds of artboards for every single design element.
Cheers.
-
Joe commented
Select clip to artboard when you 'save for web'.
-
Jœl Stransky commented
It's been mentioned before in this thread but currently my best workaround is to create a Photoshop Droplet that trims a folder of images dropped on it.
-
xlle commented
I figured out a way which worked for me and hopefully it will work for you guys too.
1. First, duplicate the layer so that you have an extra copy just in case things go wrong and you want to re-edit the clipping group. Lock it and hide it.
2. Select the relevant clipping group.
3. Use the 'Divide' pathfinder tool (Window > Pathfinder > Divide)
4. Click somewhere on the illustrator Artboard and you should see that the image in the thumbnail gets bigger meaning that the hidden elements were taken out of the equation.
5. Make sure all irrelevant layers are hidden before you export.
I hope this helps.
-
Anonymous commented
Two years in... or is it three? Supplied and morale running low.. please send help.
-
Court Knee Wooster commented
yeah considering this was brought up nearly 2 years ago and hasnt been fixed yet I wont be holding me breath. i feel this must be a fundamental bug that they simply CANT FIX. There is no excuse for this ongoing problem to be ignored for so long. FIX YOUR **** ADOBE, dont make it an option, JUST MAKE IT THE DEFAULT as it should be! No one, ever in any circumstances wants to export assets beyond their outer most clipping masks. If you cant make your program understand the hierarchy of clipping masks within masks then reprogram your piece of **** software so that masking hierarchy is obvious and intuitive! Adding band aids to fundamentally broken pieces of software just comes back to bite you in your ***! FIX YOUR **** CORRECTLY!
-
James commented
This should be very high priority - asset export is pretty much useless for me without this.
-
Lori commented
When I export from .ai to png no matter the method I am getting a white line around ALL my repeats.Ruined 2 months of work! Any ideas? is this a bug? should I reinstall cs6.Anyone having this problem.I've been working on trying to find a way around for 4 days.Nothing.I'm not moving anything I have the background locked.
-
Hans commented
The same happens when you copy from Illustrator to Photoshop. Super annoying!
-
Alexandra commented
Fix the bug in the Asset Export panel. When you export jpegs with a clipping mask, it exports the image with the clipping mask. For ex, in my layout, I have an image that should be 400 px wide. However when exporting I get an jpeg that is 446 px, because it comes with clipping mask. See the attached image.
It seems like this has worked before because I was following a tutorial where it was shown how to export jpegs, and it works in the video. But it does not work anymore. Please fix this bug. Using the export panel seems neat and it would be great if it worked as it should.
-
Anonymous commented
This is lame. I have to export the file to photoshop and export from there? What? Not high class.
-
Anonymous commented
As others have said. This is actually a bug, shouldn't be a "feature" to make it work right. This makes asset export utterly useless.
-
Mark Gould commented
More broadly, I’d like to have an option to say any clipping mask can trim and remove everything outside the mask.
-
Andy Engelkemier commented
There are lots of posts Related to this, but everyone seems to focus on their one task. But the meat of it is Adobe hasn't ever treated objects how the artist expects (at least not consistently).
If you create an image, and you add a clipping mask to "crop" the image, regardless of it's shape, That clipping mask shape should be the object's shape. Alignment, export, etc.... should all respect the clipping mask. Instead, these things are using the boundary of the combination of the clipping mask and the image.
Even copying that, and pasting it into photoshop, it ends up respecting the image bounds rather than the clipping mask.So the only way to export an image is to manually create slices, then use the export for web? Which is supposedly a "legacy" item? Before you start calling things legacy, maybe don't F up what you're trying to replace it with.
Just fix it Adobe. There are literally (and I DON'T meant figuratively) hundreds of responses to these posts. I didn't know which one to respond to because one person is talking about export, another is talking asset export, another is talking alignment, etc. But the root of the problem is that you should be ignoring an object's originally boundaries if the user is attempting to create New ones. That's what a clipping mask does!
Let us copy, export, align, to what we're looking at!
-
Sam R. commented
This is not a "behavior" this is a broken feature. A fundamentally basic function of exporting assets is completely unusable and worthless, unless of course, all you are doing is exporting artboards. One thing that never ceases to amaze me about Adobe is how ****** Illustrator is and has always been compared to its other software. Features long rolled out on InDesign, a software which has similar functions, are able to accomplish some things that still elude the illustrator development team. It almost feels like they never talk to each other and each comes up with a different solution to a common feature. I can export a masked or grouped object in inDesign and it performs exactly as expected... Same with copying a masked image and pasting in PS. Meanwhile in illustrator.. a program that is supposed to be designed for exactly this type of thing, can't get it right. It's embarrasing! PLEASE FIX THIS! We pay a **** of a lot of money to have bugs like this linger for this long. I love your other software Adobe, but I continue to be disappointed by Illustrator as it always seems to be lagging behind. I wanna love illustrator, but you're making it extremely difficult. You can do this!