[lcd] and 'writepict'
Hello all,
I'm working on a patch that periodically saves the output of an [lcd] object. I'm experiencing a couple of issues though:
- Firstly, .pict files won't open on Snow Leopard, meaning that the output isn't really suitable anyway. I think I should be able to find some way of converting them, although this is definitely a hindrance.
- Secondly (if I do find a way of automating the conversion process), I can't specify a file path with the 'writepict' command. Looking at very old threads, it seems this used to be an option. Any ideas?
I'm using Max 5 by the way. Can anyone tell me if [lcd] has changed much in 6?
Both these issues seem to have been addressed in Max6 - LCD now writes to PNG by default, and I just tried specifying a filepath without any trouble.
Also just tried in Max5.1.9 out of curiosity and it all seems to work OK - if I send the writepict message without any arguments the save dialog gives me .png and the full path seems to be OK too. Here's how I formatted it:
Hi Charles,
Thanks for your advice. Wouldn't you know, all I had to do was tell it I wanted a .png and it works. It sure wasn't in the help file.
Regarding the filepath, that was an error on my part using [sprintf], just didn't spot it earlier.
Cheers.