Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tgucio committed May 17, 2023
1 parent 7661e29 commit 7a76d38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/formats.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ Image? decodeJpg(Uint8List bytes);
// Decode an image file directly from the file on platforms that support dart:io.
Future<Image?> decodeJpgFile(String path) async;
Uint8List encodeJpg(Image image, { int quality = 100 });
Uint8List encodeJpg(Image image, { int quality = 100, chroma: JpegChroma.yuv444 });
Future<bool> encodeJpgFile(String path, Image image, { int quality = 100 }) async;
Future<bool> encodeJpgFile(String path, Image image, { int quality = 100, chroma: JpegChroma.yuv444 }) async;
```
### PNG: decoding, encoding
```dart
Expand Down

0 comments on commit 7a76d38

Please sign in to comment.