image_compressor_pack 0.1.3-x86-linux → 1.0.0.1-x86-linux
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/.paths.yml +8 -8
- data/lib/image_compressor_pack/dynamically_linked_recipes.yml +24 -21
- data/lib/image_compressor_pack/statically_linked_recipes.yml +25 -22
- data/lib/image_compressor_pack/version.rb +1 -1
- data/ports/i686-linux-gnu/advancecomp/1.22/bin/advdef +0 -0
- data/ports/i686-linux-gnu/advancecomp/1.22/bin/advmng +0 -0
- data/ports/i686-linux-gnu/advancecomp/1.22/bin/advpng +0 -0
- data/ports/i686-linux-gnu/advancecomp/1.22/bin/advzip +0 -0
- data/ports/i686-linux-gnu/advancecomp/{1.2 → 1.22}/share/man/man1/advdef.1 +1 -1
- data/ports/i686-linux-gnu/advancecomp/{1.2 → 1.22}/share/man/man1/advmng.1 +1 -1
- data/ports/i686-linux-gnu/advancecomp/{1.2 → 1.22}/share/man/man1/advpng.1 +1 -1
- data/ports/i686-linux-gnu/advancecomp/{1.2 → 1.22}/share/man/man1/advzip.1 +6 -6
- data/ports/i686-linux-gnu/jhead/3.0/bin/jhead +0 -0
- data/ports/i686-linux-gnu/jpegoptim/{1.4.3 → 1.4.4}/bin/jpegoptim +0 -0
- data/ports/i686-linux-gnu/jpegoptim/{1.4.3 → 1.4.4}/share/man/man1/jpegoptim.1 +2 -2
- data/ports/i686-linux-gnu/lcms2/2.8/bin/linkicc +0 -0
- data/ports/i686-linux-gnu/lcms2/2.8/bin/psicc +0 -0
- data/ports/i686-linux-gnu/lcms2/2.8/bin/transicc +0 -0
- data/ports/i686-linux-gnu/lcms2/{2.7 → 2.8}/include/lcms2.h +58 -44
- data/ports/i686-linux-gnu/lcms2/{2.7 → 2.8}/include/lcms2_plugin.h +35 -7
- data/ports/i686-linux-gnu/lcms2/2.8/lib/liblcms2.a +0 -0
- data/ports/i686-linux-gnu/lcms2/{2.7 → 2.8}/lib/liblcms2.la +2 -2
- data/ports/i686-linux-gnu/lcms2/{2.7 → 2.8}/lib/pkgconfig/lcms2.pc +2 -2
- data/ports/i686-linux-gnu/libpng/{1.6.21 → 1.6.26}/include/libpng16/png.h +259 -123
- data/ports/i686-linux-gnu/libpng/{1.6.21 → 1.6.26}/include/libpng16/pngconf.h +25 -25
- data/ports/i686-linux-gnu/libpng/{1.6.21 → 1.6.26}/include/libpng16/pnglibconf.h +2 -1
- data/ports/i686-linux-gnu/libpng/1.6.26/lib/libpng16.a +0 -0
- data/ports/i686-linux-gnu/libpng/{1.6.21 → 1.6.26}/lib/libpng16.la +3 -3
- data/ports/i686-linux-gnu/libpng/{1.6.21 → 1.6.26}/lib/pkgconfig/libpng16.pc +2 -2
- data/ports/i686-linux-gnu/libpng/{1.6.21 → 1.6.26}/share/man/man3/libpng.3 +82 -27
- data/ports/i686-linux-gnu/libpng/{1.6.21 → 1.6.26}/share/man/man3/libpngpf.3 +2 -2
- data/ports/i686-linux-gnu/libpng/{1.6.21 → 1.6.26}/share/man/man5/png.5 +2 -2
- data/ports/i686-linux-gnu/mozjpeg/3.1/bin/cjpeg +0 -0
- data/ports/i686-linux-gnu/mozjpeg/3.1/bin/djpeg +0 -0
- data/ports/i686-linux-gnu/mozjpeg/3.1/bin/jpegtran +0 -0
- data/ports/i686-linux-gnu/mozjpeg/3.1/lib/libjpeg.a +0 -0
- data/ports/i686-linux-gnu/mozjpeg/3.1/lib/libturbojpeg.a +0 -0
- data/ports/i686-linux-gnu/nasm/2.12.02/bin/nasm +0 -0
- data/ports/i686-linux-gnu/nasm/2.12.02/bin/ndisasm +0 -0
- data/ports/i686-linux-gnu/nasm/{2.12.01 → 2.12.02}/share/man/man1/nasm.1 +2 -2
- data/ports/i686-linux-gnu/nasm/{2.12.01 → 2.12.02}/share/man/man1/ndisasm.1 +2 -2
- data/ports/i686-linux-gnu/optipng/0.7.6/bin/optipng +0 -0
- data/ports/i686-linux-gnu/pngcrush/1.8.10/bin/pngcrush +0 -0
- data/ports/i686-linux-gnu/pngquant/2.8.0/bin/pngquant +0 -0
- data/ports/i686-linux-gnu/zlib/1.2.8/lib/libz.a +0 -0
- data.tar.gz.sig +0 -0
- metadata +50 -63
- metadata.gz.sig +0 -0
- data/ports/archives/2.1.1.tar.gz +0 -0
- data/ports/archives/2.7.1.tar.gz +0 -0
- data/ports/archives/advancecomp-1.20.tar.gz +0 -0
- data/ports/archives/gifsicle-1.88.tar.gz +0 -0
- data/ports/archives/jhead-3.00.tar.gz +0 -0
- data/ports/archives/jpegoptim-1.4.3.tar.gz +0 -0
- data/ports/archives/lcms2-2.7.tar.gz +0 -0
- data/ports/archives/libpng-1.6.21.tar.gz +0 -0
- data/ports/archives/mozjpeg-3.1-release-source.tar.gz +0 -0
- data/ports/archives/nasm-2.12.01.tar.gz +0 -0
- data/ports/archives/optipng-0.7.6.tar.gz +0 -0
- data/ports/archives/pngcrush-1.8.1.tar.gz +0 -0
- data/ports/archives/zlib-1.2.8.tar.gz +0 -0
- data/ports/i686-linux-gnu/advancecomp/1.2/bin/advdef +0 -0
- data/ports/i686-linux-gnu/advancecomp/1.2/bin/advmng +0 -0
- data/ports/i686-linux-gnu/advancecomp/1.2/bin/advpng +0 -0
- data/ports/i686-linux-gnu/advancecomp/1.2/bin/advzip +0 -0
- data/ports/i686-linux-gnu/lcms2/2.7/bin/linkicc +0 -0
- data/ports/i686-linux-gnu/lcms2/2.7/bin/psicc +0 -0
- data/ports/i686-linux-gnu/lcms2/2.7/bin/transicc +0 -0
- data/ports/i686-linux-gnu/lcms2/2.7/lib/liblcms2.a +0 -0
- data/ports/i686-linux-gnu/libpng/1.6.21/lib/libpng16.a +0 -0
- data/ports/i686-linux-gnu/nasm/2.12.01/bin/nasm +0 -0
- data/ports/i686-linux-gnu/nasm/2.12.01/bin/ndisasm +0 -0
- data/ports/i686-linux-gnu/pngcrush/1.8.1/bin/pngcrush +0 -0
- data/ports/i686-linux-gnu/pngquant/2.7.1/bin/pngquant +0 -0
- /data/ports/{advancecomp-1.2-i686-linux-gnu.installed → advancecomp-1.22-i686-linux-gnu.installed} +0 -0
- /data/ports/i686-linux-gnu/lcms2/{2.7 → 2.8}/share/man/man1/jpgicc.1 +0 -0
- /data/ports/i686-linux-gnu/lcms2/{2.7 → 2.8}/share/man/man1/tificc.1 +0 -0
- /data/ports/i686-linux-gnu/libpng/{1.6.21 → 1.6.26}/include/png.h +0 -0
- /data/ports/i686-linux-gnu/libpng/{1.6.21 → 1.6.26}/include/pngconf.h +0 -0
- /data/ports/i686-linux-gnu/libpng/{1.6.21 → 1.6.26}/include/pnglibconf.h +0 -0
- /data/ports/i686-linux-gnu/libpng/{1.6.21 → 1.6.26}/lib/libpng.a +0 -0
- /data/ports/i686-linux-gnu/libpng/{1.6.21 → 1.6.26}/lib/libpng.la +0 -0
- /data/ports/i686-linux-gnu/pngquant/{2.7.1 → 2.8.0}/share/man/man1/pngquant.1 +0 -0
- /data/ports/{jpegoptim-1.4.3-i686-linux-gnu.installed → jpegoptim-1.4.4-i686-linux-gnu.installed} +0 -0
- /data/ports/{lcms2-2.7-i686-linux-gnu.installed → lcms2-2.8-i686-linux-gnu.installed} +0 -0
- /data/ports/{libpng-1.6.21-i686-linux-gnu.installed → libpng-1.6.26-i686-linux-gnu.installed} +0 -0
- /data/ports/{nasm-2.12.01-i686-linux-gnu.installed → nasm-2.12.02-i686-linux-gnu.installed} +0 -0
- /data/ports/{pngcrush-1.8.1-i686-linux-gnu.installed → pngcrush-1.8.10-i686-linux-gnu.installed} +0 -0
- /data/ports/{pngquant-2.7.1-i686-linux-gnu.installed → pngquant-2.8.0-i686-linux-gnu.installed} +0 -0
@@ -1,9 +1,9 @@
|
|
1
1
|
|
2
2
|
/* pngconf.h - machine configurable file for libpng
|
3
3
|
*
|
4
|
-
* libpng version 1.6.
|
4
|
+
* libpng version 1.6.26, October 20, 2016
|
5
5
|
*
|
6
|
-
* Copyright (c) 1998-2002,2004,2006-
|
6
|
+
* Copyright (c) 1998-2002,2004,2006-2016 Glenn Randers-Pehrson
|
7
7
|
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
|
8
8
|
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
|
9
9
|
*
|
@@ -188,27 +188,27 @@
|
|
188
188
|
* compatible with GCC or Visual C because of different calling conventions.
|
189
189
|
*/
|
190
190
|
# if PNG_API_RULE == 2
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
191
|
+
/* If this line results in an error, either because __watcall is not
|
192
|
+
* understood or because of a redefine just below you cannot use *this*
|
193
|
+
* build of the library with the compiler you are using. *This* build was
|
194
|
+
* build using Watcom and applications must also be built using Watcom!
|
195
|
+
*/
|
196
196
|
# define PNGCAPI __watcall
|
197
197
|
# endif
|
198
198
|
|
199
199
|
# if defined(__GNUC__) || (defined(_MSC_VER) && (_MSC_VER >= 800))
|
200
200
|
# define PNGCAPI __cdecl
|
201
201
|
# if PNG_API_RULE == 1
|
202
|
-
|
203
|
-
|
204
|
-
|
202
|
+
/* If this line results in an error __stdcall is not understood and
|
203
|
+
* PNG_API_RULE should not have been set to '1'.
|
204
|
+
*/
|
205
205
|
# define PNGAPI __stdcall
|
206
206
|
# endif
|
207
207
|
# else
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
208
|
+
/* An older compiler, or one not detected (erroneously) above,
|
209
|
+
* if necessary override on the command line to get the correct
|
210
|
+
* variants for the compiler.
|
211
|
+
*/
|
212
212
|
# ifndef PNGCAPI
|
213
213
|
# define PNGCAPI _cdecl
|
214
214
|
# endif
|
@@ -225,10 +225,10 @@
|
|
225
225
|
|
226
226
|
# if (defined(_MSC_VER) && _MSC_VER < 800) ||\
|
227
227
|
(defined(__BORLANDC__) && __BORLANDC__ < 0x500)
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
228
|
+
/* older Borland and MSC
|
229
|
+
* compilers used '__export' and required this to be after
|
230
|
+
* the type.
|
231
|
+
*/
|
232
232
|
# ifndef PNG_EXPORT_TYPE
|
233
233
|
# define PNG_EXPORT_TYPE(type) type PNG_IMPEXP
|
234
234
|
# endif
|
@@ -244,9 +244,9 @@
|
|
244
244
|
# if (defined(__IBMC__) || defined(__IBMCPP__)) && defined(__OS2__)
|
245
245
|
# define PNGAPI _System
|
246
246
|
# else /* !Windows/x86 && !OS/2 */
|
247
|
-
|
248
|
-
|
249
|
-
|
247
|
+
/* Use the defaults, or define PNG*API on the command line (but
|
248
|
+
* this will have to be done for every compile!)
|
249
|
+
*/
|
250
250
|
# endif /* other system, !OS/2 */
|
251
251
|
#endif /* !Windows/x86 */
|
252
252
|
|
@@ -267,7 +267,7 @@
|
|
267
267
|
*/
|
268
268
|
#ifndef PNG_IMPEXP
|
269
269
|
# if defined(PNG_USE_DLL) && defined(PNG_DLL_IMPORT)
|
270
|
-
|
270
|
+
/* This forces use of a DLL, disallowing static linking */
|
271
271
|
# define PNG_IMPEXP PNG_DLL_IMPORT
|
272
272
|
# endif
|
273
273
|
|
@@ -340,7 +340,7 @@
|
|
340
340
|
* less efficient code.
|
341
341
|
*/
|
342
342
|
# if defined(__clang__) && defined(__has_attribute)
|
343
|
-
|
343
|
+
/* Clang defines both __clang__ and __GNUC__. Check __clang__ first. */
|
344
344
|
# if !defined(PNG_USE_RESULT) && __has_attribute(__warn_unused_result__)
|
345
345
|
# define PNG_USE_RESULT __attribute__((__warn_unused_result__))
|
346
346
|
# endif
|
@@ -507,9 +507,9 @@
|
|
507
507
|
# error "libpng requires a signed 32-bit (or more) type"
|
508
508
|
#endif
|
509
509
|
|
510
|
-
#if UINT_MAX >
|
510
|
+
#if UINT_MAX > 4294967294U
|
511
511
|
typedef unsigned int png_uint_32;
|
512
|
-
#elif ULONG_MAX >
|
512
|
+
#elif ULONG_MAX > 4294967294U
|
513
513
|
typedef unsigned long int png_uint_32;
|
514
514
|
#else
|
515
515
|
# error "libpng requires an unsigned 32-bit (or more) type"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/* pnglibconf.h - library build configuration */
|
2
2
|
|
3
|
-
/* libpng version 1.6.
|
3
|
+
/* libpng version 1.6.26, October 20, 2016 */
|
4
4
|
|
5
5
|
/* Copyright (c) 1998-2016 Glenn Randers-Pehrson */
|
6
6
|
|
@@ -107,6 +107,7 @@
|
|
107
107
|
#define PNG_SIMPLIFIED_READ_SUPPORTED
|
108
108
|
#define PNG_SIMPLIFIED_WRITE_AFIRST_SUPPORTED
|
109
109
|
#define PNG_SIMPLIFIED_WRITE_BGR_SUPPORTED
|
110
|
+
#define PNG_SIMPLIFIED_WRITE_STDIO_SUPPORTED
|
110
111
|
#define PNG_SIMPLIFIED_WRITE_SUPPORTED
|
111
112
|
#define PNG_STDIO_SUPPORTED
|
112
113
|
#define PNG_STORE_UNKNOWN_CHUNKS_SUPPORTED
|
Binary file
|
@@ -23,8 +23,8 @@ dependency_libs=' -lz -lm'
|
|
23
23
|
weak_library_names=''
|
24
24
|
|
25
25
|
# Version information for libpng16.
|
26
|
-
current=
|
27
|
-
age=
|
26
|
+
current=42
|
27
|
+
age=26
|
28
28
|
revision=0
|
29
29
|
|
30
30
|
# Is this an already installed library?
|
@@ -38,4 +38,4 @@ dlopen=''
|
|
38
38
|
dlpreopen=''
|
39
39
|
|
40
40
|
# Directory that this library needs to be installed in:
|
41
|
-
libdir='/home/vagrant/image_compressor_pack/ports/i686-linux-gnu/libpng/1.6.
|
41
|
+
libdir='/home/vagrant/image_compressor_pack/ports/i686-linux-gnu/libpng/1.6.26/lib'
|
@@ -1,11 +1,11 @@
|
|
1
|
-
prefix=/home/vagrant/image_compressor_pack/ports/i686-linux-gnu/libpng/1.6.
|
1
|
+
prefix=/home/vagrant/image_compressor_pack/ports/i686-linux-gnu/libpng/1.6.26
|
2
2
|
exec_prefix=${prefix}
|
3
3
|
libdir=${exec_prefix}/lib
|
4
4
|
includedir=${prefix}/include/libpng16
|
5
5
|
|
6
6
|
Name: libpng
|
7
7
|
Description: Loads and saves PNG files
|
8
|
-
Version: 1.6.
|
8
|
+
Version: 1.6.26
|
9
9
|
Libs: -L${libdir} -lpng16
|
10
10
|
Libs.private: -lm -lz -lm
|
11
11
|
Cflags: -I${includedir}
|
@@ -1,6 +1,6 @@
|
|
1
|
-
.TH LIBPNG 3 "
|
1
|
+
.TH LIBPNG 3 "October 20, 2016"
|
2
2
|
.SH NAME
|
3
|
-
libpng \- Portable Network Graphics (PNG) Reference Library 1.6.
|
3
|
+
libpng \- Portable Network Graphics (PNG) Reference Library 1.6.26
|
4
4
|
.SH SYNOPSIS
|
5
5
|
\fB
|
6
6
|
#include <png.h>\fP
|
@@ -229,6 +229,8 @@ libpng \- Portable Network Graphics (PNG) Reference Library 1.6.21
|
|
229
229
|
|
230
230
|
\fBint png_image_write_to_file (png_imagep \fP\fIimage\fP\fB, const char \fP\fI*file\fP\fB, int \fP\fIconvert_to_8bit\fP\fB, const void \fP\fI*buffer\fP\fB, png_int_32 \fP\fIrow_stride\fP\fB, void \fI*colormap\fP\fB);\fP
|
231
231
|
|
232
|
+
\fBint png_image_write_to_memory (png_imagep \fP\fIimage\fP\fB, void \fP\fI*memory\fP\fB, png_alloc_size_t * PNG_RESTRICT \fP\fImemory_bytes\fP\fB, int \fP\fIconvert_to_8_bit\fP\fB, const void \fP\fI*buffer\fP\fB, png_int_32 \fP\fIrow_stride\fP\fB, const void \fI*colormap)\fP\fB);\fP
|
233
|
+
|
232
234
|
\fBint png_image_write_to_stdio (png_imagep \fP\fIimage\fP\fB, FILE \fP\fI*file\fP\fB, int \fP\fIconvert_to_8_bit\fP\fB, const void \fP\fI*buffer\fP\fB, png_int_32 \fP\fIrow_stride\fP\fB, void \fI*colormap)\fP\fB);\fP
|
233
235
|
|
234
236
|
\fBvoid png_info_init_3 (png_infopp \fP\fIinfo_ptr\fP\fB, png_size_t \fIpng_info_struct_size\fP\fB);\fP
|
@@ -508,7 +510,7 @@ Following is a copy of the libpng-manual.txt file that accompanies libpng.
|
|
508
510
|
.SH LIBPNG.TXT
|
509
511
|
libpng-manual.txt - A description on how to use and modify libpng
|
510
512
|
|
511
|
-
libpng version 1.6.
|
513
|
+
libpng version 1.6.26 - October 20, 2016
|
512
514
|
Updated and distributed by Glenn Randers-Pehrson
|
513
515
|
<glennrp at users.sourceforge.net>
|
514
516
|
Copyright (c) 1998-2016 Glenn Randers-Pehrson
|
@@ -519,7 +521,7 @@ libpng-manual.txt - A description on how to use and modify libpng
|
|
519
521
|
|
520
522
|
Based on:
|
521
523
|
|
522
|
-
libpng versions 0.97, January 1998, through 1.6.
|
524
|
+
libpng versions 0.97, January 1998, through 1.6.26 - October 20, 2016
|
523
525
|
Updated and distributed by Glenn Randers-Pehrson
|
524
526
|
Copyright (c) 1998-2016 Glenn Randers-Pehrson
|
525
527
|
|
@@ -975,8 +977,9 @@ the default, use
|
|
975
977
|
|
976
978
|
The values for png_set_crc_action() say how libpng is to handle CRC errors in
|
977
979
|
ancillary and critical chunks, and whether to use the data contained
|
978
|
-
therein.
|
979
|
-
chunk.
|
980
|
+
therein. Starting with libpng-1.6.26, this also governs how an ADLER32 error
|
981
|
+
is handled while reading the IDAT chunk. Note that it is impossible to
|
982
|
+
"discard" data in a critical chunk.
|
980
983
|
|
981
984
|
Choices for (int) crit_action are
|
982
985
|
PNG_CRC_DEFAULT 0 error/quit
|
@@ -993,6 +996,9 @@ Choices for (int) ancil_action are
|
|
993
996
|
PNG_CRC_QUIET_USE 4 quiet/use data
|
994
997
|
PNG_CRC_NO_CHANGE 5 use the current value
|
995
998
|
|
999
|
+
When the setting for crit_action is PNG_CRC_QUIET_USE, the CRC and ADLER32
|
1000
|
+
checksums are not only ignored, but they are not evaluated.
|
1001
|
+
|
996
1002
|
.SS Setting up callback code
|
997
1003
|
|
998
1004
|
You can set up a callback function to handle any unknown chunks in the
|
@@ -1067,7 +1073,7 @@ non-interlaced case the row that was just handled is simply one less than the
|
|
1067
1073
|
passed in row number, and pass will always be 0. For the interlaced case the
|
1068
1074
|
same applies unless the row value is 0, in which case the row just handled was
|
1069
1075
|
the last one from one of the preceding passes. Because interlacing may skip a
|
1070
|
-
pass you cannot be sure that the preceding pass is just 'pass\-1'
|
1076
|
+
pass you cannot be sure that the preceding pass is just 'pass\-1'; if you really
|
1071
1077
|
need to know what the last pass is record (row,pass) from the callback and use
|
1072
1078
|
the last recorded value each time.
|
1073
1079
|
|
@@ -2738,7 +2744,8 @@ is exactly the same. If you are planning on displaying the image
|
|
2738
2744
|
after each pass, the "rectangle" effect is generally considered the
|
2739
2745
|
better looking one.
|
2740
2746
|
|
2741
|
-
If you only want the "sparkle" effect, just call
|
2747
|
+
If you only want the "sparkle" effect, just call png_read_row() or
|
2748
|
+
png_read_rows() as
|
2742
2749
|
normal, with the third parameter NULL. Make sure you make pass over
|
2743
2750
|
the image number_of_passes times, and you don't change the data in the
|
2744
2751
|
rows between calls. You can change the locations of the data, just
|
@@ -2747,6 +2754,8 @@ pass, and assumes the data from previous passes is still valid.
|
|
2747
2754
|
|
2748
2755
|
png_read_rows(png_ptr, row_pointers, NULL,
|
2749
2756
|
number_of_rows);
|
2757
|
+
or
|
2758
|
+
png_read_row(png_ptr, row_pointers, NULL);
|
2750
2759
|
|
2751
2760
|
If you only want the first effect (the rectangles), do the same as
|
2752
2761
|
before except pass the row buffer in the third parameter, and leave
|
@@ -2754,6 +2763,8 @@ the second parameter NULL.
|
|
2754
2763
|
|
2755
2764
|
png_read_rows(png_ptr, NULL, row_pointers,
|
2756
2765
|
number_of_rows);
|
2766
|
+
or
|
2767
|
+
png_read_row(png_ptr, NULL, row_pointers);
|
2757
2768
|
|
2758
2769
|
If you don't want libpng to handle the interlacing details, just call
|
2759
2770
|
png_read_rows() PNG_INTERLACE_ADAM7_PASSES times to read in all the images.
|
@@ -3350,7 +3361,7 @@ filter types.
|
|
3350
3361
|
PNG_FILTER_UP | PNG_FILTER_VALUE_UP |
|
3351
3362
|
PNG_FILTER_AVG | PNG_FILTER_VALUE_AVG |
|
3352
3363
|
PNG_FILTER_PAETH | PNG_FILTER_VALUE_PAETH|
|
3353
|
-
PNG_ALL_FILTERS);
|
3364
|
+
PNG_ALL_FILTERS | PNG_FAST_FILTERS);
|
3354
3365
|
|
3355
3366
|
If an application wants to start and stop using particular filters during
|
3356
3367
|
compression, it should start out with all of the filters (to ensure that
|
@@ -4611,6 +4622,13 @@ be written:
|
|
4611
4622
|
|
4612
4623
|
Write the image to the named file.
|
4613
4624
|
|
4625
|
+
int png_image_write_to_memory (png_imagep image, void *memory,
|
4626
|
+
png_alloc_size_t * PNG_RESTRICT memory_bytes,
|
4627
|
+
int convert_to_8_bit, const void *buffer, ptrdiff_t row_stride,
|
4628
|
+
const void *colormap));
|
4629
|
+
|
4630
|
+
Write the image to memory.
|
4631
|
+
|
4614
4632
|
int png_image_write_to_stdio(png_imagep image, FILE *file,
|
4615
4633
|
int convert_to_8_bit, const void *buffer,
|
4616
4634
|
png_int_32 row_stride, const void *colormap)
|
@@ -4888,8 +4906,9 @@ for any images with bit depths less than 8 bits/pixel.
|
|
4888
4906
|
The 'method' parameter sets the main filtering method, which is
|
4889
4907
|
currently only '0' in the PNG 1.2 specification. The 'filters'
|
4890
4908
|
parameter sets which filter(s), if any, should be used for each
|
4891
|
-
scanline. Possible values are PNG_ALL_FILTERS
|
4892
|
-
to turn filtering on and off,
|
4909
|
+
scanline. Possible values are PNG_ALL_FILTERS, PNG_NO_FILTERS,
|
4910
|
+
or PNG_FAST_FILTERS to turn filtering on and off, or to turn on
|
4911
|
+
just the fast-decoding subset of filters, respectively.
|
4893
4912
|
|
4894
4913
|
Individual filter types are PNG_FILTER_NONE, PNG_FILTER_SUB,
|
4895
4914
|
PNG_FILTER_UP, PNG_FILTER_AVG, PNG_FILTER_PAETH, which can be bitwise
|
@@ -4903,12 +4922,19 @@ means the first row must always be adaptively filtered, because libpng
|
|
4903
4922
|
currently does not allocate the filter buffers until png_write_row()
|
4904
4923
|
is called for the first time.)
|
4905
4924
|
|
4906
|
-
filters =
|
4925
|
+
filters = PNG_NO_FILTERS;
|
4926
|
+
filters = PNG_ALL_FILTERS;
|
4927
|
+
filters = PNG_FAST_FILTERS;
|
4928
|
+
|
4929
|
+
or
|
4930
|
+
|
4931
|
+
filters = PNG_FILTER_NONE | PNG_FILTER_SUB |
|
4907
4932
|
PNG_FILTER_UP | PNG_FILTER_AVG |
|
4908
|
-
PNG_FILTER_PAETH
|
4933
|
+
PNG_FILTER_PAETH;
|
4909
4934
|
|
4910
4935
|
png_set_filter(png_ptr, PNG_FILTER_TYPE_BASE,
|
4911
4936
|
filters);
|
4937
|
+
|
4912
4938
|
The second parameter can also be
|
4913
4939
|
PNG_INTRAPIXEL_DIFFERENCING if you are
|
4914
4940
|
writing a PNG to be embedded in a MNG
|
@@ -5283,7 +5309,8 @@ There are no substantial API changes between the non-deprecated parts of
|
|
5283
5309
|
the 1.4.5 API and the 1.5.0 API; however, the ability to directly access
|
5284
5310
|
members of the main libpng control structures, png_struct and png_info,
|
5285
5311
|
deprecated in earlier versions of libpng, has been completely removed from
|
5286
|
-
libpng 1.5.
|
5312
|
+
libpng 1.5, and new private "pngstruct.h", "pnginfo.h", and "pngdebug.h"
|
5313
|
+
header files were created.
|
5287
5314
|
|
5288
5315
|
We no longer include zlib.h in png.h. The include statement has been moved
|
5289
5316
|
to pngstruct.h, where it is not accessible by applications. Applications that
|
@@ -5523,6 +5550,7 @@ includes the following:
|
|
5523
5550
|
png_image_free()
|
5524
5551
|
write functions
|
5525
5552
|
png_image_write_to_file()
|
5553
|
+
png_image_write_to_memory()
|
5526
5554
|
png_image_write_to_stdio()
|
5527
5555
|
|
5528
5556
|
Starting with libpng-1.6.0, you can configure libpng to prefix all exported
|
@@ -5821,8 +5849,9 @@ with an even number of lower-case hex digits, and to make them unsigned
|
|
5821
5849
|
We prefer to use underscores rather than camelCase in names, except
|
5822
5850
|
for a few type names that we inherit from zlib.h.
|
5823
5851
|
|
5824
|
-
We prefer "if (something != 0)" and "if (something == 0)"
|
5825
|
-
|
5852
|
+
We prefer "if (something != 0)" and "if (something == 0)" over
|
5853
|
+
"if (something)" and if "(!something)", respectively, and for pointers
|
5854
|
+
we prefer "if (some_pointer != NULL)" or "if (some_pointer == NULL)".
|
5826
5855
|
|
5827
5856
|
We do not use the TAB character for indentation in the C sources.
|
5828
5857
|
|
@@ -5836,7 +5865,7 @@ Since the PNG Development group is an ad-hoc body, we can't make
|
|
5836
5865
|
an official declaration.
|
5837
5866
|
|
5838
5867
|
This is your unofficial assurance that libpng from version 0.71 and
|
5839
|
-
upward through 1.6.
|
5868
|
+
upward through 1.6.26 are Y2K compliant. It is my belief that earlier
|
5840
5869
|
versions were also Y2K compliant.
|
5841
5870
|
|
5842
5871
|
Libpng only has two year fields. One is a 2-byte unsigned integer
|
@@ -5934,11 +5963,11 @@ the first widely used release:
|
|
5934
5963
|
...
|
5935
5964
|
1.0.19 10 10019 10.so.0.19[.0]
|
5936
5965
|
...
|
5937
|
-
1.2.
|
5966
|
+
1.2.56 13 10256 12.so.0.56[.0]
|
5938
5967
|
...
|
5939
|
-
1.5.
|
5968
|
+
1.5.27 15 10527 15.so.15.27[.0]
|
5940
5969
|
...
|
5941
|
-
1.6.
|
5970
|
+
1.6.26 16 10626 16.so.16.26[.0]
|
5942
5971
|
|
5943
5972
|
Henceforth the source version will match the shared-library minor
|
5944
5973
|
and patch numbers; the shared-library major version number will be
|
@@ -5994,7 +6023,7 @@ possible without all of you.
|
|
5994
6023
|
|
5995
6024
|
Thanks to Frank J. T. Wojcik for helping with the documentation.
|
5996
6025
|
|
5997
|
-
Libpng version 1.6.
|
6026
|
+
Libpng version 1.6.26 - October 20, 2016:
|
5998
6027
|
Initially created in 1995 by Guy Eric Schalnat, then of Group 42, Inc.
|
5999
6028
|
Currently maintained by Glenn Randers-Pehrson (glennrp at users.sourceforge.net).
|
6000
6029
|
|
@@ -6019,7 +6048,7 @@ this sentence.
|
|
6019
6048
|
|
6020
6049
|
This code is released under the libpng license.
|
6021
6050
|
|
6022
|
-
libpng versions 1.0.7, July 1, 2000
|
6051
|
+
libpng versions 1.0.7, July 1, 2000 through 1.6.26, October 20, 2016 are
|
6023
6052
|
Copyright (c) 2000-2002, 2004, 2006-2016 Glenn Randers-Pehrson, are
|
6024
6053
|
derived from libpng-1.0.6, and are distributed according to the same
|
6025
6054
|
disclaimer and license as libpng-1.0.6 with the following individuals
|
@@ -6041,6 +6070,10 @@ and with the following additions to the disclaimer:
|
|
6041
6070
|
risk of satisfactory quality, performance, accuracy, and effort is with
|
6042
6071
|
the user.
|
6043
6072
|
|
6073
|
+
Some files in the "contrib" directory and some configure-generated
|
6074
|
+
files that are distributed with libpng have other copyright owners and
|
6075
|
+
are released under other open source licenses.
|
6076
|
+
|
6044
6077
|
libpng versions 0.97, January 1998, through 1.0.6, March 20, 2000, are
|
6045
6078
|
Copyright (c) 1998-2000 Glenn Randers-Pehrson, are derived from
|
6046
6079
|
libpng-0.96, and are distributed according to the same disclaimer and
|
@@ -6064,6 +6097,9 @@ Contributing Authors:
|
|
6064
6097
|
Greg Roelofs
|
6065
6098
|
Tom Tanner
|
6066
6099
|
|
6100
|
+
Some files in the "scripts" directory have other copyright owners
|
6101
|
+
but are released under this license.
|
6102
|
+
|
6067
6103
|
libpng versions 0.5, May 1995, through 0.88, January 1996, are
|
6068
6104
|
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
|
6069
6105
|
|
@@ -6104,6 +6140,29 @@ appreciated.
|
|
6104
6140
|
|
6105
6141
|
END OF COPYRIGHT NOTICE, DISCLAIMER, and LICENSE.
|
6106
6142
|
|
6143
|
+
TRADEMARK:
|
6144
|
+
|
6145
|
+
The name "libpng" has not been registered by the Copyright owner
|
6146
|
+
as a trademark in any jurisdiction. However, because libpng has
|
6147
|
+
been distributed and maintained world-wide, continually since 1995,
|
6148
|
+
the Copyright owner claims "common-law trademark protection" in any
|
6149
|
+
jurisdiction where common-law trademark is recognized.
|
6150
|
+
|
6151
|
+
OSI CERTIFICATION:
|
6152
|
+
|
6153
|
+
Libpng is OSI Certified Open Source Software. OSI Certified Open Source is
|
6154
|
+
a certification mark of the Open Source Initiative. OSI has not addressed
|
6155
|
+
the additional disclaimers inserted at version 1.0.7.
|
6156
|
+
|
6157
|
+
EXPORT CONTROL:
|
6158
|
+
|
6159
|
+
The Copyright owner believes that the Export Control Classification
|
6160
|
+
Number (ECCN) for libpng is EAR99, which means not subject to export
|
6161
|
+
controls or International Traffic in Arms Regulations (ITAR) because
|
6162
|
+
it is open source, publicly available software, that does not contain
|
6163
|
+
any encryption software. See the EAR, paragraphs 734.3(b)(3) and
|
6164
|
+
734.7(b).
|
6165
|
+
|
6107
6166
|
A "png_get_copyright" function is available, for convenient use in "about"
|
6108
6167
|
boxes and the like:
|
6109
6168
|
|
@@ -6112,13 +6171,9 @@ boxes and the like:
|
|
6112
6171
|
Also, the PNG logo (in PNG format, of course) is supplied in the
|
6113
6172
|
files "pngbar.png" and "pngbar.jpg (88x31) and "pngnow.png" (98x31).
|
6114
6173
|
|
6115
|
-
Libpng is OSI Certified Open Source Software. OSI Certified Open Source is
|
6116
|
-
a certification mark of the Open Source Initiative. OSI has not addressed
|
6117
|
-
the additional disclaimers inserted at version 1.0.7.
|
6118
|
-
|
6119
6174
|
Glenn Randers-Pehrson
|
6120
6175
|
glennrp at users.sourceforge.net
|
6121
|
-
|
6176
|
+
October 20, 2016
|
6122
6177
|
|
6123
6178
|
.\" end of man page
|
6124
6179
|
|
@@ -1,6 +1,6 @@
|
|
1
|
-
.TH LIBPNGPF 3 "
|
1
|
+
.TH LIBPNGPF 3 "October 20, 2016"
|
2
2
|
.SH NAME
|
3
|
-
libpng \- Portable Network Graphics (PNG) Reference Library 1.6.
|
3
|
+
libpng \- Portable Network Graphics (PNG) Reference Library 1.6.26
|
4
4
|
(private functions)
|
5
5
|
.SH SYNOPSIS
|
6
6
|
\fB#include \fI"pngpriv.h"
|
@@ -1,4 +1,4 @@
|
|
1
|
-
.TH PNG 5 "
|
1
|
+
.TH PNG 5 "October 20, 2016"
|
2
2
|
.SH NAME
|
3
3
|
png \- Portable Network Graphics (PNG) format
|
4
4
|
.SH DESCRIPTION
|
@@ -35,7 +35,7 @@ PNG 1.0 specification, October 1996:
|
|
35
35
|
RFC 2083
|
36
36
|
.IP
|
37
37
|
.br
|
38
|
-
|
38
|
+
http://www.ietf.org/rfc/rfc2083.txt
|
39
39
|
.br
|
40
40
|
or (as a W3C Recommendation) at
|
41
41
|
.br
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -2,12 +2,12 @@
|
|
2
2
|
.\" Title: nasm
|
3
3
|
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
|
4
4
|
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
|
5
|
-
.\" Date:
|
5
|
+
.\" Date: 07/06/2016
|
6
6
|
.\" Manual: The Netwide Assembler Project
|
7
7
|
.\" Source: NASM
|
8
8
|
.\" Language: English
|
9
9
|
.\"
|
10
|
-
.TH "NASM" "1" "
|
10
|
+
.TH "NASM" "1" "07/06/2016" "NASM" "The Netwide Assembler Project"
|
11
11
|
.\" -----------------------------------------------------------------
|
12
12
|
.\" * Define some portability stuff
|
13
13
|
.\" -----------------------------------------------------------------
|
@@ -2,12 +2,12 @@
|
|
2
2
|
.\" Title: ndisasm
|
3
3
|
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
|
4
4
|
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
|
5
|
-
.\" Date:
|
5
|
+
.\" Date: 07/06/2016
|
6
6
|
.\" Manual: The Netwide Assembler Project
|
7
7
|
.\" Source: NASM
|
8
8
|
.\" Language: English
|
9
9
|
.\"
|
10
|
-
.TH "NDISASM" "1" "
|
10
|
+
.TH "NDISASM" "1" "07/06/2016" "NASM" "The Netwide Assembler Project"
|
11
11
|
.\" -----------------------------------------------------------------
|
12
12
|
.\" * Define some portability stuff
|
13
13
|
.\" -----------------------------------------------------------------
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|