ID:259901
![]() Feb 16 2005, 7:46 am
|
|
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)
|
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 |
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") |
ok, i'm probably babbling at this point, but the idea is sound i think.