Skip to content

Commit 568e93c

Browse files
committed
Update FreeImage up to 3.18
1 parent 7e03603 commit 568e93c

File tree

151 files changed

+54603
-35816
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

151 files changed

+54603
-35816
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Makefile*
66
*.pdb
77
*.lib
88
*.lai
9-
*.user
9+
*.user*
1010
build-*
1111
debug/
1212
release/

CMakeLists.txt

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ set(FreeImage_Defs)
1919
####### DEFINES
2020
list(APPEND FreeImage_Defs
2121
"-DVER_MAJOR=3"
22-
"-DVER_MINOR=17.0"
22+
"-DVER_MINOR=18.0"
2323
-DFREEIMAGE_LITE
2424
)
2525

@@ -163,36 +163,36 @@ if(NOT FREEIMAGE_USE_SYSTEM_LIBPNG)
163163
FREEIMAGE_USE_INTERNAL_LIBPNG
164164
)
165165
list(APPEND FREEIMAGE_SRC
166-
Source/LibPNG/png.c
167-
Source/LibPNG/pngerror.c
168-
Source/LibPNG/pngget.c
169-
Source/LibPNG/pngmem.c
170-
Source/LibPNG/pngpread.c
171-
Source/LibPNG/pngread.c
172-
Source/LibPNG/pngrio.c
173-
Source/LibPNG/pngrtran.c
174-
Source/LibPNG/pngrutil.c
175-
Source/LibPNG/pngset.c
176-
Source/LibPNG/pngtrans.c
177-
Source/LibPNG/pngwio.c
178-
Source/LibPNG/pngwrite.c
179-
Source/LibPNG/pngwtran.c
180-
Source/LibPNG/pngwutil.c
181-
Source/ZLib/adler32.c
182-
Source/ZLib/compress.c
183-
Source/ZLib/crc32.c
184-
Source/ZLib/deflate.c
185-
Source/ZLib/gzclose.c
186-
Source/ZLib/gzlib.c
187-
Source/ZLib/gzread.c
188-
Source/ZLib/gzwrite.c
189-
Source/ZLib/infback.c
190-
Source/ZLib/inffast.c
191-
Source/ZLib/inflate.c
192-
Source/ZLib/inftrees.c
193-
Source/ZLib/trees.c
194-
Source/ZLib/uncompr.c
195-
Source/ZLib/zutil.c
166+
Source/3rdParty/LibPNG/png.c
167+
Source/3rdParty/LibPNG/pngerror.c
168+
Source/3rdParty/LibPNG/pngget.c
169+
Source/3rdParty/LibPNG/pngmem.c
170+
Source/3rdParty/LibPNG/pngpread.c
171+
Source/3rdParty/LibPNG/pngread.c
172+
Source/3rdParty/LibPNG/pngrio.c
173+
Source/3rdParty/LibPNG/pngrtran.c
174+
Source/3rdParty/LibPNG/pngrutil.c
175+
Source/3rdParty/LibPNG/pngset.c
176+
Source/3rdParty/LibPNG/pngtrans.c
177+
Source/3rdParty/LibPNG/pngwio.c
178+
Source/3rdParty/LibPNG/pngwrite.c
179+
Source/3rdParty/LibPNG/pngwtran.c
180+
Source/3rdParty/LibPNG/pngwutil.c
181+
Source/3rdParty/ZLib/adler32.c
182+
Source/3rdParty/ZLib/compress.c
183+
Source/3rdParty/ZLib/crc32.c
184+
Source/3rdParty/ZLib/deflate.c
185+
Source/3rdParty/ZLib/gzclose.c
186+
Source/3rdParty/ZLib/gzlib.c
187+
Source/3rdParty/ZLib/gzread.c
188+
Source/3rdParty/ZLib/gzwrite.c
189+
Source/3rdParty/ZLib/infback.c
190+
Source/3rdParty/ZLib/inffast.c
191+
Source/3rdParty/ZLib/inflate.c
192+
Source/3rdParty/ZLib/inftrees.c
193+
Source/3rdParty/ZLib/trees.c
194+
Source/3rdParty/ZLib/uncompr.c
195+
Source/3rdParty/ZLib/zutil.c
196196
)
197197
endif()
198198

FreeImage.rc

Lines changed: 24 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
//
77

