Code: Select all
OS: Windows 8.1 Version 6.3 (Build 9600) Word size of FreeCAD: 64-bit Version: 0.20.24587 (Git) Build type: Release Branch: master Hash: 1f62d4666102d8efd4d8f3ba58a1037456a3bcfb Python version: 3.8.6+ Qt version: 5.15.1 Coin version: 4.0.1 OCC version: 7.5.0 Locale: Dutch/Netherlands (nl_NL)
I have tested the PR but couldn't determine a different behaviour. To me it looks like the point is to change Crop to True to respect the image size. When it's set to True you can see that the frame expands to the size that is specified in the Data tabs. Now the user has to change the scale factor in order to change the size of the image which I find a bit odd. There should be a scale mode that automatically expands the image to the given size.
Very surprised by you not seeing any difference in behaviour, maybe I need to try more variety of image types and sizes.
That's what I have expected too but when creating a DIN A4 page and setting the width to 297 it occupies the full page. The image I have tested is the splash screen that has a size of 400 x 245 px. If I use that then the frame is much bigger than the page.Purely from a user point of view I thought Height and Width were in pixels hence shown as unitless but I could be dreaming.
If you set the property Crop in the View tab to True does it work then for you to change the image size?
Hi wmayer, yes, with the property Crop in the View tab set to True, I can now change the size of the image view frame on the page. Thanks. I'll call this one a user error but maybe we can mention the role of the Crop property in the TechDraw Image documentation https://wiki.freecadweb.org/TechDraw_Image