Re: Load image only with PyOpenGL?

rndblnch <[email protected]> Mon, 7 Apr 2014 19:02:53 +0000 (UTC)
Newsgroups gmane.comp.python.opengl.user
Message-ID <[email protected]>
Robinson Risquez <rg868 <at> hotmail.com> writes:

> Hi, there is a way to load and render a simple image only with PyOpenGL
without using PIL, Pygame, FreeImage or others  librarys outside PyOpenGL?
no matter if I use a strange image format or something. I want to avoid
external libraries. Thanks!.

you are looking for one of the netpbm [0] format.
0. Netpbm format
https://en.wikipedia.org/wiki/Netpbm_format

renaud


------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net