88
VS_VERSION_INFO VERSIONINFO
9-
FILEVERSION 3,17,0,0
10-
PRODUCTVERSION 3,17,0,0
9+
FILEVERSION 3,18,0,0
10+
PRODUCTVERSION 3,18,0,0
1111
FILEFLAGSMASK 0x3fL
1212
#ifdef _DEBUG
1313
FILEFLAGS 0x1L
@@ -18,27 +18,26 @@ VS_VERSION_INFO VERSIONINFO
1818
FILETYPE 0x2L
1919
FILESUBTYPE 0x0L
2020
BEGIN
21-
BLOCK "StringFileInfo"
22-
BEGIN
23-
BLOCK "040904e2"
24-
BEGIN
25-
VALUE "Comments", "FreeImage is an Open Source library project for developers who would like to support popular graphics image formats like PNG, BMP, JPEG, TIFF and others as needed by today's multimedia applications.\0"
26-
VALUE "CompanyName", "FreeImage\0"
27-
VALUE "FileDescription", "FreeImage library\0"
28-
VALUE "FileVersion", "3, 17, 0, 0\0"
29-
VALUE "InternalName", "FreeImage\0"
30-
VALUE "LegalCopyright", "Copyright � 2003-2015 by FreeImage\0"
31-
VALUE "LegalTrademarks", "See http://freeimage.sourceforge.net\0"
32-
VALUE "OriginalFilename", "FreeImage.dll\0"
33-
VALUE "PrivateBuild", "\0"
34-
VALUE "ProductName", "FreeImage\0"
35-
VALUE "ProductVersion", "3, 17, 0, 0\0"
36-
VALUE "SpecialBuild", "\0"
37-
END
38-
END
39-
BLOCK "VarFileInfo"
40-
BEGIN
41-
VALUE "Translation", 0x409, 1250
42-
END
21+
BLOCK "StringFileInfo"
22+
BEGIN
23+
BLOCK "040904e2"
24+
BEGIN
25+
VALUE "Comments", "FreeImage is an Open Source library project for developers who would like to support popular graphics image formats like PNG, BMP, JPEG, TIFF and others as needed by today's multimedia applications.\0"
26+
VALUE "CompanyName", "FreeImage\0"
27+
VALUE "FileDescription", "FreeImage library\0"
28+
VALUE "FileVersion", "3, 18, 0, 0\0"
29+
VALUE "InternalName", "FreeImage\0"
30+
VALUE "LegalCopyright", "Copyright � 2003-2018 by FreeImage\0"
31+
VALUE "LegalTrademarks", "See http://freeimage.sourceforge.net\0"
32+
VALUE "OriginalFilename", "FreeImage.dll\0"
33+
VALUE "PrivateBuild", "\0"
34+
VALUE "ProductName", "FreeImage\0"
35+
VALUE "ProductVersion", "3, 18, 0, 0\0"
36+
VALUE "SpecialBuild", "\0"
37+
END
38+
END
39+
BLOCK "VarFileInfo"
40+
BEGIN
41+
VALUE "Translation", 0x409, 1250
42+
END
4343
END
44-

Source/3rdParty/LibPNG/ANNOUNCE

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
Libpng 1.6.35 - July 15, 2018
2+
3+
This is a public release of libpng, intended for use in production code.
4+
5+
Files available for download:
6+
7+
Source files with LF line endings (for Unix/Linux):
8+
9+
libpng-1.6.35.tar.xz (LZMA-compressed, recommended)
10+
libpng-1.6.35.tar.gz
11+
12+
Source files with CRLF line endings (for Windows):
13+
14+
lp1635.7z (LZMA-compressed, recommended)
15+
lp1635.zip
16+
17+
Other information:
18+
19+
libpng-1.6.35-README.txt
20+
libpng-1.6.35-LICENSE.txt
21+
22+
Changes since the last public release (1.6.34):
23+
24+
Restored 21 of the contrib/pngsuite/i*.png, which do not cause test
25+
failures. Placed the remainder in contrib/pngsuite/interlaced/i*.png.
26+
Added calls to png_set_*() transforms commonly used by browsers to
27+
the fuzzer.
28+
Removed some unnecessary brackets in pngrtran.c
29+
Fixed miscellaneous typos (Patch by github user "luzpaz").
30+
Change "ASM C" to "C ASM" in CMakeLists.txt
31+
Fixed incorrect handling of bKGD chunk in sub-8-bit files (Cosmin)
32+
Added hardware optimization directories to zip and 7z distributions.
33+
Fixed incorrect bitmask for options.
34+
Fixed many spelling typos.
35+
Make png_get_iCCP consistent with man page (allow compression-type argument
36+
to be NULL, bug report by Lenard Szolnoki).
37+
Replaced the remaining uses of png_size_t with size_t (Cosmin)
38+
Fixed the calculation of row_factor in png_check_chunk_length
39+
(reported by Thuan Pham in SourceForge issue #278)
40+
Added missing parentheses to a macro definition
41+
(suggested by "irwir" in GitHub issue #216)
42+
43+
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
44+
(subscription required; visit
45+
https://lists.sourceforge.net/lists/listinfo/png-mng-implement
46+
to subscribe).
47+
48+
Glenn R-P

0 commit comments

Comments
 (0)