Thread: [PyOpenGL-Devel] [ pyopengl-Bugs-677611 ] PNG Load failures on valid PNGs
Brought to you by:
mcfletch
From: SourceForge.net <no...@so...> - 2003-01-30 17:44:29
|
Bugs item #677611, was opened at 2003-01-30 12:49 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105988&aid=677611&group_id=5988 Category: Context Group: OpenGLContext v2.0 Status: Open Resolution: None Priority: 4 Submitted By: Mike C. Fletcher (mcfletch) Assigned to: Mike C. Fletcher (mcfletch) Summary: PNG Load failures on valid PNGs Initial Comment: Large numbers of PNGs from known-readable content is failing, seems like PIL is just getting confused by either too many or too few \000s in a string: File "C:\bin\lang\py22\lib\site-packages\PIL\PngImagePlugin.py", line 209, in chunk_tEXt [k, v] = string.split(s, "\0") ValueError: unpack list of wrong size Should figure out what's causing that. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105988&aid=677611&group_id=5988 |
From: SourceForge.net <no...@so...> - 2003-02-14 08:30:40
|
Bugs item #677611, was opened at 2003-01-30 12:49 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105988&aid=677611&group_id=5988 Category: Context Group: OpenGLContext v2.0 Status: Open >Resolution: Postponed Priority: 4 Submitted By: Mike C. Fletcher (mcfletch) Assigned to: Mike C. Fletcher (mcfletch) Summary: PNG Load failures on valid PNGs Initial Comment: Large numbers of PNGs from known-readable content is failing, seems like PIL is just getting confused by either too many or too few \000s in a string: File "C:\bin\lang\py22\lib\site-packages\PIL\PngImagePlugin.py", line 209, in chunk_tEXt [k, v] = string.split(s, "\0") ValueError: unpack list of wrong size Should figure out what's causing that. ---------------------------------------------------------------------- >Comment By: Mike C. Fletcher (mcfletch) Date: 2003-02-14 03:38 Message: Logged In: YES user_id=34901 This appears to be a bug in PIL. For now, I've worked around it by using the Image.open() function, instead of loading images from the file and then closing the file. That means the image-file is going to be locked as long as the context is rendering, which isn't delightful, but does allow the content to load and render properly. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105988&aid=677611&group_id=5988 |
From: SourceForge.net <no...@so...> - 2003-05-25 06:52:25
|
Bugs item #677611, was opened at 2003-01-30 12:49 Message generated for change (Comment added) made by mcfletch You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105988&aid=677611&group_id=5988 Category: Context Group: OpenGLContext v2.0 >Status: Closed >Resolution: Fixed Priority: 4 Submitted By: Mike C. Fletcher (mcfletch) Assigned to: Mike C. Fletcher (mcfletch) Summary: PNG Load failures on valid PNGs Initial Comment: Large numbers of PNGs from known-readable content is failing, seems like PIL is just getting confused by either too many or too few \000s in a string: File "C:\bin\lang\py22\lib\site-packages\PIL\PngImagePlugin.py", line 209, in chunk_tEXt [k, v] = string.split(s, "\0") ValueError: unpack list of wrong size Should figure out what's causing that. ---------------------------------------------------------------------- >Comment By: Mike C. Fletcher (mcfletch) Date: 2003-05-25 02:52 Message: Logged In: YES user_id=34901 Fixed in the latest version of PIL. ---------------------------------------------------------------------- Comment By: Mike C. Fletcher (mcfletch) Date: 2003-02-14 03:38 Message: Logged In: YES user_id=34901 This appears to be a bug in PIL. For now, I've worked around it by using the Image.open() function, instead of loading images from the file and then closing the file. That means the image-file is going to be locked as long as the context is rendering, which isn't delightful, but does allow the content to load and render properly. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105988&aid=677611&group_id=5988 |