summaryrefslogtreecommitdiff
path: root/example.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix example.cZack Middleton2020-04-271-0/+1
|
* Clean up config, scripts, examples, etc.Cosmin Truta2018-11-251-226/+198
|
* Remove the "last changed" version information from source commentsCosmin Truta2018-07-281-3/+4
| | | | This information is maintained by the version control system.
* Release libpng version 1.6.35Cosmin Truta2018-07-151-2/+3
|
* [libpng16] Replace the remaining uses of png_size_t with size_tCosmin Truta2018-06-171-1/+1
| | | | | | 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.
* [libpng16] Fixed typo in example.c (png_free_image should be png_image_free)Glenn Randers-Pehrson2017-07-251-2/+2
| | | | (Bug report by John Smith)
* [libpng16] Imported from libpng-1.6.30beta02.tarv1.6.30beta02Glenn Randers-Pehrson2017-04-221-0/+5
|
* [libpng16] Imported from libpng-1.6.24.tarv1.6.24libpng-1.6.24-signedGlenn Randers-Pehrson2016-08-031-1/+1
|
* [libpng16] Fixed more indentationGlenn Randers-Pehrson2016-07-151-17/+17
|
* [libpng16] Undo bad indentation change in example.cGlenn Randers-Pehrson2016-07-131-5/+5
|
* [libpng16] Fixed some indentation to comply with our coding style.Glenn Randers-Pehrson2016-07-131-5/+5
|
* [libpng16] Reverted addition of png_set_filler_16 and png_set_add_alpha_16()Glenn Randers-Pehrson2015-09-241-2/+2
| | | | | functions. They unnecessarily duplicate png_set_filler() and png_set_add_alpha() which now work properly with 16-bit images.
* [libpng16] Reverted the fix of byte order in png_do_read_filler() with 16-bitGlenn Randers-Pehrson2015-09-231-2/+2
| | | | | | | 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.
* [libng16] Reverted recent mistaken change of 0xnnnn to 0xnnnnULGlenn Randers-Pehrson2015-08-171-2/+2
|
* [libpng16] Change "n bit" to "n-bit" in comments.Glenn Randers-Pehrson2015-08-131-4/+4
|
* [libpng16] Imported from libpng-1.6.15.tarv1.6.15libpng-1.6.15-signedGlenn Randers-Pehrson2014-11-201-1/+1
|
* [libpng16] Fix typo in example.cGlenn Randers-Pehrson2014-11-061-1/+1
|
* [libpng16] Changed "#endif /* PNG_FEATURE_SUPPORTED */" to "#endif /* ↵Glenn Randers-Pehrson2014-11-061-3/+3
| | | | FEATURE */"
* [libpng16] Reverted use png_get_libpng_ver(NULL) instead of ↵Glenn Randers-Pehrson2014-11-061-3/+3
| | | | | | | PNG_LIBPNG_VER_STRING in the manual, example.c, pngtest.c, and applications in the contrib directory. It was incorrect advice.
* [libpng16] Use png_get_libpng_ver(NULL), not PNG_LIBPNG_VER_STRINGGlenn Randers-Pehrson2014-11-041-3/+3
|
* [libpng16] Changed remaining "if (!x)" to "if (x == 0)" and "if (x)" toGlenn Randers-Pehrson2014-10-311-12/+12
| | | | "if (x !== 0)"
* [libpng16] Fixed some typos in comments.Glenn Randers-Pehrson2014-10-131-2/+2
|
* [libpng16] Only mark text chunks as written after successfully writing them.Glenn Randers-Pehrson2014-10-051-1/+1
|
* [libpng16] Bump version to 1.6.13beta01Glenn Randers-Pehrson2014-06-111-1/+1
|
* [libpng16] Imported from libpng-1.6.12.tarv1.6.12libpng-1.6.12-signedGlenn Randers-Pehrson2014-06-111-1/+1
|
* [libpng16] Bump version to 1.6.12beta01Glenn Randers-Pehrson2014-06-061-1/+1
|
* [libpng16] Imported from libpng-1.6.11.tarv1.6.11libpng-1.6.11-signedGlenn Randers-Pehrson2014-06-051-1/+1
|
* [libpng16] Use "if (value != 0)" instead of "if (value)" consistently.Glenn Randers-Pehrson2014-03-081-3/+3
|
* [libpng16] Imported from libpng-1.6.3.tarv1.6.3libpng-1.6.3-signedGlenn Randers-Pehrson2013-07-171-1/+1
|
* [libpng16] Imported from libpng-1.6.3beta09.tarv1.6.3beta09Glenn Randers-Pehrson2013-06-271-1/+1
|
* [libpng16] Revised example.c to illustrate use of PNG_DEFAULT_sRGB andGlenn Randers-Pehrson2013-06-251-5/+5
| | | | PNG_GAMMA_MAC_18 as parameters for png_set_gamma().
* [libpng16] Bump version to 1.6.1beta05Glenn Randers-Pehrson2013-03-021-28/+58
|
* [libpng16] Imported from libpng-1.6.0beta05.tarv1.6.1beta05Glenn Randers-Pehrson2013-03-011-58/+28
|
* [libpng16] Imported from libpng-1.6.0.tarv1.6.0Glenn Randers-Pehrson2013-02-131-1/+1
|
* [libpng16] Updated copyright year to 2013 in newly-changed filesGlenn Randers-Pehrson2013-01-011-1/+1
|
* [libpng16] Fixed the simplified API example programs and improved the errorJohn Bowler2012-08-311-3/+16
| | | | message if the version field is not set.
* [libpng16] Eliminated use of png_sizeof(); use sizeof() instead, and use.Glenn Randers-Pehrson2012-08-091-3/+5
| | | | a consistent style for (sizeof type) and (sizeof (array))
* [libpng16] Corrected handling of row_pointers in example.c and added someGlenn Randers-Pehrson2012-08-081-1/+3
| | | | | comments. It has apparently been wrong since libpng-1.0.1c (confusing use of a 1D and a 2D array for the image source).
* [libpng16] Reverted png_set_itxt(); it would not compile without warnings.Glenn Randers-Pehrson2012-03-161-8/+0
|
* [libpng16] Added png_set_itxt() (work in progress)Glenn Randers-Pehrson2012-03-161-0/+8
|
* [libpng16] Revised example.c to put text strings in a temporary character arrayGlenn Randers-Pehrson2012-03-151-19/+32
| | | | | instead of directly assigning string constants to png_textp members. This avoids compiler warnings when -Wwrite-strings is enabled.
* [libpng16] Updated copyright year to 2012Glenn Randers-Pehrson2012-01-011-1/+1
|
* [libpng16] Changed png_memcpy to C assignment where appropriate. Changed allJohn Bowler2011-12-281-1/+1
| | | | | | | | | 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.
* [libpng16] Implemented 'restrict' for png_info and png_struct.John Bowler2011-12-241-0/+1
| | | | | | | 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.
* [libpng16] Updated "last changed" datesGlenn Randers-Pehrson2011-12-211-1/+1
|
* [libpng16] Add "free()" and "png_free_image()" calls to example code.John Bowler2011-11-271-0/+13
|
* [libpng16] Updated license info in contrib/examples and example.cGlenn Randers-Pehrson2011-11-251-2/+4
|
* [libpng16] Update internal version numbering and SO-numbersGlenn Randers-Pehrson2011-11-241-4/+158
|
* [libpng15] Imported from libpng-1.5.7beta01.tarv1.5.7beta01Glenn Randers-Pehrson2011-11-041-1/+1
|
* [libpng15] Bump version to libpng-1.5.7beta01Glenn Randers-Pehrson2011-11-021-1/+1
|