Skip to content

Commit cd83a1e

Browse files
committed
.
2 parents 7ab2938 + 0f03f2e commit cd83a1e

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

CImg.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7747,7 +7747,8 @@ namespace cimg_library {
77477747
if (!path || !*path) { _cimg_fdate_err(); return -1; }
77487748
cimg::mutex(6);
77497749
#if cimg_OS==2
7750-
HANDLE file = CreateFileA(path,GENERIC_READ,0,0,OPEN_EXISTING,FILE_ATTRIBUTE_NORMAL,0);
7750+
HANDLE file = CreateFileA(path,GENERIC_READ,0,0,OPEN_EXISTING,
7751+
FILE_ATTRIBUTE_NORMAL | FILE_FLAG_BACKUP_SEMANTICS,0);
77517752
if (file!=INVALID_HANDLE_VALUE) {
77527753
FILETIME _ft;
77537754
SYSTEMTIME ft;
@@ -69965,8 +69966,7 @@ namespace cimg_library {
6996569966
uheader[4]==0x4A && uheader[5]==0x58 && uheader[6]==0x4C && uheader[7]==0x20 &&
6996669967
uheader[8]==0x0D && uheader[9]==0x0A && uheader[10]==0x87 && uheader[11]==0x0A)) // JPEG XL
6996769968
f_type = _jxl;
69968-
else if ((uheader[0]==0x00 && uheader[1]==0x00 && uheader[2]==0x00 && uheader[3]==0x1C &&
69969-
uheader[4]==0x66 && uheader[5]==0x74 && uheader[6]==0x79 && uheader[7]==0x70) &&
69969+
else if ((uheader[4]==0x66 && uheader[5]==0x74 && uheader[6]==0x79 && uheader[7]==0x70) &&
6997069970
((uheader[8]==0x68 && uheader[9]==0x65 && uheader[10]==0x69 && uheader[11]==0x63) ||
6997169971
(uheader[8]==0x61 && uheader[9]==0x76 && uheader[10]==0x69 && uheader[11]==0x66))) // HEIF
6997269972
f_type = _heif;

html/header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<div class="header">
1717
<a href="index.html"><img alt="Logo" src="img/logo_header.jpg" class="center_image" style="margin-top:1em;"/></a>
1818
<h2 style="padding-bottom: 1em">
19-
Latest stable version: <b><a href="http://cimg.eu/files/CImg_3.7.4.zip">3.7.4</a></b> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Current pre-release: <b><a href="http://cimg.eu/files/CImg_latest.zip">3.7.5</a></b> (2026/03/25)
19+
Latest stable version: <b><a href="http://cimg.eu/files/CImg_3.7.4.zip">3.7.4</a></b> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Current pre-release: <b><a href="http://cimg.eu/files/CImg_latest.zip">3.7.5</a></b> (2026/04/08)
2020
</h2>
2121

2222
<hr/>

html/header_doxygen.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<div class="header">
2727
<a href="../index.html"><img alt="Logo" src="../img/logo_header.jpg" class="center_image" style="margin-top:1em;"/></a>
2828
<h2 style="padding-bottom: 1em">
29-
Latest stable version: <b><a href="http://cimg.eu/files/CImg_3.7.4.zip">3.7.4</a></b> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Current pre-release: <b><a href="http://cimg.eu/files/CImg_latest.zip">3.7.5</a></b> (2026/03/25)
29+
Latest stable version: <b><a href="http://cimg.eu/files/CImg_3.7.4.zip">3.7.4</a></b> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Current pre-release: <b><a href="http://cimg.eu/files/CImg_latest.zip">3.7.5</a></b> (2026/04/08)
3030
</h2>
3131

3232
<hr/>

0 commit comments

Comments
 (0)