Login  Register

Re: Imported image not showing up

Posted by Gary S on Mar 18, 2021; 6:57pm
URL: https://forum.librecad.org/Imported-image-not-showing-up-tp5720354p5720422.html

...
Edit: could it be a Win 10 issue? Or an issue with where the files reside (on what filesystem)?  

The answer would be "yes".  *nix uses a forward-slash / to separate directory names in a file path, while Windows (starting with DOS way back in ancient times) uses a back-slash \.  The file LANDguy1 provided was a Windows file [I'm making an educated guess - the file path included a drive designation (C:) which isn't used in *nix.], but also used a forward-slash to separate directory names.  I've seen other cases where a / has been used instead of a \ for Windows applications in configuration files, etc.  Maybe appl that was used to create the original file started of in a different OS - dunno?

Anyway, the file had a little bit of both worlds, a drive designation (Windows) and used a forward-slash (*nix).  I suspect that combination 'broke' things with LibreCAD - it wasn't able to interpret the path correctly, so it didn't show anything.  So, even though I didn't replicate the entire path as I used an entirely different path structure, replacing "/" with "\" solved the problem.  It worked fine on Windows 10.

Having said all that, I'm having a problem with embedded images on Linux.