bitmap export has extra white space
Posted: Wed May 08, 2019 12:24 am
I have a drawing that is a filled rectangle approximately 33 inches wide by 1 inch tall. I want to export it as a 600 DPI bitmap with no margin, so in the export dialog I set the DPI to 600 (resulting in a width of 19740 and height of 615), I set the margin value to zero and unchecked the box for extra margin to compensate for line weight (and I have set the line weight to zero), but the result has an extra white background around the desired image and the aspect ratio is not correct.
My computer is a Macbook Pro running macOS 10.14.4. I was running QCAD-Pro 3.15 which added white on all four sides, but I just now paid to update to the current QCAD-Pro 3.22.0 in the hope that would fix it, but it still adds white on the left and bottom.
The actual dimensions of the drawing are 32.899184 x 1.024624 because the drawing is scaled from an image that I am recreating. The result should be 19740 x 615 pixels. If I trim off the white the result is 19403 x 605 pixels, so 336 pixels of white background on the left and 10 pixels on the bottom. But that aspect ratio is also wrong: for the original drawing it would be 32.1085432, for 19740 x 615 it would be 32.097561, but 19403 x 605 is 32.0710744.
I also tried to scale the drawing very slightly so it would be exactly 19740 x 615 pixels rather than 19739.5102 x 614.774568 pixels, but the scale operation did not change the size of the drawing elements. I thought I had successfully done fine scaling tweaks like that in the past, but I tried multiple times now with no success.
My computer is a Macbook Pro running macOS 10.14.4. I was running QCAD-Pro 3.15 which added white on all four sides, but I just now paid to update to the current QCAD-Pro 3.22.0 in the hope that would fix it, but it still adds white on the left and bottom.
The actual dimensions of the drawing are 32.899184 x 1.024624 because the drawing is scaled from an image that I am recreating. The result should be 19740 x 615 pixels. If I trim off the white the result is 19403 x 605 pixels, so 336 pixels of white background on the left and 10 pixels on the bottom. But that aspect ratio is also wrong: for the original drawing it would be 32.1085432, for 19740 x 615 it would be 32.097561, but 19403 x 605 is 32.0710744.
I also tried to scale the drawing very slightly so it would be exactly 19740 x 615 pixels rather than 19739.5102 x 614.774568 pixels, but the scale operation did not change the size of the drawing elements. I thought I had successfully done fine scaling tweaks like that in the past, but I tried multiple times now with no success.