saving images - use temp file as workaround
[1/3] from: arolls:bigpond:au at: 24-Jul-2001 20:21
I don't know how to get 'save to do that,
but you could work around this by doing:
save/png %temp.png some-data
write/binary/allow %same.file read/binary %temp.png [read write]
delete %temp.png ; clean up - allows next 'save to work
[2/3] from: cyphre::volny::cz at: 24-Jul-2001 16:52
Hello Anton and Oldes,
Here is the solution:
png-data: make binary! []
save/png png-data to-image layout [button "test"]
write/binary/allow %new-file.png png-data [read write]
Have fun!
Cyphre
[3/3] from: cyphre:volny:cz at: 24-Jul-2001 16:52
Hello Anton and Oldes,
Here is the solution:
png-data: make binary! []
save/png png-data to-image layout [button "test"]
write/binary/allow %new-file.png png-data [read write]
Have fun!
Cyphre