OLD | NEW |
1 | 1 |
2 /* pngwtran.c - transforms the data in a row for PNG writers | 2 /* pngwtran.c - transforms the data in a row for PNG writers |
3 * | 3 * |
4 * Last changed in libpng 1.6.18 [July 23, 2015] | 4 * Last changed in libpng 1.6.18 [July 23, 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 556 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
567 png_do_bgr(row_info, png_ptr->row_buf + 1); | 567 png_do_bgr(row_info, png_ptr->row_buf + 1); |
568 #endif | 568 #endif |
569 | 569 |
570 #ifdef PNG_WRITE_INVERT_SUPPORTED | 570 #ifdef PNG_WRITE_INVERT_SUPPORTED |
571 if ((png_ptr->transformations & PNG_INVERT_MONO) != 0) | 571 if ((png_ptr->transformations & PNG_INVERT_MONO) != 0) |
572 png_do_invert(row_info, png_ptr->row_buf + 1); | 572 png_do_invert(row_info, png_ptr->row_buf + 1); |
573 #endif | 573 #endif |
574 } | 574 } |
575 #endif /* WRITE_TRANSFORMS */ | 575 #endif /* WRITE_TRANSFORMS */ |
576 #endif /* WRITE */ | 576 #endif /* WRITE */ |
OLD | NEW |