There is a writeBMPFileNamed: in Form, but I often want snapshots in GIF format. So I wrote a short bon mots to provide similar functionality for GIF. (I keep (Form fromUser) writeGIFfileNamed: 'snapshot.gif' in my Do menu.) Finding myself filing it in for the umpteenth time, I thought someone else might find it useful.
'From Squeak 2.5 of August 6, 1999 on 20 September 1999 at 12:05:48 pm'!
!Form methodsFor: 'fileIn/Out' stamp: 'mjg 9/20/1999 12:05'! writeGIFfileNamed: aFile GIFReadWriter putForm: self onFileNamed: aFile. ! !
-------------------------- Mark Guzdial : Georgia Tech : College of Computing : Atlanta, GA 30332-0280 (404) 894-5618 : Fax (404) 894-0673 : guzdial@cc.gatech.edu http://www.cc.gatech.edu/gvu/people/Faculty/Mark.Guzdial.html