CS6, Mac OS 10.6.8
Just discoved this: if I rotate the contents of an image frame, and then select "fit frame to contents", the frame shrinks smaller than the photo inside. If the contents are not rotated, or if the entire box is rotated, it does not behave this way.
@SRiegel – I just tried that with InDesign CS5.5. Same issue here.
var ImageGeometricBounds=app.selection.graphics.geometricBounds; app.selection.geometricBounds = ImageGeometricBounds;
And for all the scripters around: the following line of code will not work properly. Just the issue SRiegel observed:
I think it's a bug!