diff --git a/lib/upload_page.dart b/lib/upload_page.dart index cecabe4..05f5564 100644 --- a/lib/upload_page.dart +++ b/lib/upload_page.dart @@ -153,7 +153,7 @@ class _Uploader extends State { onPressed: () async { Navigator.pop(context); File imageFile = - await ImagePicker.pickImage(source: ImageSource.camera); + await ImagePicker.pickImage(source: ImageSource.camera, maxWidth: 1920, maxHeight: 1350); setState(() { file = imageFile; });