chore: Update image dependency to 4.0.15

Signed-off-by: Kristian Grønås <Kristian.Gronas@student.uib.no>
This commit is contained in:
Kristian Grønås 2023-03-23 15:57:41 +01:00 committed by Kristian
parent cd6525eedb
commit 101e892cd9
No known key found for this signature in database
GPG Key ID: 1590C26483869A7A
2 changed files with 2 additions and 2 deletions

View File

@ -259,7 +259,7 @@ class MatrixImageFile extends MatrixFile {
height: image.height > image.width ? arguments.maxDimension : null,
width: image.width >= image.height ? arguments.maxDimension : null);
final encoded = encodeNamedImage(resized, arguments.fileName);
final encoded = encodeNamedImage(arguments.fileName, resized);
if (encoded == null) return null;
final bytes = Uint8List.fromList(encoded);
return MatrixImageFileResizedResponse(

View File

@ -19,7 +19,7 @@ dependencies:
html: ^0.15.0
html_unescape: ^2.0.0
http: ^0.13.0
image: ^3.1.1
image: ^4.0.15
js: ^0.6.3
markdown: ^4.0.0
matrix_api_lite: ^1.6.1