PDA

View Full Version : Saving image to file



Verminity
08-10-2003, 05:46 PM
Hello again,

Sorry for posting two questions so close to one another.

I think by hacking through lots of lscripts that I have downloaded and the little documentaion that I've managed to find that I have managed to pretty much figure out how to do what I want to do. (though I'm still looking for more docs)

However I still have one major stumbling block I want to output the rendered image to a filename of my choice so that the script can save more than one image without the user needing to step in and change the output filename.

I've found a script that saves an image one byte at a time using the file.writeByte() function but that seem massively longwinded for something that I thought would be in built -- please tell me that it is...

what I'm really looking for is file.writeImage()

Anything like that?

Last question for a while - I promise

Martin