In WPTools 5, I had a dialog popup which showed the linked image properties. I would show the presented size using WPRextObj.Width / 1440.0 and WPTextObj.Height / 1440. I would also show the actual image size in pixels using WPTextObj.ObjRef.Picture.Width and WPTextObj.ObjRef.Picture.Height. However, in WPTools 9, WPTextObj.ObjRef.Picture.Width and WPTextObj.ObjRef.Picture.Height return 0. It appears fPicture/fGraphic is nil, so Vcl.Graphics returns 0. for both TPicture.GetWidth and TPicture.GetHeight.
And yes, I believe the linked image has been loaded since it is visible in the editor. Is there a new way to get the image size in pixels or do I really not have it loaded? I load it on the RequestHTTPImage event using TextObject.LoadObjFromStream(ExtractFileExt(vReportImage.Name), vReportImage.Image);
I did not load linked images this way in WPTools 5, so that is different and might have something to do with it. For example, In WPT5 I loaded images from a file in a function but now I load them from a stream in the RequestHTTPImage event. They are JPG images.
Eric