vector layer bounds

Anyone, especially newbies, asking for help with Photoshop Scripting and Photoshop Automation - as opposed to those contributing to discussion about an aspect of Photoshop Scripting

Moderators: Tom, Kukurykus

Jeremy Knudsen

vector layer bounds

Post by Jeremy Knudsen »

Any progress on this for CS6? I still have this issue.

Professional AI Audio Generation within Adobe Premiere Pro - Download Free Plugin here

Jeremy Knudsen

vector layer bounds

Post by Jeremy Knudsen »

benben,

Can you +1 this post (see below) over there at Adobe? I'm having the same problem and I'd like to get to the bottom of this!

http://feedback.photoshop.com/photoshop ... re_2px_too
Jeremy Knudsen

vector layer bounds

Post by Jeremy Knudsen »

Something I've done to workaround this issue is to make a temporary rasterized version of the layer and get the bounds and then delete the rasterized layer. Here are the steps:

1) make a duplicate of the selected vector shape layer(s)
2) merge the duped layers into a single layer (enclosed in a try/catch so that if there is only *one* layer, then I can silently handle the error and continue)
3) rasterize the layer
4) get the bounds of the rasterized layer
5) delete the rasterized layer