[Solved] Image List: No import of WMF

Started by Peter2, November 12, 2014, 03:18:46 AM

Previous topic - Next topic

Peter2

I tried to add the attached WMF to the imagelist of tree-control. The "select-file dialogue" offers WMF, but nothing happens: no message, no error, no result.

Is it a problem of the WMF?
Peter
ODCL 8.1.... German, AutoCAD 2017 - 2018, Win 7 x64, Win 10

owenwengerd

That looks like a bug. I will investigate. Note that image list images must have definite dimensions. Since WMF files are not raster files, they do not contain dimensions per se. I'm not sure how this should work if no image size has yet been defined for the image list.
Owen Wengerd (Outside The Box) / ManuSoft

Peter2

Peter
ODCL 8.1.... German, AutoCAD 2017 - 2018, Win 7 x64, Win 10

owenwengerd

The next build of OpenDCL should import .wmf images correctly. I've also made some changes so that images are resized to make them match the existing size for the image list.
Owen Wengerd (Outside The Box) / ManuSoft

Peter2

That's fine, Owen.

Thanks for the  continuous improvement of this software :)
Peter
ODCL 8.1.... German, AutoCAD 2017 - 2018, Win 7 x64, Win 10