mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
[PR #547] [CLOSED] Switch to external library for getting image sizes #8375
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/547
Author: @Bond-009
Created: 1/11/2019
Status: ❌ Closed
Base:
dev← Head:imagesize📝 Commits (2)
e341701Switch to external libraryfor getting image sizesb2be514Cleanup ImageProcessor📊 Changes
7 files changed (+123 additions, -403 deletions)
View changed files
➖
Emby.Drawing/Common/ImageHeader.cs(+0 -243)📝
Emby.Drawing/Emby.Drawing.csproj(+4 -0)📝
Emby.Drawing/ImageProcessor.cs(+114 -155)📝
Emby.Drawing/NullImageEncoder.cs(+1 -1)📝
Emby.Server.Implementations/ApplicationHost.cs(+1 -1)📝
Emby.Server.Implementations/Dto/DtoService.cs(+2 -2)📝
MediaBrowser.Controller/Drawing/IImageProcessor.cs(+1 -1)📄 Description
I wrote ImageSize.Net from scratch to replace ImageHeader.cs which
supports only the most common versions of the image formats.
ImageSize.Net support more edge cases and has been heavily testing
(in contrast to ImageHeader.cs which was copied from SO)
Project link: https://github.com/Bond-009/ImageSize.Net
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.