Skip to content

Commit

Permalink
next release removed unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
awxkee committed Dec 6, 2022
1 parent acfd2aa commit 32261f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ at the time of writing.

```swift
// Decompress data
let uiImage: UIImage? = AVIFDecoder().decode(Data(), sampleSize: .zero) // or any max CGSize of image
let uiImage: UIImage? = AVIFDecoder.decode(Data(), sampleSize: .zero) // or any max CGSize of image
// Compress
let data: Data = try AVIFEncoder().encode(image: UIImage())

Expand Down

0 comments on commit 32261f1

Please sign in to comment.