Source

pygame / test / image_test.py

Author Commit Message Labels Comments Date
illume
Changes from Brian Fisher to add RGBA_PREMULT & ARGB_PREMULT type to image.tostring (a very nice thing for getting images into OpenGL) Thanks Brian!
illume
Fix for rw_close_th using helper after PyMem_Del(helper) is called. A test for pygame.image.load(open(...))
illume
A patch from Brian Fisher. Tests if fromstring, and tostring work correctly for alpha. Thanks!
illume
fixed up jpg test, and made tests also load a python file object before loading the image.
illume
Added a test for loading jpg, and png files. Commented out the display tests, as they crash on windows. It's to do with threading, and unittest calling the tests in a sub thread. Whereas SDL requires you to call some of those functions in the main thread.
illume
the start of a unittest for images