Thanks, It works very well. Greetings, Ronie Salgado
2013/11/22 Sven Van Caekenberghe <s...@stfx.eu> > Hi Ronie, > > On 22 Nov 2013, at 19:00, Ronie Salgado <ronies...@gmail.com> wrote: > > > Hello, > > > > I would like to know how I could load .png image into pharo, and being > able to access to their pixel data for manipulation or display it. > > > > Greetings, > > Ronie Salgado > > Here is an example: > > '/Users/Sven/Desktop/test.jpg' asFileReference readStreamDo: [ :in | > (JPEGReadWriter on: in) nextImage asMorph openInWindow ]. > > Inspect the results of #nextImage or #asMorph to learn more, this code > actually opens the image in a window in Pharo. > > Regards, > > Sven >