Skip to content

Commit f408046

Browse files
committed
FreeImage 3.19.29
1 parent ec155f9 commit f408046

7 files changed

Lines changed: 31 additions & 17 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,21 @@
22

33
Release notes for this fork, newest first. The 3.19 line starts from upstream FreeImage 3.19.0 on SVN.
44

5-
## 3.19.28 — Unreleased
5+
## 3.19.29 — Unreleased
6+
7+
Large-file TIFF input, stream hardening and Windows build improvements.
8+
9+
- Add `FreeImage_Load64` and `FreeImage_LoadFromHandle64` with a separate `FreeImageIO64` callback table for single-image TIFF/BigTIFF input beyond 2 GiB and 4 GiB, including header-only loading, Exif metadata and thumbnails. Preserve the existing `FreeImageIO` and external `Plugin` layouts. The new entry points currently support TIFF input only; saving, multipage operations and memory-stream limits are unchanged. (#197, #205)
10+
- Bound memory-stream write end positions before addition, preventing signed overflow and out-of-bounds writes after seeking near `INT_MAX`, especially on Windows. Add a regression test for writes near the position limit. (#228)
11+
- Reject invalid JP2/J2K input stream length probes before decoding, including failed seek/tell callbacks and empty or backwards lengths; retain support for initially empty output streams. (#232)
12+
- Update bundled libaom from 3.15.1 to 3.15.2 for optional HEIF/AVIF builds. (#227)
13+
- Fix Windows resource copyright text across host code pages and add the fork's GitHub URL to resource and runtime copyright information. (#231)
14+
- Reduce warnings from bundled third-party sources under MSVC and avoid redefining LibRaw's `NO_LCMS` macro. (#229)
15+
- Use English diagnostics by default for nested MSVC codec configuration and builds, with `FREEIMAGE_CODEC_ENGLISH_MESSAGES=OFF` to retain localized messages. Add Chinese-language control tests and incremental MSBuild dependency checks. (#236, #237, #241)
16+
- Add an experimental Windows ARM64X build and native ARM64 codec smoke tests, including checks for the merged DLL's hybrid relocations. (#210)
17+
- Publish sparse large-file TIFF/BigTIFF fixtures and exercise the new input APIs in cross-platform CI, including malformed callback and truncation cases. Update the openFrameworks integration job to Xcode 27.1. (#197, #233)
18+
19+
## 3.19.28 — 28 Oct 2026
620

721
Security hardening, dependency updates and Windows codec fixes.
822

‎CMakeLists.txt‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
cmake_minimum_required(VERSION 3.16)
22

3-
# Determine the version from the latest git tag (e.g. "3.19.28"), falling
3+
# Determine the version from the latest git tag (e.g. "3.19.29"), falling
44
# back to a static default when building from a source archive without
55
# .git history (or when git isn't installed). This has to run before
66
# project() below, since its VERSION argument needs a literal
77
# MAJOR.MINOR.PATCH at parse time - it can't be computed afterwards.
8-
set(FREEIMAGE_VERSION_FALLBACK 3.19.28)
8+
set(FREEIMAGE_VERSION_FALLBACK 3.19.29)
99
set(FREEIMAGE_VERSION_COMMITS 0)
1010
set(FREEIMAGE_VERSION_HASH "unknown")
1111
find_package(Git QUIET)
@@ -19,7 +19,7 @@ if(GIT_FOUND AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/.git")
1919
RESULT_VARIABLE FREEIMAGE_GIT_DESCRIBE_RESULT
2020
)
2121
if(FREEIMAGE_GIT_DESCRIBE_RESULT EQUAL 0)
22-
# e.g. "3.19.28-45-ge32af9e" -> tag 3.19.28, 45 commits past it, hash ge32af9e
22+
# e.g. "3.19.29-45-ge32af9e" -> tag 3.19.29, 45 commits past it, hash ge32af9e
2323
string(REGEX MATCH "^([0-9]+\\.[0-9]+\\.[0-9]+)-([0-9]+)-(g[0-9a-f]+)$" _fi_ver_match "${FREEIMAGE_GIT_DESCRIBE}")
2424
if(_fi_ver_match)
2525
set(FREEIMAGE_VERSION ${CMAKE_MATCH_1})

‎FreeImage.rc‎

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

88
VS_VERSION_INFO VERSIONINFO
9-
FILEVERSION 3,19,28,0
10-
PRODUCTVERSION 3,19,28,0
9+
FILEVERSION 3,19,29,0
10+
PRODUCTVERSION 3,19,29,0
1111
FILEFLAGSMASK 0x3fL
1212
#ifdef _DEBUG
1313
FILEFLAGS 0x1L
@@ -25,15 +25,15 @@ BEGIN
2525
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"
2626
VALUE "CompanyName", "FreeImage\0"
2727
VALUE "FileDescription", "FreeImage library\0"
28-
VALUE "FileVersion", "3, 19, 28, 0\0"
28+
VALUE "FileVersion", "3, 19, 29, 0\0"
2929
VALUE "InternalName", "FreeImage\0"
3030
// Use a wide Unicode escape to avoid the build host's code page.
3131
VALUE "LegalCopyright", L"Copyright \x00A9 2003-2026 by FreeImage\0"
3232
VALUE "LegalTrademarks", "See https://github.com/danoli3/FreeImage and https://freeimage.sourceforge.net\0"
3333
VALUE "OriginalFilename", "FreeImage.dll\0"
3434
VALUE "PrivateBuild", "\0"
3535
VALUE "ProductName", "FreeImage\0"
36-
VALUE "ProductVersion", "3, 19, 28, 0\0"
36+
VALUE "ProductVersion", "3, 19, 29, 0\0"
3737
VALUE "SpecialBuild", "\0"
3838
END
3939
END

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ FreeImage is easy to use, fast, multithreading safe, and cross-platform (works w
77

88
Security and bug fixes on top of upstream FreeImage, plus a CMake build that compiles FreeImage and every bundled library from one `CMakeLists.txt`. This repository is the source tree. [GitHub releases](https://github.com/danoli3/FreeImage/releases) provide source archives and Linux packages; see the [packaging guide](packaging/README.md). Build a static library or a DLL with the commands in [Building this fork](#building-this-fork).
99

10-
This tree is FreeImage **3.19.28**. `FreeImage_GetVersion()` prints `FREEIMAGE_MAJOR_VERSION`, `FREEIMAGE_MINOR_VERSION`, and `FREEIMAGE_RELEASE_SERIAL` from `Source/FreeImage.h`. CMake takes the version from the latest numeric git tag (`git describe`) and falls back to 3.19.28 when the archive has no `.git` history.
10+
This tree is FreeImage **3.19.29**. `FreeImage_GetVersion()` prints `FREEIMAGE_MAJOR_VERSION`, `FREEIMAGE_MINOR_VERSION`, and `FREEIMAGE_RELEASE_SERIAL` from `Source/FreeImage.h`. CMake takes the version from the latest numeric git tag (`git describe`) and falls back to 3.19.29 when the archive has no `.git` history.
1111

1212
The ANSI C API is usable from C, C++, VB, C#, Delphi, Java, and from scripting languages such as Perl, Python, PHP, TCL, Lua, and Ruby.
1313

‎Source/FreeImage.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
#define FREEIMAGE_MAJOR_VERSION 3
3434
#define FREEIMAGE_MINOR_VERSION 19
35-
#define FREEIMAGE_RELEASE_SERIAL 28
35+
#define FREEIMAGE_RELEASE_SERIAL 29
3636

3737
// Compiler options ---------------------------------------------------------
3838

‎THIRD_PARTY_VERSIONS.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ these libraries has a newer stable upstream release.
2525
| ZLib | `Source/ZLib` | 1.3.2 | 1.3.2 | up to date | `zlib.h` |
2626

2727
All vendored versions, including OpenEXR's auxiliary codecs below, were
28-
rechecked against source headers on 2026-10-28 for FreeImage 3.19.28. All eight
28+
rechecked against source headers on 2026-10-31 for FreeImage 3.19.29. All eight
2929
optional codec archives were verified against the SHA-256 digests in
3030
`Source/ThirdParty/sources.json`; release/version files inside the archives
3131
were also reviewed. Little CMS 2.19.1 retains `LCMS_VERSION` 2190 in its public
3232
header; the bundled archive is the upstream 2.19.1 release artifact.
3333

34-
Since 3.19.27, LibRaw moved from 0.22.2 to 0.22.3, libheif from 1.23.6 to
35-
1.23.7, and Brotli from 1.2.0 to 1.2.1. Other bundled versions are unchanged.
34+
Since 3.19.28, libaom moved from 3.15.1 to 3.15.2. Other bundled versions
35+
are unchanged.
3636
OpenEXR, LibDeflate and LibTIFF4 were previously re-synced for #137; OpenEXR
3737
3.5.2 and libpng 1.6.59 followed in #148.
3838

‎Wrapper/FreeImagePlus/FreeImagePlus.rc‎

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

88
VS_VERSION_INFO VERSIONINFO
9-
FILEVERSION 3,19,28,0
10-
PRODUCTVERSION 3,19,28,0
9+
FILEVERSION 3,19,29,0
10+
PRODUCTVERSION 3,19,29,0
1111
FILEFLAGSMASK 0x3fL
1212
#ifdef _DEBUG
1313
FILEFLAGS 0x1L
@@ -25,15 +25,15 @@ BEGIN
2525
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"
2626
VALUE "CompanyName", "FreeImage\0"
2727
VALUE "FileDescription", "FreeImagePlus library\0"
28-
VALUE "FileVersion", "3, 19, 28, 0\0"
28+
VALUE "FileVersion", "3, 19, 29, 0\0"
2929
VALUE "InternalName", "FreeImagePlus\0"
3030
// Use a wide Unicode escape to avoid the build host's code page.
3131
VALUE "LegalCopyright", L"Copyright \x00A9 2003-2026 by FreeImage\0"
3232
VALUE "LegalTrademarks", "See https://github.com/danoli3/FreeImage and https://freeimage.sourceforge.net\0"
3333
VALUE "OriginalFilename", "FreeImagePlus.dll\0"
3434
VALUE "PrivateBuild", "\0"
3535
VALUE "ProductName", "FreeImagePlus\0"
36-
VALUE "ProductVersion", "3, 19, 28, 0\0"
36+
VALUE "ProductVersion", "3, 19, 29, 0\0"
3737
VALUE "SpecialBuild", "\0"
3838
END
3939
END

0 commit comments

Comments
 (0)