summaryrefslogtreecommitdiff
path: root/example.c
AgeCommit message (Collapse)Author
2018-11-25Clean up config, scripts, examples, etc.Cosmin Truta
2018-07-28Remove the "last changed" version information from source commentsCosmin Truta
This information is maintained by the version control system.
2018-07-15Release libpng version 1.6.35Cosmin Truta
2018-06-17[libpng16] Replace the remaining uses of png_size_t with size_tCosmin Truta
In v1.6.0, size_t became a required type. It should be used consistently. To maintain backwards compatibility, png_size_t is still maintained in deprecated form.
2017-07-25[libpng16] Fixed typo in example.c (png_free_image should be png_image_free)Glenn Randers-Pehrson
(Bug report by John Smith)
2017-04-22[libpng16] Imported from libpng-1.6.30beta02.tarGlenn Randers-Pehrson
2016-08-03[libpng16] Imported from libpng-1.6.24.tarGlenn Randers-Pehrson
2016-07-15[libpng16] Fixed more indentationGlenn Randers-Pehrson
2016-07-13[libpng16] Undo bad indentation change in example.cGlenn Randers-Pehrson
2016-07-13[libpng16] Fixed some indentation to comply with our coding style.Glenn Randers-Pehrson
2015-09-24[libpng16] Reverted addition of png_set_filler_16 and png_set_add_alpha_16()Glenn Randers-Pehrson
functions. They unnecessarily duplicate png_set_filler() and png_set_add_alpha() which now work properly with 16-bit images.
2015-09-23[libpng16] Reverted the fix of byte order in png_do_read_filler() with 16-bitGlenn Randers-Pehrson
input that was made in version 1.6.17beta01, to preserve legacy behavior even though it was incorrect. Instead, added new API png_set_filter_16() and png_set_add_alpha_16() that set a flag to make png_do_read_filter() interpret the filler bytes properly.
2015-08-17[libng16] Reverted recent mistaken change of 0xnnnn to 0xnnnnULGlenn Randers-Pehrson
2015-08-13[libpng16] Change "n bit" to "n-bit" in comments.Glenn Randers-Pehrson
2014-11-20[libpng16] Imported from libpng-1.6.15.tarGlenn Randers-Pehrson
2014-11-06[libpng16] Fix typo in example.cGlenn Randers-Pehrson
2014-11-06[libpng16] Changed "#endif /* PNG_FEATURE_SUPPORTED */" to "#endif /* ↵Glenn Randers-Pehrson
FEATURE */"
2014-11-06[libpng16] Reverted use png_get_libpng_ver(NULL) instead of ↵Glenn Randers-Pehrson
PNG_LIBPNG_VER_STRING in the manual, example.c, pngtest.c, and applications in the contrib directory. It was incorrect advice.
2014-11-04[libpng16] Use png_get_libpng_ver(NULL), not PNG_LIBPNG_VER_STRINGGlenn Randers-Pehrson
2014-10-31[libpng16] Changed remaining "if (!x)" to "if (x == 0)" and "if (x)" toGlenn Randers-Pehrson
"if (x !== 0)"
2014-10-13[libpng16] Fixed some typos in comments.Glenn Randers-Pehrson
2014-10-05[libpng16] Only mark text chunks as written after successfully writing them.Glenn Randers-Pehrson
2014-06-11[libpng16] Bump version to 1.6.13beta01Glenn Randers-Pehrson
2014-06-11[libpng16] Imported from libpng-1.6.12.tarGlenn Randers-Pehrson
2014-06-06[libpng16] Bump version to 1.6.12beta01Glenn Randers-Pehrson
2014-06-05[libpng16] Imported from libpng-1.6.11.tarGlenn Randers-Pehrson
2014-03-08[libpng16] Use "if (value != 0)" instead of "if (value)" consistently.Glenn Randers-Pehrson
2013-07-17[libpng16] Imported from libpng-1.6.3.tarGlenn Randers-Pehrson
2013-06-27[libpng16] Imported from libpng-1.6.3beta09.tarGlenn Randers-Pehrson
2013-06-25[libpng16] Revised example.c to illustrate use of PNG_DEFAULT_sRGB andGlenn Randers-Pehrson
PNG_GAMMA_MAC_18 as parameters for png_set_gamma().
2013-03-02[libpng16] Bump version to 1.6.1beta05Glenn Randers-Pehrson
2013-03-01[libpng16] Imported from libpng-1.6.0beta05.tarGlenn Randers-Pehrson
2013-02-13[libpng16] Imported from libpng-1.6.0.tarGlenn Randers-Pehrson
2013-01-01[libpng16] Updated copyright year to 2013 in newly-changed filesGlenn Randers-Pehrson
2012-08-31[libpng16] Fixed the simplified API example programs and improved the errorJohn Bowler
message if the version field is not set.
2012-08-09[libpng16] Eliminated use of png_sizeof(); use sizeof() instead, and use.Glenn Randers-Pehrson
a consistent style for (sizeof type) and (sizeof (array))
2012-08-08[libpng16] Corrected handling of row_pointers in example.c and added someGlenn Randers-Pehrson
comments. It has apparently been wrong since libpng-1.0.1c (confusing use of a 1D and a 2D array for the image source).
2012-03-16[libpng16] Reverted png_set_itxt(); it would not compile without warnings.Glenn Randers-Pehrson
2012-03-16[libpng16] Added png_set_itxt() (work in progress)Glenn Randers-Pehrson
2012-03-15[libpng16] Revised example.c to put text strings in a temporary character arrayGlenn Randers-Pehrson
instead of directly assigning string constants to png_textp members. This avoids compiler warnings when -Wwrite-strings is enabled.
2012-01-01[libpng16] Updated copyright year to 2012Glenn Randers-Pehrson
2011-12-28[libpng16] Changed png_memcpy to C assignment where appropriate. Changed allJohn Bowler
those uses of png_memcpy that were doing a simple assignment to assignments (all those cases where the thing being copied is a non-array C L-value.) Added some error checking to png_set_*() routines and removed the reference to the non-exported function png_memcpy() from example.c. Fixed the Visual C 64-bit build - it requires jmp_buf to be aligned, but it had become misaligned.
2011-12-24[libpng16] Implemented 'restrict' for png_info and png_struct.John Bowler
Added new "png_structrp" typedef. Because of the way libpng works both png_info and png_struct are always accessed via a single pointer. This means adding C99 'restrict' to the pointer gives the compiler some opportunity to optimize the code. This change allows that.
2011-12-21[libpng16] Updated "last changed" datesGlenn Randers-Pehrson
2011-11-27[libpng16] Add "free()" and "png_free_image()" calls to example code.John Bowler
2011-11-25[libpng16] Updated license info in contrib/examples and example.cGlenn Randers-Pehrson
2011-11-24[libpng16] Update internal version numbering and SO-numbersGlenn Randers-Pehrson
2011-11-04[libpng15] Imported from libpng-1.5.7beta01.tarGlenn Randers-Pehrson
2011-11-02[libpng15] Bump version to libpng-1.5.7beta01Glenn Randers-Pehrson
2011-11-02[libpng15] Imported from libpng-1.5.6.tarGlenn Randers-Pehrson