DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

Working with embedded images

Started by Adrian 2.0, April 23, 2021, 06:03:10 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Adrian 2.0

I often embed images in files, normally without any issues.
On this occasion I needed to embed an image, rotate it 90 degrees and then re-size it using the resizing-handles.
If anyone has time, please try this and see what happens. For me at least, the resizing handles don't rotate with the image, so if I try to make the image wider it gets taller. If I try to make it taller it gets wider.
Very annoying because I had to rotate the whole drawing -90 degrees, fit the image and then rotate it back again.

On the subject of images in files, when I print a file  to PDF that has images in it using Cute PDF it takes a looong time to print. The bigger the image the longer it takes. The Microsoft Print-to PDF which is built in to windows 10 is much MUCH faster.

Adrian

Rob S

I use a 5000x3000 background image for our local blockwatch area map, and it prints to 11x17 on both cute and IMSI turbo-pdf (which appears to be a copy of last years foxit phantom editor) in a few seconds each. 

Do you have the latest update of the cute-pdf printer driver?? 

As to the rotation and resizing, I just tried it on that image, and mostly seems to work fine.   I can also resize numerically in the info box (bounding box) with or without retaining proportions.    Attempting to resize after rotation appears to undo the rotation, so resize first.

I would probably just choose the scale in designcad, relative to the imported image using units command, and not attempt to resize the imported image to retain maximum resolution.

Also, it might be easier and more reliable to rotate the image in an image editor, before importing it into Designcad???
User since forever

Adrian 2.0

Hi Rob, thanks for testing my troubles ... again.
With regards to printing PDFs.
I had not checked or downloaded any new versions of Cute for years - not since I first installed it back when DrPR first recommended it, but I now have the newest version 4 installed, not that it changes print speeds for embedded images.

I re-tested  with a new DCad file by importing a 1.27Mb image (3000 x 1999 pixels) and printing it A3 landscape.

The protocol between MS & Cute is different.
With MS the save-as box appears first, and the print is processed after choosing the filename.
With Cute the print is processed first, then you choose the filename.
Overall, the print time with Microsoft print to PDF took about 2 seconds and it produced a 5.74Mb file
Same print with Cute took about 15 seconds and it produced a 4.62Mb file.

Cute give the option of printing A2 size, I have never had much success with this however as it usually only prints the right half of the page. That problem persists with the newly installed version.

I wondered if the scale of the print makes a difference so I tried re-printing as A4 output. Cute speed-ed up to about 5 seconds but only produced the right side of the image - same result as the A2 print.
Not so cute then.

Adrian

Adrian 2.0

For my resizing after rotation issues, I tend to mostly work with Google Earth satellite images.
If for example I'm working on changes to a golf course and I want the original course layout as a background, I'll rescale and rotate a saved image to fit my drawing by placing 2 handles on known elements in the image (road intersections or corners of buildings usually) then move the image by dropping the handles on those points in the survey.
Google's north never matches a Survey, so that always rotates the image a bit. It's too much drama to calculate the rotation angle and do that in Photoshop first.
For the image resolution when I do that, sometimes it's a disaster and other times it makes no difference to the resolution whatsoever. I've never been able to figure out what causes the resolution to get flushed down the toilet sometimes so I haven't bothered posting it here, I just do as Rob suggests and calculate the rotation I need and pre-rotate it.

Adrian

The handles resizing I only use when I'm trying to justify a series of images and the proportion of the image doesn't matter much.
I have now discovered that if I try to re-proportion a rotated image using the images points in point-select mode the middle-of-side handle will stretch the image correctly - but it will tell you that it is going to do it wrong! That is, hover over the vertical side point and vertical arrows appear for the cursor instead of horizontal ones.
Using the resizing handles (the big red ones) on the same point, the cursor changes to horizontal arrows but the image gets stretched vertically.
At least I have a work-around now.

I can't remember when rotation of images was introduced but I remember we never used to be able to rotate them. (probably around V14) I suspect this has always been an issue, just not commonly used.

Rob S

Rotating images by anything other than 90 degrees is as you can probably imagine a complex process of re-adjusting the pixels, which were originally lined up across and down.   

It would be nice if Google earth allowed you to rotate the original image precisely, to avoid one set of rotations on its way from their server to your drawing!  Maybe its in there, but I cant find it so far.

Now as to your issue of printing half-pages, I had this issue years ago printing my spreadsheets, and our infamous friend DT found me a solution.  It should work for you as well.   When you are ready to print your drawing with image, in Designcad print menu, select setup, then printer, then properties, then advanced(bottom right), and check the print quality field.  It might be set to something like 4000 or 2400 dpi, and 600 is perfectly sufficient for most purposes.  Change that, and then back out of all the settings, and print.   

Once changed, the setting should stick until just after you forget where to find it, then you can refer to this post again.   :)
User since forever

Adrian 2.0

Thanks Rob, that worked.
Not exactly though - my DPI settings were already 600 but I changed it to 300 and the whole page printed, still very good quality.

Thanks again!

DrollTroll

#6
Quoteour infamous friend DT
*chuckle* I feel like Tom Petty in The Postman... "I used to be (in)famous"

Just for giggles, you might also check your print spooling settings -- you want it to spool the entire document before printing.
25 years with DesignCAD