(2018-01-07, 15:25)Philippe Hurbain Wrote: I like the proposal. I tested an mpd with an embedded image with MLCad, LDCad, MPDCenter, MPDwizard. Of course the texture didn't work, but I got no weird behaviour. Only minor drawback: if I extract mpd files, a .png is created while the file with header and uuencoded content is NOT a png file.
I expect most programs would see it as an empty model, unless they restrict the extensions for some reason.
I'm not sure about the file type specification though, using
Code:
0 !LDRAW_ORG Texture UPDATE 2018-01
Might be to restrictive as we would have to add keys for all filetypes, maybe a more generic :
Code:
0 !LDRAW_ORG Data UPDATE 2018-01
You could also use, e.g.:
Code:
0 unofficial data
Probably its only use, as official libraries should distribute the png as is, although this setup would allow for an png to be wrapped by a non .mpd .ldr named .png