Skip to content

Commit

Permalink
Upgrade to Imageflow 1.4.6 and demo ignore_icc_errors command
Browse files Browse the repository at this point in the history
  • Loading branch information
lilith committed Jul 1, 2020
1 parent 80d8d28 commit 996ba2e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ namespace Imageflow.Server.Example
})
.AddCommandDefault("down.filter", "mitchell")
.AddCommandDefault("f.sharpen", "15")
.AddCommandDefault("ignore_icc_errors", "true")
//When set to true, this only allows ?preset=value URLs, returning 403 if you try to use any other commands.
.SetUsePresetsExclusively(false)
.AddPreset(new PresetOptions("large", PresetPriority.DefaultValues)
Expand Down
1 change: 1 addition & 0 deletions examples/Imageflow.Server.Example/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
.AddCommandDefault("down.filter", "mitchell")
.AddCommandDefault("f.sharpen", "15")
.AddCommandDefault("webp.quality", "90")
.AddCommandDefault("ignore_icc_errors", "true")
//When set to true, this only allows ?preset=value URLs, returning 403 if you try to use any other commands.
.SetUsePresetsExclusively(false)
.AddPreset(new PresetOptions("large", PresetPriority.DefaultValues)
Expand Down
10 changes: 5 additions & 5 deletions src/Imageflow.Server/Imageflow.Server.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Imageflow.NativeRuntime.osx_10_11-x86_64" Version="1.4.5-rc45" />
<PackageReference Include="Imageflow.NativeRuntime.ubuntu_16_04-x86_64" Version="1.4.5-rc45" />
<PackageReference Include="Imageflow.NativeRuntime.ubuntu_18_04-x86_64" Version="1.4.5-rc45" />
<PackageReference Include="Imageflow.NativeRuntime.win-x86" Version="1.4.5-rc45" />
<PackageReference Include="Imageflow.NativeRuntime.win-x86_64" Version="1.4.5-rc45" />
<PackageReference Include="Imageflow.NativeRuntime.osx_10_11-x86_64" Version="1.4.6-rc46" />
<PackageReference Include="Imageflow.NativeRuntime.ubuntu_16_04-x86_64" Version="1.4.6-rc46" />
<PackageReference Include="Imageflow.NativeRuntime.ubuntu_18_04-x86_64" Version="1.4.6-rc46" />
<PackageReference Include="Imageflow.NativeRuntime.win-x86" Version="1.4.6-rc46" />
<PackageReference Include="Imageflow.NativeRuntime.win-x86_64" Version="1.4.6-rc46" />
<PackageReference Include="Imageflow.Net" Version="0.7.1" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
</ItemGroup>
Expand Down

0 comments on commit 996ba2e

Please sign in to comment.