On Fri, Apr 4, 2014 at 10:01 PM, Robinson Risquez <rg868@hotmail.com> wrote:
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.

you could use raw RGB  or RGBA bytes as your format, and then just load them up into a bytes object and create a texture from  that.

and the stdlib included a couple compression modules:


so you could write a little custom compressed format with those.


I want to avoid external libraries. Thanks!.

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.
PyOpenGL Homepage
PyOpenGL-Users mailing list


Christopher Barker, Ph.D.

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception