libpng
libpng copied to clipboard
LIBPNG: Portable Network Graphics support, official libpng repository
The final argument of png_set_eXIf_1 should be png_const_bytep not png_bytep.
The final argument of png_set_background doesn't appear to be documented in libpng-manual.txt: http://www.libpng.org/pub/png/libpng-manual.txt or in other online pages such as this: https://refspecs.linuxbase.org/LSB_3.1.0/LSB-Desktop-generic/LSB-Desktop-generic/libpng12.png.set.background.1.html Looking at the source code, the value is...
This is in pngrtrans.c: ``` /* Dither file to 8-bit. Supply a palette, the current number * of elements in the palette, the maximum number of elements * allowed, and...
PS C:\vcpkg> .\vcpkg install libpng Computing installation plan... The following packages will be built and installed: libpng[core]:x86-windows -> 1.6.37#14 Detecting compiler hash for triplet x86-windows... Could not locate cached archive:...
It seems inconsistent, at the moment we have png_get_pixel_aspect_ratio_fixed PNGAPI png_get_x_offset_inches_fixed PNGAPI png_get_y_offset_inches_fixed PNGAPI png_get_cHRM_XYZ_fixed PNGAPI png_get_cHRM_fixed PNGAPI png_get_gAMA_fixed PNGAPI png_get_sCAL_fixed PNGAPI png_set_background_fixed PNGFAPI png_set_alpha_mode_fixed PNGFAPI png_set_gamma_fixed PNGFAPI png_set_rgb_to_gray_fixed PNGFAPI...
This is marked as PNGAPI in the source code: https://github.com/glennrp/libpng/blob/libpng16/png.c#L875 However, it isn't documented in libpng-manual.txt.
Hi, We validated png image based on Install file . The input file is an pngtest.png. After that run make and make test command in raspberry pi platform . The...
An extra line (probably a copy-paste error), that existed for years but was not spotted because it breaks nothing. https://github.com/glennrp/libpng/blob/301f7a14295a3bdfaf406dbb5004d0784dc137ea/pngrutil.c#L304-L305
I have this code: ``` std::vector out; out.reserve(w * h * 4); png_set_write_fn(png_ptr, &out, PngWriteCallback, NULL); png_set_compression_strategy(png_ptr, Z_HUFFMAN_ONLY); png_write_png(png_ptr, info_ptr, PNG_TRANSFORM_IDENTITY, NULL); std::vector out1 = std::move(out); out.clear(); out.reserve(w * h...
Hi, For documentation purpose and project release process we need the Export control classification number(ECCN) for libpng if it applies. Can you please let me know the ECCN ?