Carl Simonson
cd7ad3e15e
Catch and throw PNG exceptions - fixes #1213
...
The png library uses setjmp/longjmp to throw exceptions when reading. If this
is not set up, the png library calls abort(). This change handles the errors
and throws a C++ exception instead.
This issue was found by testing images from pngsuite at
http://www.schaik.com/pngsuite/ . These images are included and a unit test was
added to test both images that should be successful and images that should
throw an exception.
2012-06-06 17:52:41 -05:00
..
2012-05-24 16:39:24 -07:00
2009-04-16 17:22:38 +00:00
2012-03-27 18:55:33 -04:00
2012-03-23 17:36:37 -07:00
2012-04-08 02:20:56 +02:00
2012-04-08 02:20:56 +02:00
2012-03-23 18:14:14 -07:00
2012-01-24 15:16:40 -08:00
2012-02-24 13:13:56 -08:00
2012-02-24 13:13:56 -08:00
2011-12-02 15:21:35 -08:00
2012-01-24 00:27:44 -08:00
2012-02-24 13:13:56 -08:00
2012-02-24 13:13:56 -08:00
2012-02-24 13:13:56 -08:00
2012-02-24 13:13:56 -08:00
2012-05-23 15:40:25 -07:00
2012-04-13 11:28:30 -07:00
2011-11-23 11:33:58 +00:00
2012-02-24 13:13:56 -08:00
2012-02-24 13:13:56 -08:00
2012-06-04 13:42:51 -07:00
2012-02-28 20:18:47 -08:00
2012-02-24 13:13:56 -08:00
2012-03-22 16:44:27 -07:00
2012-03-23 20:04:42 -07:00
2012-02-24 13:15:48 -08:00
2012-06-06 17:52:41 -05:00
2012-04-05 11:05:14 -07:00
2012-02-24 13:13:56 -08:00
2012-05-24 16:39:24 -07:00
2012-02-24 13:15:48 -08:00
2012-04-03 16:06:36 -07:00
2012-04-13 11:28:30 -07:00
2012-03-23 20:28:12 -07:00
2012-03-23 20:28:12 -07:00
2012-04-04 12:43:32 -07:00
2012-02-24 13:13:56 -08:00
2012-02-24 13:13:56 -08:00
2012-04-18 16:06:18 -07:00
2012-02-24 13:15:48 -08:00
2012-02-24 13:13:56 -08:00
2010-03-18 20:05:08 +00:00