From 13ac829bd7f6ba4f24cdce8e5b04975fb9ffc857 Mon Sep 17 00:00:00 2001 From: Carl Menke Date: Thu, 15 Aug 2024 23:25:27 -0700 Subject: [PATCH 1/2] reduced quality --- components/create/details.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/create/details.tsx b/components/create/details.tsx index 5bf2882..3eb4973 100644 --- a/components/create/details.tsx +++ b/components/create/details.tsx @@ -75,7 +75,7 @@ const Details = ({ const handlePromptImage = async () => { const response = await ImagePicker.launchImageLibraryAsync({ mediaTypes: ImagePicker.MediaTypeOptions.All, - quality: 1, + quality: 0.1, allowsMultipleSelection: true, selectionLimit: 3, }); From 2def58c32d7854894ce2d2d413de753e7fff137b Mon Sep 17 00:00:00 2001 From: Carlmenke Date: Sun, 1 Sep 2024 10:45:30 -0700 Subject: [PATCH 2/2] only image oops --- components/create/details.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/create/details.tsx b/components/create/details.tsx index f6a17d6..a3939fd 100644 --- a/components/create/details.tsx +++ b/components/create/details.tsx @@ -72,7 +72,7 @@ const Details = ({ const handlePromptImage = async () => { const response = await ImagePicker.launchImageLibraryAsync({ - mediaTypes: ImagePicker.MediaTypeOptions.All, + mediaTypes: ImagePicker.MediaTypeOptions.Images, quality: 0.1, allowsMultipleSelection: true, selectionLimit: 3,