ID:259901
 
I am doing a script that requires the game to create a map of the game, and upload it to a website, but. .dmi refuses to work in browsers, so I need a way to convert it to .png while the game is saving them. (Like, convert it within the game)
there was a (insert format here)-to-dmi converter at one time i think. a search through the forums should yield some results. if that source is available you could probably write a reversal of that routine to output what you need. bmp-to-dmi comes to mind but don't quote me on that. if it is about bmps, then you could make a dmi-to-bmp converter out of it, then use an external program (linux has a few) to convert it to other formats on-the-fly.

ok, i'm probably babbling at this point, but the idea is sound i think.
In response to digitalmouse
If I had more free time, I'd love to write a DMI-to-whatever converter myself... but I don't at the moment.

Can it wait until July? ;-D
In response to Crispy
It would be GREAT if you could find this topic, or write me one? ^.^;

We need this asap.
In response to Crispy
Oh...make a gimp plugin to convert both ways. That would be kickin'. Gimp uses python for plugins, I believe.
you could use browse_rsc()

browse_rsc(icon('icon.dmi',"icon state"),"whatever.png")
In response to OneFishDown
Now why didn't I think of that...? Nice one, OFD! =)

Not the most convenient method, but hey, it works.