Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
No build reason found for images:x86_64
openSUSE:12.2:ARM
transfig
transfig.3.2.5a-libpng14.dif
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File transfig.3.2.5a-libpng14.dif of Package transfig
--- fig2dev/dev/readpng.c +++ fig2dev/dev/readpng.c 2010-04-20 15:22:10.142924814 +0000 @@ -127,7 +127,11 @@ read_png(file,filetype,pic,llx,lly) if (png_get_PLTE(png_ptr, info_ptr, &palette, &num_palette)) { png_get_hIST(png_ptr, info_ptr, &histogram); +#if (PNG_LIBPNG_VER_MAJOR > 1 || (PNG_LIBPNG_VER_MAJOR == 1 && (PNG_LIBPNG_VER_MINOR > 4))) || defined(png_set_quantize) + png_set_quantize(png_ptr, palette, num_palette, 256, histogram, 0); +#else png_set_dither(png_ptr, palette, num_palette, 256, histogram, 0); +#endif } } if (color_type == PNG_COLOR_TYPE_GRAY || color_type == PNG_COLOR_TYPE_GRAY_ALPHA) {
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