OLD | NEW |
1 | 1 |
2 /* pngwrite.c - general routines to write a PNG file | 2 /* pngwrite.c - general routines to write a PNG file |
3 * | 3 * |
4 * Last changed in libpng 1.6.19 [November 12, 2015] | 4 * Last changed in libpng 1.6.19 [November 12, 2015] |
5 * Copyright (c) 1998-2015 Glenn Randers-Pehrson | 5 * Copyright (c) 1998-2015 Glenn Randers-Pehrson |
6 * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) | 6 * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) |
7 * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.) | 7 * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.) |
8 * | 8 * |
9 * This code is released under the libpng license. | 9 * This code is released under the libpng license. |
10 * For conditions of distribution and use, see the disclaimer | 10 * For conditions of distribution and use, see the disclaimer |
(...skipping 2210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2221 else if (image != NULL) | 2221 else if (image != NULL) |
2222 return png_image_error(image, | 2222 return png_image_error(image, |
2223 "png_image_write_to_file: incorrect PNG_IMAGE_VERSION"); | 2223 "png_image_write_to_file: incorrect PNG_IMAGE_VERSION"); |
2224 | 2224 |
2225 else | 2225 else |
2226 return 0; | 2226 return 0; |
2227 } | 2227 } |
2228 # endif /* STDIO */ | 2228 # endif /* STDIO */ |
2229 #endif /* SIMPLIFIED_WRITE */ | 2229 #endif /* SIMPLIFIED_WRITE */ |
2230 #endif /* WRITE */ | 2230 #endif /* WRITE */ |
OLD | NEW |