mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 23:33:05 +04:00
spng encoder/decoder added as optional png codec
This commit is contained in:
@@ -71,7 +71,7 @@ void CV_DrawingTest::run( int )
|
||||
{
|
||||
//imwrite( filename, testImg );
|
||||
ts->printf( ts->LOG, "test image can not be read");
|
||||
#ifdef HAVE_PNG
|
||||
#if defined(HAVE_PNG) || defined(HAVE_SPNG)
|
||||
ts->set_failed_test_info(cvtest::TS::FAIL_INVALID_TEST_DATA);
|
||||
#else
|
||||
ts->printf( ts->LOG, "PNG image support is not available");
|
||||
|
||||
Reference in New Issue
Block a user