John Bowler
18c5cfafeb
[libpng15] Multiple transform bug fixes plus a work-round for double gamma
...
correction.
2011-11-16 14:26:34 -06:00
Glenn Randers-Pehrson
4be12aa1e3
[libpng15] Updated commentary
2011-11-10 06:35:48 -06:00
Glenn Randers-Pehrson
efc4b69767
[libpng15] Fixed some typos in comments.
2011-11-07 23:31:34 -06:00
John Bowler
7875d534cb
[libpng15] Simplified read/write API initial version; basic read/write tested
...
on a variety of images, limited documentation (in the header file.)
2011-11-07 22:33:49 -06:00
Glenn Randers-Pehrson
55e85c24b4
[libpng15] Imported from libpng-1.5.7beta01.tar
2011-11-04 13:47:49 -05:00
Glenn Randers-Pehrson
2b7d730e27
[libpng15] Bump version to libpng-1.5.7beta01
2011-11-02 23:14:13 -05:00
Glenn Randers-Pehrson
bc6726bc04
[libpng15] Imported from libpng-1.5.6.tar
2011-11-02 22:48:36 -05:00
John Bowler
92ef313c77
[libpng15] Fixed compiler warnings with Intel and MSYS compilers.
...
The logical shift fix for Microsoft Visual C is required by other compilers,
so this enables that fix for all compilers when using compile-time constants.
Under MSYS 'byte' is a name declared in a system header file, so we
changed the name of a local variable to avoid the warnings that result.
2011-10-27 19:53:14 -05:00
John Bowler
07772cba07
[libpng15] Fixes for multiple calls to png_read_update_info.
...
These fixes attend to most of the errors revealed in pngvalid, however doing
the gamma work twice results in inaccuracies that can't be easily fixed.
There is now a warning in the code if this is going to happen.
2011-10-14 18:19:47 -05:00
Glenn Randers-Pehrson
bb5cb1476b
[libpng15] Bump version to libpng-1.5.6beta02
2011-09-22 12:48:19 -05:00
Glenn Randers-Pehrson
115020d985
[libpng15] Imported from libpng-1.5.6beta01.tar
2011-09-22 09:51:23 -05:00
Glenn Randers-Pehrson
3e2263abf2
[libpng15] Imported from libpng-1.5.5.tar
2011-09-22 08:45:04 -05:00
John Bowler
751561218f
[libpng15] Constant changes for 64-bit compatibility (removal of L suffixes).
...
The 16-bit cases still use "L" as we don't have a 16-bit test system.
2011-09-09 17:21:44 -05:00
Glenn Randers-Pehrson
63071acbd9
[devel] Zapped "zap" (changed "zap" to "remove")
2011-08-29 16:16:26 -05:00
Glenn Randers-Pehrson
8b8aacde83
[devel] Use "color" spelling consistently.
2011-08-25 18:10:50 -05:00
John Bowler
736f40f459
[devel] Fixes to rgb_to_gray and cHRM XYZ APIs
2011-08-25 16:19:44 -05:00
Glenn Randers-Pehrson
75d5bfda5b
[devel] Imported from libpng-1.5.5beta05.tar
2011-08-17 07:47:04 -05:00
Glenn Randers-Pehrson
0bc79772c8
[devel] Revised commentary about png_rgb_to_gray coefficents
...
and fixed spelling (truely -> truly) in comments.
2011-08-11 15:11:11 -05:00
Glenn Randers-Pehrson
99ffac0838
[devel] Imported from libpng-1.5.5beta04.tar
2011-07-29 12:35:41 -05:00
Glenn Randers-Pehrson
d404b6d488
[devel] Imported from libpng-1.5.4.tar
2011-07-07 06:26:30 -05:00
John Bowler
8d261262d9
[devel] Fixed pngvalid, simplified macros, added checking for 0 in sCAL.
2011-06-18 13:37:11 -05:00
Glenn Randers-Pehrson
aee83b43d6
[devel] Fixed buffer bug (both the strip_16 and scale_16 transforms were
...
being applied.
2011-06-18 00:19:54 -05:00
Glenn Randers-Pehrson
24145c8869
[devel] Still trying to fix row buffer problem but pngvalid still fails
2011-06-17 22:45:03 -05:00
Glenn Randers-Pehrson
e6a8060a71
[devel] Fixed some errors with 16_TO_8 macros
...
pngvalid still fails two tests, problem with row buffer.
2011-06-17 22:28:23 -05:00
Glenn Randers-Pehrson
ab63dd0892
[devel] Renamed png_set_chop_16() to png_set_strip_16().
2011-06-17 20:41:19 -05:00
Glenn Randers-Pehrson
a7428d443c
[devel] Renamed png_set_strip_16() to png_set_scale_16().
2011-06-17 19:07:04 -05:00
Glenn Randers-Pehrson
5f0b9276ec
[devel] Made PNG_READ_16_TO_8_ACCURATE_SCALE configurable again.
...
If this is not enabled, png_set_strip_16() and png_do_scale_16_to_8()
aren't built.
2011-06-16 09:05:40 -05:00
Glenn Randers-Pehrson
ef217b76a3
[devel] Updated comments that mention 1.5.3; changed them to 1.5.4.
2011-06-15 12:58:27 -05:00
Glenn Randers-Pehrson
903c64dce8
[devel] Added "#ifdef PNG_READ_BACKGROUND_SUPPORTED/#endif" in pngrtran.c
2011-06-15 11:50:23 -05:00
Glenn Randers-Pehrson
be720edba7
[devel] Correction to the expand_16 code; removed extra instance of
...
png_set_scale_16_to_8 from pngpriv.h
2011-06-15 08:20:37 -05:00
John Bowler
cd3b0cc4d9
[devel] Fixed a problem in png_do_expand_palette() exposed by optimization in
...
1.5.3beta06
Also removed a spurious (totally unused and confusing) member from png_info.
The palette expand optimization prevented expansion to an intermediate RGBA
form if tRNS was present but alpha was marked to be stripped; this exposed
a check for tRNS in png_do_expand_palette() which is inconsistent with the
code elsewhere in libpng.
2011-06-14 23:01:07 -05:00
Glenn Randers-Pehrson
2232baa41b
[devel] Made png_set_chop_16() API removeable
...
by disabling PNG_CHOP_16_TO_8_SUPPORTED
2011-06-14 06:59:46 -05:00
Glenn Randers-Pehrson
7dffa41643
[devel] Use the old scaling method for background if png_set_chop_16() was
...
called.
2011-06-14 06:30:12 -05:00
John Bowler
550bab03fb
[devel] Removed the ACCURATE and LEGACY options (they are no longer useable)
...
Fixed some compiliation problems with scaling options.
2011-06-14 06:17:26 -05:00
Glenn Randers-Pehrson
413138a5ca
[devel] Added png_set_chop_16() API.
2011-06-13 22:07:37 -05:00
John Bowler
74945f2f04
[devel] Fix and clarify LEGACY 16-to-8 scaling.
2011-06-13 20:50:42 -05:00
Glenn Randers-Pehrson
141d9e3c20
[devel] Made it possible to undefine PNG_READ_16_TO_8_ACCURATE_SCALE_SUPPORTED
...
to get the same (inaccurate) output as libpng-1.5.2 and earlier.
2011-06-13 11:47:00 -05:00
John Bowler
b2bee3374c
[devel] Make the 16-to-8 scaling accurate. Dividing by 256 with no rounding is
...
wrong (high by one) 25% of the time. Dividing by 257 with rounding is
wrong in 128 out of 65536 cases. Getting the right answer all the time
without division is easy.
2011-06-10 23:24:58 -05:00
Glenn Randers-Pehrson
0a048923ae
[devel] Update CHANGES and ANNOUNCE
2011-05-18 21:44:37 -05:00
John Bowler
db0ed3e62d
[devel] png_set_background+png_expand_16 did not interwork correctly.
...
This problem is present in 1.5.2; if png_set_background is called with
need_expand false and the matching 16 bit color libpng erroneously just treats
it as an 8-bit color because of where png_do_expand_16 is in the transform
list. This simple fix reduces the supplied colour to 8 bits, so it gets
smashed, but this is better than the current behavior.
2011-05-18 18:51:24 -05:00
Glenn Randers-Pehrson
55fbff358a
[devel] Consistently use "n-bit", not "n bit" in comments.
2011-05-17 06:49:32 -05:00
John Bowler
1921e6db90
[devel] Reversed earlier change of transformation order; move
...
png_expand_16 back where it was before libpng-1.5.3beta07.
The change doesn't work because it requires 16 bit gamma tables when the code
only generates 8 bit ones. This fails silently; the libpng code just doesn't
do any gamma correction. Moving the tests back leaves the old, inaccurate, 8
bit gamma calculations, but these are clearly better than none!
2011-05-16 20:57:54 -05:00
Glenn Randers-Pehrson
0e128dfa2f
[devel] Update CHANGES and ANNOUNCE; fix some new typos in comments.
2011-05-15 19:09:24 -05:00
John Bowler
9994f25733
[devel] pngvalid: add memory overwrite and palette image checks
...
also minor cleanup in the libpng code itself (pngrtran.c and pngrutil.c) and some
extra checking there.
2011-05-15 18:52:39 -05:00
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
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
John Bowler
96cec0e1a3
[devel] Added expand_16 suppport to the high level interface.
2011-05-08 22:48:12 -05:00
Glenn Randers-Pehrson
e9eeb743cb
[devel] Reverted recent change of errors to warnings.
2011-05-08 19:39:17 -05:00
Glenn Randers-Pehrson
8ba34667a1
[devel] Changed some errors to warnings, added missing "png_ptr" arg in
...
some currently dead code in pngrtran.c that will be enabled in libpng-1.6
2011-05-08 06:02:18 -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
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
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
d2795b7909
[devel] Revised a comment about png_do_strip_channel().
2011-04-16 19:41:23 -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
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
9b872f4cf9
[devel] Clean up ALPHA flags and transformations
2011-02-12 09:00:16 -06:00
Glenn Randers-Pehrson
3d3aae1697
--amend [devel] Imported from libpng-1.5.1.tar
2011-02-02 23:00:03 -06:00
John Bowler
f21a0d0eee
[devel] Enhance pngvalid, correct an error in gray_to_rgb, correct doc error.
2011-01-23 23:55:19 -06:00
Glenn Randers-Pehrson
033155ca21
[devel] Imported from libpng-1.5.1beta01.tar
2011-01-08 15:50:00 -06:00
John Bowler
4e230b087e
[devel] Proper fix for the failure to handle palette mapped images correctly.
2011-01-08 14:49:25 -06:00
John Bowler
a96117f52c
[devel] Ensure that png_rgb_to_gray ignores palette mapped images.
2011-01-08 14:41:25 -06:00
Glenn Randers-Pehrson
f5ea1b7095
[devel] Imported from libpng-1.5.0.tar
2011-01-06 06:45:07 -06:00
Glenn Randers-Pehrson
64b863cd2a
[devel] Update copyright year and bump to version libpng-1.5.0rc07
2011-01-04 09:58:33 -06:00
Glenn Randers-Pehrson
f2e2833f28
[devel] Fixed bug in background transformation handling in pngrtran.c
...
(it was looking for the flag in png_ptr->transformations instead of in
png_ptr->flags).
2010-12-28 21:48:43 -06:00
Glenn Randers-Pehrson
b3edc73afa
[devel] Changes to remove gcc warnings (John Bowler)
...
Certain optional gcc warning flags resulted in warnings in libpng code.
With these changes only -Wconversion and -Wcast-qual cannot be turned on.
Changes are trivial rearrangements of code. -Wconversion is not possible
for pngrutil.c (because of the widespread use of += et al on variables
smaller than (int) or (unsigned int)) and -Wcast-qual is not possible
with pngwio.c and pngwutil.c because the 'write' callback and zlib
compression both fail to declare their input buffers with 'const'.
2010-11-21 14:06:41 -06:00
Glenn Randers-Pehrson
f0eda4e8d7
[devel] Imported from libpng-1.5.0beta51.tar
2010-10-15 15:08:42 -05:00
Glenn Randers-Pehrson
7e1fabe2f7
[devel] Imported from libpng-1.5.0beta50.tar
2010-10-14 07:35:45 -05:00
Glenn Randers-Pehrson
bc363eca41
[devel] Removed some unwanted spaces
2010-10-12 21:17:00 -05:00
Glenn Randers-Pehrson
1b49a71df4
[devel] Imported from libpng-1.5.0beta49.tar
2010-10-07 21:01:17 -05:00
Glenn Randers-Pehrson
83b4fc4af4
[devel] Imported from libpng-1.5.0beta48.tar
2010-10-04 23:06:09 -05:00
Glenn Randers-Pehrson
b0876110ca
[devel] Fixed problem with symbols creation in Makefile.am which was assuming
...
that CCP writes to standard output by default (Martin Banky).
2010-10-04 22:24:14 -05:00
Glenn Randers-Pehrson
bcb3aac3c5
[devel] Fixed a number of problems with 64-bit compilation reported by Visual
...
Studio 2010 (John Bowler).
2010-09-10 22:05:27 -05:00
Glenn Randers-Pehrson
39515c9ee0
[devel] Imported from libpng-1.5.0beta46.tar
2010-08-28 06:25:21 -05:00
Glenn Randers-Pehrson
4554a54a6c
[devel] Don't force 1, 2, and 4-bit depths to 8 when PNG_NO_16BIT is defined.
2010-08-27 10:48:45 -05:00
Glenn Randers-Pehrson
925d23b32a
[devel] Conditionally compile parts of pngrtran.c and pngtrans.c
...
depending on PNG_16BIT_SUPPORTED
2010-08-26 21:43:18 -05:00
Glenn Randers-Pehrson
a7119547e2
[devel] Imported from libpng-1.5.0beta45.tar
2010-08-26 07:10:48 -05:00
Glenn Randers-Pehrson
9b362b1e4f
[devel] Bump to version libpng-1.5.0beta45
2010-08-24 09:05:02 -05:00
Glenn Randers-Pehrson
67439c4701
[devel] Addressed various issues identified by GCC, mostly signed/unsigned
...
and shortening problems on assignment but also a few difficult to optimize
(for GCC) loops (John Bowler).
2010-08-19 07:01:09 -05:00
Glenn Randers-Pehrson
a313751258
[devel] Removed spurious tabs, shorten long lines (no source change)
...
Also added scripts/chkfmt to validate the format of all the files that can
reasonably be validated (it is suggested to run "make distclean" before
checking, because some machine generated files have long lines.)
Reformatted the CHANGES file to be more consistent throughout.
2010-08-18 20:25:36 -05:00
Glenn Randers-Pehrson
e600c51355
[devel]Made all API functions that have const arguments and constant string
...
literal pointers declare them (John Bowler).
Many APIs did not change their arguments but were not declared using
PNG_CONST. This change corrects this. In a few cases APIs that return
constant string literal pointers have also been changed to declare this.
Unlike the argument change this may require app changes; however the
results could never be written to (the app would crash on some platforms
where strings are not writable), so this seems advisable.
2010-08-18 07:25:46 -05:00
Glenn Randers-Pehrson
363f96e717
[devel] Imported from libpng-1.5.0beta41.tar
2010-08-11 09:04:31 -05:00
Glenn Randers-Pehrson
836fe66e24
[devel] Imported from libpng-1.5.0beta40.tar
2010-08-06 06:57:32 -05:00
Glenn Randers-Pehrson
2c700f970c
[devel] Imported from libpng-1.5.0beta39.tar
2010-08-02 08:02:00 -05:00
Glenn Randers-Pehrson
bdabd8f75b
[devel] Bump to version libpng-1.5.0beta38
2010-07-31 07:17:30 -05:00
Glenn Randers-Pehrson
6c47e84d2e
[devel] Bump to version libpng-1.5.0beta36
2010-07-29 19:10:27 -05:00
Glenn Randers-Pehrson
29034c5076
[devel] Expanded the new TAB characters.
2010-07-29 17:58:49 -05:00
Glenn Randers-Pehrson
31aee0d0c0
[devel]
...
Fixed point APIs are now supported throughout (no missing APIs).
Internal fixed point arithmetic support exists for all internal floating
point operations.
sCAL validates the floating point strings it is passed.
Safe, albeit rudimentary, Watcom support is provided by PNG_API_RULE==2
Two new APIs exist to get the number of passes without turning on the
PNG_INTERLACE transform and to get the number of rows in the current
pass.
A new test program, pngvalid.c, validates the gamma code.
Errors in the 16 bit gamma correction (overflows) have been corrected.
cHRM chunk testing is done consistently (previously the floating point
API bypassed it, because the test really didn't work on FP, now the test
is performed on the actual values to be stored in the PNG file so it
works in the FP case too.)
Most floating point APIs now simply call the fixed point APIs after
converting the values to the fixed point form used in the PNG file.
The standard headers no longer include zlib.h, which is currently only
required for pngstruct.h and can therefore be internal.
(Patches by John Bowler)
2010-07-29 17:39:14 -05:00
Glenn Randers-Pehrson
915bab5fc7
[devel] Bump to version libpng-1.5.0beta35
2010-07-24 08:25:31 -05:00
Glenn Randers-Pehrson
39a8bb71d3
[devel] Imported from libpng-1.5.0beta34.tar
2010-07-12 06:45:23 -05:00
Glenn Randers-Pehrson
8f9de7acbd
[devel] Bump back to version libpng-1.5.0beta34
2010-07-06 07:46:10 -05:00
Glenn Randers-Pehrson
289500ab8d
[devel] Imported from libpng-1.5.0beta33.tar
2010-06-28 20:21:22 -05:00
Glenn Randers-Pehrson
a272d8fe3d
[devel] Made FIXED and FLOATING options consistent in the APIs they enable
...
and disable. Corrected scripts/options.awk to handle both command line
options and options specified in the .dfa files.
2010-06-25 21:45:31 -05:00
Glenn Randers-Pehrson
4db344230d
[devel] Imported from libpng-1.5.0beta32.tar
2010-06-25 20:18:44 -05:00
Glenn Randers-Pehrson
821b7106b2
[devel] Imported from libpng-1.5.0beta31.tar
2010-06-25 20:06:43 -05:00
Glenn Randers-Pehrson
ef3831a1fe
[devel] Imported from libpng-1.5.0beta30.tar
2010-06-25 20:06:40 -05:00
Glenn Randers-Pehrson
5feb87cd0e
[devel] Imported from libpng-1.5.0beta29.tar
2010-06-25 20:06:38 -05:00
Glenn Randers-Pehrson
57d9617964
[devel] Imported from libpng-1.5.0beta28.tar
2010-06-25 20:06:35 -05:00
Glenn Randers-Pehrson
5b3d554e1e
[devel] Imported from libpng-1.5.0beta26.tar
2010-06-25 20:06:30 -05:00
Glenn Randers-Pehrson
53c07f5909
[devel] Imported from libpng-1.5.0beta25.tar
2010-06-25 20:06:28 -05:00
Glenn Randers-Pehrson
537c1a5747
[devel] Imported from libpng-1.5.0beta24.tar
2010-05-07 09:55:50 -05:00
Glenn Randers-Pehrson
f24daf23a5
[devel] Added more blank lines for readability.
2010-05-06 09:44:04 -05:00
Glenn Randers-Pehrson
aa3143cf6f
[devel] Imported from libpng-1.5.0beta23.tar
2010-04-29 10:56:05 -05:00
Glenn Randers-Pehrson
bb317fb0b2
[devel] Bump to libpng-1.5.0beta22
2010-04-28 07:44:23 -05:00
Glenn Randers-Pehrson
deec549d9f
[devel] Imported from libpng-1.5.0beta21.tar
2010-04-26 22:51:22 -05:00
Glenn Randers-Pehrson
9c5beb56e3
[devel] Bump back to version libpng-1.5.0beta21
2010-04-24 20:35:28 -05:00
Glenn Randers-Pehrson
b56e0d06f9
[devel] Imported from libpng-1.5.0beta19.tar
2010-04-24 12:17:49 -05:00
Glenn Randers-Pehrson
5623f781bc
[devel] Imported from libpng-1.5.0beta18.tar
2010-04-17 19:09:22 -05:00
Glenn Randers-Pehrson
3cd7cffd0c
[devel] Imported from libpng-1.5.0beta17.tar
2010-04-16 19:28:42 -05:00
Glenn Randers-Pehrson
6098807252
[devel] Document the fact that png_set_dither() is no longer supported.
2010-04-13 22:11:06 -05:00
Glenn Randers-Pehrson
c2fa196d14
[devel] Imported from libpng-1.5.0beta16.tar
2010-04-01 07:19:17 -05:00
Glenn Randers-Pehrson
b2eacd3e1f
[devel] Imported from libpng-1.5.0beta15.tar
2010-03-17 07:33:10 -05:00
Glenn Randers-Pehrson
4a215541e7
[devel] Imported from libpng-1.5.0beta14.tar
2010-03-14 09:42:07 -05:00
Glenn Randers-Pehrson
c6fecfbaa5
[devel] Imported from libpng-1.5.0beta13.tar
2010-03-10 09:12:03 -06:00
Glenn Randers-Pehrson
86f88ddd53
[devel] Imported from libpng-1.5.0beta12.tar
2010-03-08 21:31:46 -06:00
Glenn Randers-Pehrson
c3cd22b404
[devel] Moved "#include png.h" inside pngpriv.h and removed "#include png.h"
...
from the source files, along with "#define PNG_EXPOSE_INTERNAL_STRUCTURES"
and "#define PNG_NO_PEDANTIC_WARNINGS" (John Bowler).
Also created new pngdebug.h and moved debug definitions there.
2010-03-08 21:10:25 -06:00
Glenn Randers-Pehrson
aaf377c874
[devel] Bump to version libpng-1.5.0beta12
2010-03-08 11:21:39 -06:00
Glenn Randers-Pehrson
e4c706af54
[devel] Imported from libpng-1.5.0beta11.tar
2010-03-06 14:53:56 -06:00
Glenn Randers-Pehrson
3ea36758ef
[devel] Fix inconsistent whitespace and indentation.
2010-03-03 09:35:31 -06:00
Glenn Randers-Pehrson
65a223794a
[devel] Bump to version libpng-1.5.0beta11
2010-03-03 05:39:36 -06:00
Glenn Randers-Pehrson
6a9e480512
[devel] Imported from libpng-1.5.0beta07.tar
2010-02-19 09:59:25 -06:00
Glenn Randers-Pehrson
7a5be53631
[devel] Imported from libpng-1.5.0beta06.tar
2010-02-14 07:18:23 -06:00
Glenn Randers-Pehrson
6e283234c9
[devel] Imported from libpng-1.5.0beta05.tar
2010-02-12 21:28:31 -06:00
Glenn Randers-Pehrson
f97953181a
[devel] Changed PNG_INTERNAL to PNG_EXPOSE_INTERNAL_STRUCTURES
...
and updated the "last change" comments to 1.5.0
2010-02-09 01:16:48 -06:00
Glenn Randers-Pehrson
b9a78bedee
[devel] Imported from libpng-1.5.0beta04.tar
2010-02-08 23:34:32 -06:00
Glenn Randers-Pehrson
f1eb918dc8
[devel] Imported from libpng-1.5.0beta03.tar
2010-02-08 15:42:16 -06:00
Glenn Randers-Pehrson
e3f3c4ea0b
[devel] Imported from libpng-1.5.0beta01.tar
2010-02-07 18:10:43 -06:00
Glenn Randers-Pehrson
67a83db98d
[devel] Imported from libpng-1.4.0rc08.tar
2010-01-01 18:32:13 -06:00
Glenn Randers-Pehrson
e69b55d9ac
[devel] Update copyright year to 2010
2010-01-01 10:29:06 -06:00
Glenn Randers-Pehrson
f81b50bf9d
[devel] Imported from libpng-1.4.0rc06.tar
2009-12-29 16:51:34 -06:00
Glenn Randers-Pehrson
dbcfb7151f
[devel] Imported from libpng-1.4.0rc04.tar
2009-12-25 14:27:23 -06:00
Glenn Randers-Pehrson
5265c3889c
[devel] Bump to version 1.4.0rc03
2009-12-22 09:10:46 -06:00
Glenn Randers-Pehrson
62ca98ef5e
[devel] Imported from libpng-1.4.0rc02.tar
2009-12-20 15:16:15 -06:00
Glenn Randers-Pehrson
ffa8924330
[devel] Added "bit_depth" parameter to the private png_build_gamma_table()
...
function. Pass bit_depth=8 to png_build_gamma_table() when bit_depth is 16
but the PNG_16_TO_8 transform has been set, to avoid unnecessary build of
16-bit tables.
2009-12-13 08:14:40 -06:00
Glenn Randers-Pehrson
7a59e1eae8
[devel] Relocated png_do_chop() to its original position in pngrtran.c
...
The change in version 1.2.41beta08 caused transparency to be handled wrong
in some 16-bit datastreams (Yusaku Sugai).
2009-12-11 07:57:36 -06:00
Glenn Randers-Pehrson
03f9b02953
[devel] Removed "-DPNG_CONFIGURE_LIBPNG" from the makefiles and projects.
...
and added "#define PNG_NO_PEDANTIC_WARNINGS" in the libpng source files.
2009-12-04 08:40:41 -06:00
Glenn Randers-Pehrson
5876b850b2
[devel] Removed premultiplied alpha feature.
...
It will be replaced in the future with a function that accounts for gamma.
2009-11-27 00:24:42 -06:00
Glenn Randers-Pehrson
5a2015e146
[devel] Bump to version 1.4.0beta106
2009-11-26 11:46:24 -06:00
Glenn Randers-Pehrson
d23f2b2845
[devel] Imported from libpng-1.4.0beta105.tar
2009-11-24 22:14:21 -06:00
Glenn Randers-Pehrson
768429bbc1
[devel] Use fast integer PNG_DIVIDE_BY_255() or PNG_DIVIDE_BY_65535()
...
to accomplish alpha premultiplication when PNG_READ_COMPOSITE_NODIV_SUPPORTED
is defined. Changed "/255" to "/255.0" in background calculations to make it
clear that the 255 is used as a double (and to prevent anyone from being
tempted to use PNG_DIVIDE_BY_255() there).
2009-11-24 07:26:06 -06:00
Glenn Randers-Pehrson
bbd20f0a74
[devel] Imported from libpng-1.4.0beta104.tar
2009-11-21 21:51:28 -06:00
Glenn Randers-Pehrson
931400bd04
[devel] Imported from libpng-1.4.0beta103.tar
2009-11-20 22:58:48 -06:00
Glenn Randers-Pehrson
311c8476f8
[devel] Bump to version 1.4.0beta103
2009-11-20 09:46:59 -06:00
Glenn Randers-Pehrson
cd7d63a805
[devel] Imported from libpng-1.4.0beta102.tar
2009-11-18 10:31:31 -06:00
Glenn Randers-Pehrson
ac18f8a706
[devel] Bump to version 1.4.0beta102
2009-11-14 21:52:06 -05:00
Glenn Randers-Pehrson
b612eee957
[devel] Imported from libpng-1.4.0beta99.tar
2009-11-14 05:45:49 -06:00
Glenn Randers-Pehrson
fa557347ba
[devel] Imported from libpng-1.4.0beta97.tar
2009-11-12 20:04:58 -06:00