Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
awxkee authored Mar 3, 2024
1 parent 8b12f7c commit e0a38d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ val bytes: ByteArray = JxlCoder.encode(decodedBitmap) // Encode Bitmap to JPEG X
# Construct from JPEG or Reconstruct JPEG from JXL
```kotlin
// Construct JPEG XL from JPEG data
val encoded = JxlCoder.construct(jpegByteArray)
val jxlData = JxlCoder.construct(jpegByteArray)
// Re-construct JPEG from JXL data
val reconstruct = JxlCoder.reconstructJPEG(jxlByteArray)
val jpegData = JxlCoder.reconstructJPEG(jxlByteArray)
```

# Animation Decoding
Expand Down

0 comments on commit e0a38d3

Please sign in to comment.