From 5b7832084f07c6911709860ed1a22210429244e7 Mon Sep 17 00:00:00 2001 From: Christian Date: Sat, 14 Sep 2019 18:02:10 +0000 Subject: [PATCH] [Thumbnail] Change max width --- lib/src/Room.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/Room.dart b/lib/src/Room.dart index accfdde..b0e585f 100644 --- a/lib/src/Room.dart +++ b/lib/src/Room.dart @@ -282,8 +282,8 @@ class Room { // Try to manipulate the file size and create a thumbnail try { - Image image = copyResize(decodeImage(file.readAsBytesSync()), width: 800); - Image thumbnail = copyResize(image, width: 236); + Image image = copyResize(decodeImage(file.readAsBytesSync()), width: 1200); + Image thumbnail = copyResize(image, width: 800); file = File(path)..writeAsBytesSync(encodePng(image)); File thumbnailFile = File(path)