File tree Expand file tree Collapse file tree 3 files changed +2
-27
lines changed
src/Magick.NET/Formats/WebP
tests/Magick.NET.Tests/Formats/WebP/WebPWriteDefinesTests Expand file tree Collapse file tree 3 files changed +2
-27
lines changed Original file line number Diff line number Diff line change 1
1
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.NET.
2
2
// Licensed under the Apache License, Version 2.0.
3
3
4
+ using System ;
4
5
using System . Collections . Generic ;
5
6
6
7
namespace ImageMagick . Formats ;
@@ -84,6 +85,7 @@ public MagickFormat Format
84
85
/// <summary>
85
86
/// Gets or sets the near lossless encoding, between 0 (max-loss) and 100 (off) (webp:near-lossless).
86
87
/// </summary>
88
+ [ Obsolete ( "This property will be removed in the next major release, this was removed from ImageMagick." ) ]
87
89
public int ? NearLossless { get ; set ; }
88
90
89
91
/// <summary>
Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ public void ShouldNotSetAnyDefine()
29
29
Assert . Null ( image . Settings . GetDefine ( MagickFormat . WebP , "image-hint" ) ) ;
30
30
Assert . Null ( image . Settings . GetDefine ( MagickFormat . WebP , "low-memory" ) ) ;
31
31
Assert . Null ( image . Settings . GetDefine ( MagickFormat . WebP , "lossless" ) ) ;
32
- Assert . Null ( image . Settings . GetDefine ( MagickFormat . WebP , "near-lossless" ) ) ;
33
32
Assert . Null ( image . Settings . GetDefine ( MagickFormat . WebP , "method" ) ) ;
34
33
Assert . Null ( image . Settings . GetDefine ( MagickFormat . WebP , "partition-limit" ) ) ;
35
34
Assert . Null ( image . Settings . GetDefine ( MagickFormat . WebP , "partitions" ) ) ;
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments