Skip to main content

I’m converting geotagged mobile photos to dwg format. Inserting them at correct photo location.
All works fine except that FME automatically converts my jpeg images to png files.
This results in image files (png) which are many timmes bigger then the jpeg files.
 

Is there a way to make FME write jpeg images instead of png with the dwg writer?

JPEG is a compressed format, so I’d suspect its converting to PNG for a reason. Perhaps read up about the DWG format specification, go to the Image section about how it supports the functionality of storing the files.

Also I came across https://www.autodesk.com/support/technical/article/caas/sfdcarticles/sfdcarticles/Saving-raster-image-in-DWG-file-to-eliminate-need-for-external-image-file.html where you can instead create hyperlink to images? Using PATH file and directory reader and html may assist in creating links


I will look into the use of hyperlinks  👍🏻

I did also, in addition to the by automatically created png files, write new jpeg files with the same name.
My idea was then to replace the image path “1234.png” with “1234.jpg”.
Even though I can replace the autocad attribute with jpg-path in workbench it still changes back to *.png when saved to a new dwg 😤  .. any suggestions how to fix that?


Reply