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.2 [April 25, 2013] | 4 * Last changed in libpng 1.6.2 [April 25, 2013] |
5 * Copyright (c) 1998-2013 Glenn Randers-Pehrson | 5 * Copyright (c) 1998-2013 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 2309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2320 else if (image != NULL) | 2320 else if (image != NULL) |
2321 return png_image_error(image, | 2321 return png_image_error(image, |
2322 "png_image_write_to_file: incorrect PNG_IMAGE_VERSION"); | 2322 "png_image_write_to_file: incorrect PNG_IMAGE_VERSION"); |
2323 | 2323 |
2324 else | 2324 else |
2325 return 0; | 2325 return 0; |
2326 } | 2326 } |
2327 #endif /* PNG_STDIO_SUPPORTED */ | 2327 #endif /* PNG_STDIO_SUPPORTED */ |
2328 #endif /* SIMPLIFIED_WRITE */ | 2328 #endif /* SIMPLIFIED_WRITE */ |
2329 #endif /* PNG_WRITE_SUPPORTED */ | 2329 #endif /* PNG_WRITE_SUPPORTED */ |
OLD | NEW |