Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
mtpaint
mtpaint-3.31-libpng14.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mtpaint-3.31-libpng14.patch of Package mtpaint
--- mtpaint-3.31/src/png.c.orig 2010-02-22 22:41:06.935087701 +0100 +++ mtpaint-3.31/src/png.c 2010-02-22 22:41:55.195067047 +0100 @@ -539,7 +539,7 @@ if (settings->bpp == 3) { png_set_strip_16(png_ptr); - png_set_gray_1_2_4_to_8(png_ptr); + png_set_expand_gray_1_2_4_to_8(png_ptr); png_set_palette_to_rgb(png_ptr); png_set_gray_to_rgb(png_ptr); @@ -644,7 +644,7 @@ png_set_strip_alpha(png_ptr); png_set_packing(png_ptr); if ((color_type == PNG_COLOR_TYPE_GRAY) && (bit_depth < 8)) - png_set_gray_1_2_4_to_8(png_ptr); + png_set_expand_gray_1_2_4_to_8(png_ptr); for (i = 0; i < height; i++) { row_pointers[i] = settings->img[CHN_IMAGE] + i * width;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor