Skip to content

Commit 363311f

Browse files
authored
Merge pull request #186 from danoli3/release/3.19.25
Prepare FreeImage 3.19.25 release
2 parents 1a9e074 + d9c5ec0 commit 363311f

10 files changed

Lines changed: 35 additions & 20 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,13 @@
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.24 — Unreleased
5+
## 3.19.25 — Unreleased
6+
7+
- Bundle pinned, SHA-256-verified HEIF/AVIF and JPEG XL codec sources and dependencies for offline CMake builds, while retaining optional system-library selection, cross-compilation and static/shared builds. Add license documentation and cross-platform CI. (#179)
8+
- Add `FreeImage_GetChannelsNumber` to report channel counts for bitmap and typed image formats, including two-channel complex images. (#180)
9+
- Clip GIF playback frames and disposal clears to the logical screen, preventing out-of-bounds writes from malformed frame rectangles. Add crafted regression tests. (#183)
10+
11+
## 3.19.24 — 16 Oct 2026
612

713
- Bundle pinned libheif/libjxl source archives and their HEVC/AV1, compression, SIMD and color-management dependencies for offline CMake builds. Keep codecs optional; `USE_SYSTEM_LIBHEIF` / `USE_SYSTEM_LIBJXL` retain SDK selection and follow the existing system-library master switch. Ship private archives for installed CMake consumers, dependency license notices and bundled/system diagnostics. Add static/shared native, 32-bit and Android API 25 CI. (#177)
814

‎CMakeLists.txt‎

Lines changed: 5 additions & 5 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.24"), falling
3+
# Determine the version from the latest git tag (e.g. "3.19.25"), 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.24)
8+
set(FREEIMAGE_VERSION_FALLBACK 3.19.25)
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.24-45-ge32af9e" -> tag 3.19.24, 45 commits past it, hash ge32af9e
22+
# e.g. "3.19.25-45-ge32af9e" -> tag 3.19.25, 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})
@@ -38,8 +38,8 @@ set(FREEIMAGE_VERSION_MAJOR ${PROJECT_VERSION_MAJOR})
3838
set(FREEIMAGE_VERSION_MINOR ${PROJECT_VERSION_MINOR})
3939
set(FREEIMAGE_VERSION_PATCH ${PROJECT_VERSION_PATCH})
4040

41-
# Human-readable version string: bare "3.19.24" exactly on a tag, or
42-
# "3.19.24+45.ge32af9e" (build metadata suffix, SemVer-style) in between.
41+
# Human-readable version string: bare "3.19.25" exactly on a tag, or
42+
# "3.19.25+45.ge32af9e" (build metadata suffix, SemVer-style) in between.
4343
if(FREEIMAGE_VERSION_COMMITS EQUAL 0)
4444
set(FREEIMAGE_VERSION_STRING "${FREEIMAGE_VERSION}")
4545
else()

‎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,24,0
10-
PRODUCTVERSION 3,19,24,0
9+
FILEVERSION 3,19,25,0
10+
PRODUCTVERSION 3,19,25,0
1111
FILEFLAGSMASK 0x3fL
1212
#ifdef _DEBUG
1313
FILEFLAGS 0x1L
@@ -25,14 +25,14 @@ 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, 24, 0\0"
28+
VALUE "FileVersion", "3, 19, 25, 0\0"
2929
VALUE "InternalName", "FreeImage\0"
3030
VALUE "LegalCopyright", "Copyright � 2003-2026 by FreeImage\0"
3131
VALUE "LegalTrademarks", "See https://freeimage.sourceforge.net\0"
3232
VALUE "OriginalFilename", "FreeImage.dll\0"
3333
VALUE "PrivateBuild", "\0"
3434
VALUE "ProductName", "FreeImage\0"
35-
VALUE "ProductVersion", "3, 19, 24, 0\0"
35+
VALUE "ProductVersion", "3, 19, 25, 0\0"
3636
VALUE "SpecialBuild", "\0"
3737
END
3838
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 are tags, not prebuilt DLLs. 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.24**. `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.24 when the archive has no `.git` history.
10+
This tree is FreeImage **3.19.25**. `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.25 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 24
35+
#define FREEIMAGE_RELEASE_SERIAL 25
3636

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

‎THIRD_PARTY_VERSIONS.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ these libraries has a newer stable upstream release.
2727
OpenEXR, LibDeflate, and LibTIFF4 re-synced against their upstream release
2828
tags on 2026-10-02 for issue #137. All vendored version entries, including
2929
OpenEXR's auxiliary codecs below, were rechecked against their source headers
30-
on 2026-10-16 for FreeImage 3.19.24. The existing vendored versions above
30+
on 2026-10-17 for FreeImage 3.19.25. The existing vendored versions above
3131
are unchanged from 3.19.23. HEIF/AVIF and JPEG XL originally used optional
3232
system libraries; the optional bundled snapshots below were added for #177.
3333
The latest-upstream column retains the previous release review; this check

‎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,24,0
10-
PRODUCTVERSION 3,19,24,0
9+
FILEVERSION 3,19,25,0
10+
PRODUCTVERSION 3,19,25,0
1111
FILEFLAGSMASK 0x3fL
1212
#ifdef _DEBUG
1313
FILEFLAGS 0x1L
@@ -25,14 +25,14 @@ 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, 24, 0\0"
28+
VALUE "FileVersion", "3, 19, 25, 0\0"
2929
VALUE "InternalName", "FreeImagePlus\0"
3030
VALUE "LegalCopyright", "Copyright � 2003-2026 by FreeImage\0"
3131
VALUE "LegalTrademarks", "See https://freeimage.sourceforge.net\0"
3232
VALUE "OriginalFilename", "FreeImagePlus.dll\0"
3333
VALUE "PrivateBuild", "\0"
3434
VALUE "ProductName", "FreeImagePlus\0"
35-
VALUE "ProductVersion", "3, 19, 24, 0\0"
35+
VALUE "ProductVersion", "3, 19, 25, 0\0"
3636
VALUE "SpecialBuild", "\0"
3737
END
3838
END

‎bindings/python/pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "FreeImage"
7-
version = "3.19.24"
7+
version = "3.19.25"
88
description = "Optional NumPy bindings for FreeImage"
99
readme = "README.md"
1010
requires-python = ">=3.9"

‎debian/changelog‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
freeimage-maintained (3.19.25-1) unstable; urgency=high
2+
3+
* Bundle offline HEIF/AVIF and JPEG XL codecs with pinned dependencies.
4+
* Add the image channel-count query API.
5+
* Clip GIF playback frames to prevent out-of-bounds writes.
6+
* Prepare tagged Linux package builds for FreeImage 3.19.25.
7+
8+
-- FreeImage Packaging Contributors <noreply@github.com> Sat, 17 Oct 2026 15:21:05 +1300
9+
110
freeimage-maintained (3.19.24-1) unstable; urgency=medium
211

312
* Add Windows Unicode multipage paths, including disk caches and spool files.

‎packaging/README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ names: review apt's proposed removals when installing on an existing system.
3838
Use a clean environment for initial testing.
3939

4040
The historical +packaging1 entry identifies the initial packaging snapshot.
41-
The current Debian changelog targets FreeImage 3.19.24; tagged CI assigns
41+
The current Debian changelog targets FreeImage 3.19.25; tagged CI assigns
4242
distinct Ubuntu/Debian version suffixes automatically. Maintainer details are
4343
placeholders to replace before publication. The source copyright inventory needs completing before
4444
a Debian archive submission. No PPA or official repository upload is made.
@@ -62,7 +62,7 @@ sets the intended library interface; it does not prove drop-in compatibility.
6262
## Tagged release automation
6363

6464
Pushing a numeric version tag such as
65-
3.19.24 builds Linux packages and attaches them to the matching GitHub
65+
3.19.25 builds Linux packages and attaches them to the matching GitHub
6666
release. The tag, checkout, public header and CMake archive fallback must
6767
agree. All three package build/install jobs must pass before publication.
6868

0 commit comments

Comments
 (0)