Hi, I wonder which is better option for download thumbnails for my items list in Flutter app. For example when I set quality parameter to 10, Will request take longer than without quality parameter? Second option I'm considering is compress image in my app and always download in full quality.
which is better option for download thumbnails for my items list in Flutter app.
In general, I think it's good to use the preview endpoint.
For example when I set quality parameter to 10, Will request take longer than without quality parameter?
There's a tradeoff. changing the quality might take more time to process the file, but the file size could be smaller so network bandwidth could be less. Keep in mind, Appwrite caches files on the server too so the file processing would only be done once.
Second option I'm considering is compress image in my app and always download in full quality.
I prefer processing the file server-side because devices may not have enough resources to process the file without lagging the device.
Recommended threads
- Images/Videos in storage appearing broke...
I am running into a storage issue after upgrading my self-hosted Appwrite instance , all of my previously uploaded images and videos are now showing as broken i...
- `project_id_missing` in Cloud Function w...
I've got a cloud function written in `Dart-3.12` that I'm trying to create a file in a file bucket. I'm using the latest `dart_appwrite` sdk (`26.1.0`) and App...
- Batch Size of Bulk Operations
Is there any way to increase the Batch Size of Bulk Operations on Appwrite Self Hosted? When I try to perform more than 100 operations per batch, I get the foll...