I've tried many different ways, one being:
mob/verb/test()
var
icon/i = new
i.Insert(icon('Test.dmi', "Blue"))
fcopy(i, "temp.png")
I've also tried icon/i = new("blah.dmi"), it has to be an actual icon or it throws an error. Still doesn't work, even with new('blah.dmi').
temp.png always result with an alert saying unable to read.
I also tried:
fcopy(icon('Test.dmi', "Blue"), "temp.png")
Which would be the easiest way if it actually worked.
Any help on how to do this would be greatly appreciated.
Here's what used to work:
However, now the output file is just a handful of bytes, regardless of the image:
44 44 4d 49 0d 00 00 00 01 00 00 00 00 08 03 00 00 ff ff 42 00
Only bytes 0x00000010 and 0x00000011 appear to change with the file.
I know they've been making a number of fixes related to /icons created without a file, I wonder if something got lost in the mix.