mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
[PR #2676] [MERGED] Implement Blurhash generation for images #9191
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/2676
Author: @GranPC
Created: 3/26/2020
Status: ✅ Merged
Merged: 6/2/2020
Merged by: @JustAMan
Base:
master← Head:public-pr/blurhash📝 Commits (10+)
b9fc0d2Add BlurHash support to backendfe480caAdd endpoint to update all items in library02da312Fix compilation after rebasebfb644dFix nullref exceptionf18293bSwitch to BlurHashSharp lib which should be fastera226a4eCompute hash only when one is not computed in DB, small optimizations here and there186b7f3More small optimizations2b1ae7aFix code smells3fb4c13Make blurhash be computed during regular scans if it was not already computed8b517e9Fix nullref for imageProcessor in LibraryManager📊 Changes
17 files changed (+339 additions, -38 deletions)
View changed files
📝
.vscode/tasks.json(+11 -1)📝
Emby.Drawing/ImageProcessor.cs(+21 -0)📝
Emby.Drawing/NullImageEncoder.cs(+6 -0)📝
Emby.Server.Implementations/Data/SqliteItemRepository.cs(+17 -12)📝
Emby.Server.Implementations/Dto/DtoService.cs(+79 -15)📝
Emby.Server.Implementations/Library/LibraryManager.cs(+89 -4)📝
Jellyfin.Drawing.Skia/Jellyfin.Drawing.Skia.csproj(+2 -0)📝
Jellyfin.Drawing.Skia/SkiaEncoder.cs(+15 -0)📝
MediaBrowser.Api/Images/ImageService.cs(+14 -5)📝
MediaBrowser.Controller/Drawing/IImageEncoder.cs(+9 -0)📝
MediaBrowser.Controller/Drawing/IImageProcessor.cs(+8 -0)📝
MediaBrowser.Controller/Entities/BaseItem.cs(+42 -0)📝
MediaBrowser.Controller/Entities/Folder.cs(+5 -0)📝
MediaBrowser.Controller/Entities/ItemImageInfo.cs(+6 -0)📝
MediaBrowser.Controller/Library/ILibraryManager.cs(+2 -1)📝
MediaBrowser.Model/Dto/BaseItemDto.cs(+7 -0)📝
MediaBrowser.Model/Dto/ImageInfo.cs(+6 -0)📄 Description
Changes
This PR adds preliminary support for generating blurhash thumbnails on the backend. I'm not done with it though, and there are a couple of things I'd like to get some feedback on.
Issues
Provides backend for #2569
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.