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.
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.
Hitesh Sharma commented
Thanks for reporting the concern,
this is an old behavior, we have logged the concern and tracking with internal id AI-4210302
Yes please, kill this old bug. Feature is useless like this.
Center van Liempd commented
+1 Please fix, now falling back to fireworks
Martijn Hoppenbrouwer commented
+1 Indeed a major flaw in the export system, making it practically useless and obsolete. This problem has existed since the launch of the Export Assets system and it's crucial for ANY webdeveloper/designer to export ONLY the clipped area, not any extra's.
This bug also appears when "Export for screens"
1. Illustrator Version: 22.0.0
1. Apply Clipping Mask to a layer with a circle
2. Use "Export to" to export artboard to PNG file
3. Expected result: Export to PNG that maintain alpha channel.
4. Actual result: The output file lose the alpha pixel that outside the clipping mask, the clipping mask was omited when exporting.
David Andreu commented
I agree with this wholeheartedly, this has a dramatic effect on my workflow - creating and setting a clipping mask is a wonderfully simple way to prep assets for near-instant export.
i.e. Create a square with the dimensions I want > align over my artwork > mask > Export only what isn't masked > (optional) release mask and continue working.
But that no longer works. The only simple work-around I've read about involves cropping my content or leveraging artboards, both woefully inadequate and inappropriate solutions as this easily multiplies by 10 the amount of time it takes to achieve the same result. Also, cropping is a "permanent" alteration, unlike temporary clipping masks that can easily be "released" - crops cannot.
Please fix this ASAP, I can work around the other issues/bugs I'm experiencing but this one is a monumental annoyance.
Yes, I do ALL of my updates.
Windows 10 PRO 64bit (latest updates - check daily)
16gb ram 3200mhz
GTX 1080 (latest drivers - check daily)
960 EVO 250gb nvme drive
Alex V. commented
When adding an Asset to Export Assets panel that includes masked image - Export generates larger image extending beyond boundaries of the specified boxes. It includes masked image.
Export should CROP to masked areas! Not include them.
PNG Export Assets are not trimmed to clipping path. The resulting file is the dimension of the artwork inside the clipping path. It should be the dimensions of the clipping path.