mirror of
				https://git.code.sf.net/p/libpng/code.git
				synced 2025-07-10 18:04:09 +02:00 
			
		
		
		
	 0ecbe53243
			
		
	
	
		0ecbe53243
		
	
	
	
	
		
			
			In libpng 1.7 pngimage needs to check PNG_WRITE_PNG_SUPPORTED (new in 1.7), not PNG_WRITE_SUPPORTED because png_write_png can be disabled without disabling PNG_WRITE_SUPPORTED. Copied the approach from 1.6 pngcp.c (so this still works in 1.6 as well.)
This "contrib" directory contains contributions which are not necessarily under the libpng license, although all are open source. They are not part of libpng proper and are not used for building the library, although some are used for testing the library via "make check".