On Tue, Apr 26, 2011 at 6:47 PM, laurent laffont
<[email protected]> wrote:
> Today:  BMPReadWriter

I read and write BMP files.

Example to save and load a screenshot of the world in a .bmp file:

BMPReadWriter
   putForm: (Form fromDisplay: (0@0 corner: 400@400))
   onFileNamed: '/tmp/screenshot.bmp'.

(ImageMorph withForm: (BMPReadWriter formFromFileNamed:
'/tmp/screenshot.bmp')) openInWindow.

Laurent


>
> Comment Of The Day Contest - One Day One Comment
> Rules:
> #1: Each day a not commented class is elected. Each day the best comment
> will be integrated with name of the author(s).
> #2: If you cannot comment it, deprecate it.
> Results: http://code.google.com/p/pharo/wiki/CommentOfTheDayContest
> Laurent Laffont - @lolgzs
>
> Pharo Smalltalk Screencasts: http://www.pharocasts.com/
> Blog: http://magaloma.blogspot.com/
> Developer group: http://cara74.seasidehosting.st
>

Reply via email to