[Sugar-devel] Example gtk app that invert colors

Manuel Kaufmann humitos at gmail.com
Thu Apr 26 12:45:14 EDT 2012


On Thu, Apr 26, 2012 at 13:33, Manuel Kaufmann <humitos at gmail.com> wrote:
> I wrote an example[1] that uses the code from Paint.activity/Area.py
> and I ran it with numpy 1.6.1 and it worked.

I used a .png file in this example "it works". I mean, it tries to
invert the colors (doesn't exploit) but the result is not the
expected.

 * http://www.pygtk.org/pygtk2tutorial/examples/apple-red.png

The other example uses a .jpg file

 * http://www.pygtk.org/pygtk2tutorial/examples/chaos.jpg

-- 
Kaufmann Manuel
Blog: http://humitos.wordpress.com/
Porfolio: http://fotos.mkaufmann.com.ar/
PyAr: http://www.python.com.ar/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: numpy.test.py
Type: application/octet-stream
Size: 6456 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20120426/be87a7eb/attachment-0001.obj>


More information about the Sugar-devel mailing list