News:

Please remember to do a search before you ask a question!

Main Menu
TurboCAD 2026 Platinum box
Now available

TurboCAD 2026.2

The latest update for TurboCAD 2026. It installs over any 2026 build and keeps your activation, drawings and settings. Get it from the Start Page or Help > Check for Update.

Insert picture fail

Started by Rustiferion, October 22, 2020, 02:21:03 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Rustiferion

Trying to insert a .PNG image (snippet of GoogleEarth view) as a layer in a plot drawing. Following online instructions for several different ways to do this, and nothing works. Drag-and-drop directly results in the import of the Windows Image icon and the file name, apparently imported as a GIF. :o Same with Insert>Picture>As Object.All other methods, I get no nothing in the drawing at all. Inserting From File or From List should allow me to draw a box to indicate the inserted size and location, but the dialogue closes without and image appearing
I have done this before, a year or so ago and had no problems, but I can't remember what I did differently.

Jeff_in_90620

I use the Default UI, so your specific path will probably be different, but mine is Insert / Picture / From File....

If you use the Custom / Commands popup menu to place it where you want it in your menu hierarchy, the search term is "picture", not (as I originally thought) "insert".


Jeff
Jeff

TC 2026 Pro Platinum plus 2015->2024 (most with LightWorks & RedSDK) & V21
System: AMD Ryzen 9 7950X, MSI Mag X670E Tomahawk WiFi, 64GB RAM @ 4.80GHz, ARC A770 w/16GB, 3 x Samsung NVMe 990 (1TB), Windows 11 Pro (64-bit)

Rustiferion

Thank you, but that is what I have been doing, I believe. All three of the Insert>Picture commands fail, except that >As Object inserts that useless Windows Image icon.

Alvin Gregorio

Quote from: Rustiferion on October 22, 2020, 05:11:02 PM
Thank you, but that is what I have been doing, I believe. All three of the Insert>Picture commands fail, except that >As Object inserts that useless Windows Image icon.

What is the file size of the .png?
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

DonCW

Quote from: Rustiferion on October 22, 2020, 02:21:03 PM
Trying to insert a .PNG image (snippet of GoogleEarth view) as a layer in a plot drawing. Following online instructions for several different ways to do this, and nothing works. Drag-and-drop directly results in the import of the Windows Image icon and the file name, apparently imported as a GIF. :o Same with Insert>Picture>As Object.All other methods, I get no nothing in the drawing at all. Inserting From File or From List should allow me to draw a box to indicate the inserted size and location, but the dialogue closes without and image appearing
I have done this before, a year or so ago and had no problems, but I can't remember what I did differently.

If possible, attach the .PNG image to have a look at.
DonCW
2020 Platinum
2018 Platinum
2017 Pro with Light Works Plug in



Windows 10
There's so much to learn and not much time left to learn it.

Alvin Gregorio

Quote from: Rustiferion on October 22, 2020, 02:21:03 PM
Trying to insert a .PNG image (snippet of GoogleEarth view) as a layer in a plot drawing. Following online instructions for several different ways to do this, and nothing works. Drag-and-drop directly results in the import of the Windows Image icon and the file name, apparently imported as a GIF. :o Same with Insert>Picture>As Object.All other methods, I get no nothing in the drawing at all. Inserting From File or From List should allow me to draw a box to indicate the inserted size and location, but the dialogue closes without and image appearing
I have done this before, a year or so ago and had no problems, but I can't remember what I did differently.

Are you certain the current active Layer when inserting the Image via Insert/Picture/From_File... is currently On/Visisble?
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

John R

In TurboCAD 2017 Deluxe, I got that little image marker when I copied-n-pasted an image from Windows Explorer.
When I used "Insert / Picture / From File" and "Insert / Picture / From Image List", then I got the actual image.
John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit

Rustiferion

Thank you, everybody.
Alvin seems to have spotted the issue: file size. Original size was 2.2MB; I reduced it to 1.1 MB and the Insert command worked fine. Don't know what the threshold is, would be nice to know so I can keep maximum detail for the insert.

BTW, this is in TCDeluxe2017. Forgot to put that in in the beginning.

Andy H

#8
Quote from: Rustiferion on October 23, 2020, 12:12:25 PM
Thank you, everybody.
Alvin seems to have spotted the issue: file size. Original size was 2.2MB; I reduced it to 1.1 MB and the Insert command worked fine. Don't know what the threshold is, would be nice to know so I can keep maximum detail for the insert.

BTW, this is in TCDeluxe2017. Forgot to put that in in the beginning.

Is the 2.2 Mb. The image the compressed size on disk or in memory ???.  If memory size, then its actually a tiny image file

When checking image size, you need the memory size (usually obtained via a paint program).  Not the size on disk.  The file size on disk may be compressed, and give a false indication. 

A 24 bit image can open roughly 13200 pixels x 13200 pixels.  An 8 bit image can be roughly 23000 pixels x 23000 pixels.  I cannot test a 1bit Black and white, as my image program won't save beyond 30,000 pixels.

Note.  What is written below applies to 2017 and beyond.  Prior to 2017 the limit was about 256

The maximum allowed has changed over the years, In 2017 and beyond, its roughly 512Mb in memory.  A rough calculation would be,  Length (pixels) x width (pixels) x bit depth (24 or 8 or whatever it is) / 8388608.   If the calculation result is less the 512 it should open and display the image.   Prior to 2017 if the result was less than 256 then it should open and display.

If a file is heavily compressed on disk. it may seem small, but may calculate beyong the 512 limit.

In case anyone is unaware.  To get the rough size (windows is not always accurate).  In windows explorer, right click the image and choose properties, then go the the details tab. it should give the length, width and also the bit depth. The bit depth is required as an 8 bit greyscale image can be far larger in pixel size than a 24 bit image.

Disclaimer - - - - Although I've tested everything written above (in 64 bit windows 10) . I cannot say whether different computers, or different operating systems will give exactly the same results.  I can only post my findings, so if people want to, they can test if they get the same figures,    32bit TC may have different figures..... External factors may also play a part in images not opening. but these may be specific to ones computer.

Above calculations have been updated from ones I did in 2016, to calculate image import into RedSDK..