Return the dimensions of a place image in extendscript
I have an illustrator file that contains a placed image which is contained within a clipping path of similar size, not exactly but only a couple of pixels out. When I click on the image in illustrator and look at the info box it has a width of 122, height 142, x of 4 and a y of 31. But hen I console out its attributes the heigh and width correspond, but I cannot work out how to access the correct y coordinate. The x is correct by the y return a value of 615. Any ideas where I’m going wrong?