Skip to content

Commit

Permalink
update libjxl
Browse files Browse the repository at this point in the history
  • Loading branch information
saucecontrol committed Mar 8, 2024
1 parent 0afac4b commit fa68cdc
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion build/vcpkg/ports/libjxl/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO libjxl/libjxl
REF "v${VERSION}"
SHA512 54dc043dbed4e4bda1a591a07549f31fde17b67c5d754b1676616f3d8ffb82debafa3ed69041fd6523c907550543b11a3788d5cd3f1ca18e3ee2888760795ae3
SHA512 1d19f30c0ae94e212326a15dc128612bce207e619c55c2a020401a27d01a933de71bb35e907521dc8fd853dd5578d74d74f7a5a282f0083fd22cf9cb07ccb96e
HEAD_REF main
PATCHES
fix-dependencies.patch
Expand Down
2 changes: 1 addition & 1 deletion build/vcpkg/ports/libjxl/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "libjxl",
"version-semver": "0.10.1",
"version-semver": "0.10.2",
"description": "JPEG XL image format reference implementation",
"homepage": "https://github.com/libjxl/libjxl",
"license": "BSD-3-Clause",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<ItemGroup>
<ProjectReference Include="..\..\MagicScaler\MagicScaler.csproj" />
<PackageReference Include="SixLabors.ImageSharp" Version="2.1.6" />
<PackageReference Include="SixLabors.ImageSharp" Version="2.1.7" />
</ItemGroup>

</Project>
4 changes: 2 additions & 2 deletions src/NativeCodecs/Libjxl/JxlCodec.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ namespace PhotoSauce.NativeCodecs.Libjxl;

internal static unsafe class JxlFactory
{
public const string DisplayName = $"{libjxl} 0.10.1";
public const string DisplayName = $"{libjxl} 0.10.2";
public const string libjxl = nameof(libjxl);
public const uint libver = 10001;
public const uint libver = 10002;

private static readonly Lazy<bool> dependencyValid = new(() => {
#if NETFRAMEWORK
Expand Down
2 changes: 1 addition & 1 deletion src/NativeCodecs/Libjxl/NativeCodecs.Libjxl.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<VersionPrefix>0.10.1</VersionPrefix>
<VersionPrefix>0.10.2</VersionPrefix>
<TargetFrameworks>net6.0;net7.0;net472</TargetFrameworks>
<TargetFrameworks Condition="'$(Configuration)'=='Dist' Or '$(Configuration)'=='Coverage'">$(TargetFrameworks);net461;netstandard2.0;netstandard2.1</TargetFrameworks>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/NativeCodecs/Libjxl/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ PhotoSauce.NativeCodecs.Libjxl

This MagicScaler plugin wraps the [libjxl](https://github.com/libjxl/libjxl) reference [JPEG XL](https://jpeg.org/jpegxl/) codec.

*IMPORTANT: Version 0.7.0 of `libjxl` is a preview release and may not be fully stable. Use the encoder with caution.*
*IMPORTANT*: `libjxl` is a preview release and may not be fully stable. In particular, it may crash your process on out of memory conditions. See: https://github.com/libjxl/libjxl/issues/1450.

Requirements
------------
Expand Down

0 comments on commit fa68cdc

Please sign in to comment.