nextcloud / android

📱 Nextcloud Android app
https://play.google.com/store/apps/details?id=com.nextcloud.client
GNU General Public License v2.0
4.26k stars 1.77k forks source link

Implement BlurHash placeholders for image preview #12214

Open PhilippSchlesinger opened 11 months ago

PhilippSchlesinger commented 11 months ago

Is your feature request related to a problem? Please describe.

Image previews (thumbnails) need some time to load.

Describe the solution you'd like

Make use of BlurHash (https://blurha.sh/, BlurHash is a compact representation of a placeholder for an image) in Nextcloud Client using metadata available from the server via https://github.com/nextcloud/server/pull/41044

Describe alternatives you've considered

none come to mind

Additional context

example: 286603067-c1faab01-9ce3-4a97-b79c-2f3555331a0e

satvik2131 commented 11 months ago

Hi , I would like to implement this feature , can you give me a bit more guidance on it ?

PhilippSchlesinger commented 10 months ago

I have just some small hints:

Nextcloud Server starting from release 28 exposes Files Metadata API integrated with WebDAV.

Here is an example retrieving metadata directly on the server.