John Bowler
cb0b29631f
[devel] Documented png_set_alpha_mode(), other changes in libpng.3 and
...
libpng-manual.txt.
The cHRM chunk now sets the defaults for png_set_rgb_to_gray() (when negative
parameters are supplied by the caller), while in the absence of cHRM
sRGB/Rec 709 values are still used.
The bKGD chunk no longer overwrites the background value set by
png_set_background(), allowing the latter to be used before the file
header is read. It never performed any useful function to override
the default anyway.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net:
(subscription required; visit
2011-05-12 21:48:29 -05:00
Glenn Randers-Pehrson
d83530f45d
[devel] Bump to version libpng-1.5.3beta08
2011-05-11 14:39:11 -05:00
Glenn Randers-Pehrson
2d3fc1ca3b
[devel] Moved macro definitions for PNG_HAVE_IHDR, PNG_HAVE_PLTE, and
...
PNG_AFTER_IDAT from pngpriv.h to png.h because they must be visible to
applications that call png_set_unknown_chunks().
2011-05-10 23:48:00 -05:00
John Bowler
f70c7d02e9
[devel] Added named value and 'flag' gamma support to png_set_gamma. Made a
...
minor change from the previous (unreleased) ABI/API to hide the exact value
used for Macs - it's not a good idea to embed this in the ABI!
2011-05-10 22:54:37 -05:00
Glenn Randers-Pehrson
d768d103cf
[devel] Minor revision of commentary about png_set_alpha_mode().
2011-05-08 23:26:19 -05:00
Glenn Randers-Pehrson
44e26d4149
[devel] Revised commentary about png_set_alpha_mode() to make it clearer
...
that this only affects how composited pixels are returned to the calling
application; they don't affect the pixels that are written to a PNG file.
2011-05-08 22:56:42 -05:00
John Bowler
a9b34191ae
[devel] Added expand_16 suppport to the high level interface.
2011-05-08 19:46:51 -05:00
Glenn Randers-Pehrson
d12c02f020
[devel] Bump to version libpng-1.5.3beta07
2011-05-07 22:07:33 -05:00
Glenn Randers-Pehrson
c7822514cc
[devel] Fix typos in comments, add new API synopses to libpng.3
2011-05-07 21:23:43 -05:00
John Bowler
d273ad2d0f
[devel] Implementation of premultiplied alpha support: png_set_alpha_mode
...
(libpng-manual.txt still to be updated, see png.h for documentation.)
2011-05-07 21:00:28 -05:00
Glenn Randers-Pehrson
af855e415d
[devel] Remove some trailing blanks.
2011-05-07 10:54:28 -05:00
Glenn Randers-Pehrson
00015a81dd
[devel] Bump to version libpng-1.5.3beta06
2011-05-05 21:11:56 -05:00
Glenn Randers-Pehrson
e1018a5bbb
[devel] Imported from libpng-1.5.3beta05.tar
2011-05-05 21:06:51 -05:00
John Bowler
c5bef946b1
[devel] IDAT compression failed if preceded by a compressed text chunk
...
This was because the attempt to reset the zlib stream in png_write_IDAT
happened after the first IDAT chunk had been deflated - much too late.
In this change internal functions are added to claim/release the z_stream
and, hopefully, make the code more robust. Also deflateEnd checking is
added - previously libpng would ignore an error at the end of the stream.
2011-05-05 17:35:39 -05:00
Glenn Randers-Pehrson
4753906826
[devel] Update "last changed" dates and added CHANGES entry.
2011-05-05 07:32:30 -05:00
John Bowler
88b77cc6f3
[devel] Remove png_snprintf, add formatted warning messages.
...
This change adds internal APIs to allow png_warning messages to have parameters
without requiring the host OS to implelment snprintf. As a side effect the
dependency of the RFC1132 code on stdio is removed and PNG_NO_WARNINGS does
actually work now.
2011-05-05 06:49:55 -05:00
Glenn Randers-Pehrson
1384c048e4
[devel] Added comments in png.h about relocation of the png_struct
...
and png_info definitions.
2011-04-28 23:22:18 -05:00
Glenn Randers-Pehrson
24fde6e00f
[devel] Bump to version libpng-1.5.3beta05
2011-04-28 23:20:24 -05:00
Glenn Randers-Pehrson
33ced44f9e
[devel] Bump to version libpng-1.5.3beta04
2011-04-27 15:38:15 -05:00
John Bowler
4a12f4a22a
[devel] Cleanup of conditional compilation code and of background/gamma
...
handling. Internal changes only except for a new option to avoid compiling
in the png_build_grayscale_palette API (which is not used at all internally.)
The main change is to move the transform tests (READ_TRANSFORMS,
WRITE_TRANSFORMS) up one level to the caller of the APIs.
2011-04-17 18:34:22 -05:00
Glenn Randers-Pehrson
a1f9426399
[devel] Bump to version libpng-1.5.3beta04
2011-04-16 21:48:23 -05:00
Glenn Randers-Pehrson
9f1cd70774
[devel] Imported from libpng-1.5.3beta03.tar
2011-04-16 21:39:11 -05:00
John Bowler
b302c4721a
[devel] Removed the PNG_PTR_NORETURN attribute
2011-04-15 06:37:34 -05:00
Glenn Randers-Pehrson
1b491cbda0
[devel] Bump to version libpng-1.5.3beta03
2011-04-03 06:51:53 -05:00
Glenn Randers-Pehrson
8abcf141fa
[devel] Imported from libpng-1.5.3beta02.tar
2011-04-03 06:36:34 -05:00
Glenn Randers-Pehrson
b0525f83e1
[devel] Bump to version libpng-1.5.3beta02
2011-03-31 23:50:46 -05:00
Glenn Randers-Pehrson
ee1369b853
[devel] Imported from libpng-1.5.3beta01.tar
2011-03-31 23:50:36 -05:00
Glenn Randers-Pehrson
ea0c7b699e
[devel] Update LAST_ORDINAL to 226 in png.h, to account for new API.
2011-03-31 23:25:29 -05:00
Glenn Randers-Pehrson
6b3d50b2cd
[devel] Re-initialize the zlib compressor before compressing non-IDAT chunks.
2011-03-31 20:14:29 -05:00
Glenn Randers-Pehrson
dcc3505c7b
[devel] Imported from libpng-1.5.2.tar
2011-03-31 11:29:05 -05:00
Glenn Randers-Pehrson
80de04e560
[devel] Don't include standard header files in png.h while building the symbol
...
table, to avoid cpp failure on SunOS (introduced PNG_BUILDING_SYMBOL_TABLE
macro).
2011-03-24 23:06:26 -05:00
Glenn Randers-Pehrson
77fd083041
[devel] Bump to version libpng-1.5.2rc03
2011-03-24 09:01:33 -05:00
Glenn Randers-Pehrson
22b9a84314
[devel] Imported from libpng-1.5.2rc02.tar
2011-03-22 06:32:08 -05:00
Glenn Randers-Pehrson
f3dd1cc51e
[devel] Imported from libpng-1.5.2rc01.tar
2011-03-18 22:03:48 -05:00
Glenn Randers-Pehrson
ffc9e9503d
[devel] Bump to version libpng-1.5.2beta04
2011-03-03 06:41:16 -06:00
Glenn Randers-Pehrson
38734eeb45
[devel] Imported from libpng-1.5.2beta03.tar
2011-03-03 06:37:45 -06:00
Glenn Randers-Pehrson
7c969f347f
[devel] Bump to version libpng-1.5.2beta03
2011-02-19 15:59:14 -06:00
Glenn Randers-Pehrson
d08b6bdbf7
[devel] Imported from libpng-1.5.2beta02.tar
2011-02-19 15:51:57 -06:00
John Bowler
9616ad9828
[devel] Revert png_get_current_row_number() to previous (1.5.2beta01) behavior.
2011-02-16 06:13:46 -06:00
Glenn Randers-Pehrson
cad6798a8c
[devel] Imported from libpng-1.5.2beta01.tar
2011-02-13 06:13:39 -06:00
Glenn Randers-Pehrson
c36bb79352
[devel] Trim trailing blanks from sources and manual
2011-02-12 09:49:07 -06:00
John Bowler
4d56296443
[devel] Implement expansion to 16 bits
2011-02-12 09:01:20 -06:00
John Bowler
5432c01ffd
[devel] Fix png_get_current_row_number in the interlaced case.
2011-02-12 08:59:17 -06:00
John Bowler
9c69360e97
[devel] Fix gcc -pendantic warnings, handle Cygwin longjmp fix png_read_png
2011-02-12 08:58:21 -06:00
Glenn Randers-Pehrson
c83d421d9e
Revert "[devel] Changed empty parameter to PNG_BLANK in PNG_EXPORTA definition to"
...
This reverts commit 2438825d77
.
2011-02-12 08:54:42 -06:00
Glenn Randers-Pehrson
2438825d77
[devel] Changed empty parameter to PNG_BLANK in PNG_EXPORTA definition to
...
accommodate the old VisualC++ preprocessor.
Defined PNG_ALLOCATED to empty for MSC_VER < 1300.
2011-02-12 07:49:28 -06:00
Glenn Randers-Pehrson
47a007a945
--amend [devel] Imported from libpng-1.5.2beta01.tar
2011-02-03 21:31:34 -06:00
Glenn Randers-Pehrson
3d3aae1697
--amend [devel] Imported from libpng-1.5.1.tar
2011-02-02 23:00:03 -06:00
Glenn Randers-Pehrson
2506e53400
--amend [devel] Imported from libpng-1.5.1rc02.tar
2011-01-31 10:26:55 -06:00
Glenn Randers-Pehrson
7ccc2daf09
--amend [devel] Imported from libpng-1.5.1rc01.tar.gz
2011-01-28 23:12:23 -06:00