Users browsing this thread: 3 Guest(s)
Python programming
#3
If you're using Python for image loading and manipulation, PIL/Pillow/Image is the best library for that. You can see an example of me using it here. In that instance, I loaded a 32bpp image and color-reduced it down to 15bpp. The basic process involves loading an image as a texture, converting that to a pixel array, working on the individual pixels then saving it back as an image.

After a quick search, it seems that it also supports binaries as images. You can install Pillow by typing "pip install pillow" into your console.

After that, pyglet would probably be your best bet. I've never used it but I imagine it has as much functionality as other OpenGL libraries. It has basic support for pixel access so you have that going for you, at least.

As far as programming paradigms go, I haven't heard of any as far as binary files go. Always backup everything, I guess? Kinda goes without saying.
Reply
Thanked by: Raccoon Sam


Messages In This Thread
Python programming - by Raccoon Sam - 10-31-2016, 05:46 AM
RE: Python programming - by puggsoy - 10-31-2016, 07:01 AM
RE: Python programming - by DragonDePlatino - 10-31-2016, 07:40 AM
RE: Python programming - by Raccoon Sam - 10-31-2016, 08:18 AM
RE: Python programming - by DragonDePlatino - 10-31-2016, 08:55 AM
RE: Python programming - by puggsoy - 11-01-2016, 08:38 AM
RE: Python programming - by DragonDePlatino - 11-01-2016, 02:00 PM

Forum Jump: