@@ -30,7 +30,7 @@ public Image Decode(DecoderOptions options, Stream stream)
30
30
s => this . Decode ( options , s , default ) ) ;
31
31
32
32
/// <inheritdoc/>
33
- public Task < Image < TPixel > > DecodeAsync < TPixel > ( DecoderOptions options , Stream stream , CancellationToken cancellationToken )
33
+ public Task < Image < TPixel > > DecodeAsync < TPixel > ( DecoderOptions options , Stream stream , CancellationToken cancellationToken = default )
34
34
where TPixel : unmanaged, IPixel < TPixel >
35
35
=> WithSeekableStreamAsync (
36
36
options ,
@@ -39,7 +39,7 @@ public Task<Image<TPixel>> DecodeAsync<TPixel>(DecoderOptions options, Stream st
39
39
cancellationToken ) ;
40
40
41
41
/// <inheritdoc/>
42
- public Task < Image > DecodeAsync ( DecoderOptions options , Stream stream , CancellationToken cancellationToken )
42
+ public Task < Image > DecodeAsync ( DecoderOptions options , Stream stream , CancellationToken cancellationToken = default )
43
43
=> WithSeekableStreamAsync (
44
44
options ,
45
45
stream ,
@@ -54,7 +54,7 @@ public IImageInfo Identify(DecoderOptions options, Stream stream)
54
54
s => this . Identify ( options , s , default ) ) ;
55
55
56
56
/// <inheritdoc/>
57
- public Task < IImageInfo > IdentifyAsync ( DecoderOptions options , Stream stream , CancellationToken cancellationToken )
57
+ public Task < IImageInfo > IdentifyAsync ( DecoderOptions options , Stream stream , CancellationToken cancellationToken = default )
58
58
=> WithSeekableStreamAsync (
59
59
options ,
60
60
stream ,
0 commit comments