Skip to content

[stable31] fix(blurhash): Use preview API to generate the previews - #52661

Merged
artonge merged 2 commits into
stable31from
backport/52360/stable31
May 6, 2025
Merged

[stable31] fix(blurhash): Use preview API to generate the previews#52661
artonge merged 2 commits into
stable31from
backport/52360/stable31

Conversation

@backportbot

Copy link
Copy Markdown

Backport of PR #52360

artonge added 2 commits May 6, 2025 12:19
This allows callers to use the API without increasing the disk usage.
Example: blurhash generation, where we request a preview for all uploaded pictures, but don't want to necessarily store that preview.
Signed-off-by: Louis Chemineau <louis@chmn.me>
This allows to benefit from all the checks done by the preview API.
This also use the newly introduced `cacheResult` argument to limit disk usage.
Signed-off-by: Louis Chemineau <louis@chmn.me>
@backportbotbackportbotBot added bug enhancement 3. to review Waiting for reviews feature: previews and thumbnails php Pull requests that update Php code labels May 6, 2025
@backportbotbackportbotBot added this to the Nextcloud 31.0.5 milestone May 6, 2025
@artonge
artonge merged commit 6b4de84 into stable31May 6, 2025
@artonge
artonge deleted the backport/52360/stable31 branch May 6, 2025 15:44
@blizzzblizzz mentioned this pull request May 6, 2025
10 tasks
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviewsbugenhancementfeature: previews and thumbnailsphpPull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@artonge@come-nc