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
- Appwrite (Dart SDK) (for package_info_pl...
Hi team! Many Flutter plugins now need package_info_plus 10.x and device_info_plus 13.x, but appwrite 25.4.0 still constrains package_info_plus: >=8.0.2 <10.0...
- 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...