[PR #547] [CLOSED] Switch to external library for getting image sizes #8375

Closed
opened 2026-02-07 05:43:00 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/547
Author: @Bond-009
Created: 1/11/2019
Status: Closed

Base: devHead: imagesize


📝 Commits (2)

  • e341701 Switch to external libraryfor getting image sizes
  • b2be514 Cleanup 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.

## 📋 Pull Request Information **Original PR:** https://github.com/jellyfin/jellyfin/pull/547 **Author:** [@Bond-009](https://github.com/Bond-009) **Created:** 1/11/2019 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `imagesize` --- ### 📝 Commits (2) - [`e341701`](https://github.com/jellyfin/jellyfin/commit/e3417019f34fff350b87f2e891dc3df8130239e9) Switch to external libraryfor getting image sizes - [`b2be514`](https://github.com/jellyfin/jellyfin/commit/b2be514286489cedc76c4b1f7c58a4c1258bc4f5) Cleanup ImageProcessor ### 📊 Changes **7 files changed** (+123 additions, -403 deletions) <details> <summary>View changed files</summary> ➖ `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) </details> ### 📄 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 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-07 05:43:00 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#8375