| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2 days | Update MediaBrowser.Controller/Drawing/ImageHelper.cs | Cody Robibero | |
| Co-authored-by: Tim Eisele <Tim_Eisele@web.de> | |||
| 5 days | Stop image endpoints from upscaling beyond the source resolution | vavallee | |
| ImageHelper.GetNewImageSize passed the caller-supplied width/height straight through to SkiaEncoder.EncodeImage, which allocates an SKImageInfo of exactly that size. Nothing bounded those values against the source image, so a request like Items/<id>/Images/Primary?width=23100&height=23100 made the server allocate and resample a 23100x23100 surface from, say, a 600x336 poster: the reporter measured 100% of a core for 10-15 minutes and 6-12 GB resident per request. The item images endpoints do not require authentication, so any caller who knows an item id can trigger this, and varying the size by one pixel misses the cache every time. Add DrawingUtils.ScaleDownToFit, which scales a size down uniformly until it fits inside a bounding box and returns it unchanged if it already does, and apply it in GetNewImageSize against the original image dimensions. Requests that ask for more pixels than the source now get the source resolution back, scaled to the requested aspect ratio. Downscaling paths are untouched, and DrawingUtils.Resize keeps its existing behaviour for the transcoding callers in EncodingJobInfo and StreamInfo, which legitimately size video output. ResizeFill already refused to upscale; this makes width/height consistent with fillWidth/fillHeight. Fixes #17056. | |||
| 2025-03-25 | Fixed namespaces | JPVenson | |
| 2024-10-09 | Naming refactoring and WIP porting of new interface repositories | JPVenson | |
| 2024-02-06 | Remove some unused drawing code | Patrick Barron | |
| 2023-10-18 | Merge branch 'master' into trickplay | Nick | |
| 2023-10-08 | Jellyfin.Drawing minor improvements | Bond_009 | |
| Reduce duplicate/dead code | |||
| 2023-09-12 | Merge pull request #10056 from Bond-009/nullable2 | Bond-009 | |
| 2023-08-22 | Enable nullable for more files and add tests | Bond_009 | |
| Adds basic tests for FFProbeVideoInfo.CreateDummyChapters Fixed error message CreateDummyChapters instead of reporting the total minutes it only reported the minute component | |||
| 2023-07-29 | Enable nullable for more files | Bond_009 | |
| 2023-06-26 | Migrate to trickplay table to EF. Rename vars/methods/members to have ↵ | Nick | |
| consistent use of tile and thumbnail | |||
| 2023-06-22 | Move SkiaSharp related code to Jellyfin.Drawing and IImageEncoder | Nick | |
| 2023-01-28 | Remove ability to add a played indicator to images (#9186) | Cody Robibero | |
| 2022-12-05 | Replace == null with is null | Bond_009 | |
| 2022-06-29 | Merge pull request #7946 from cvium/svg | Cody Robibero | |
| (cherry picked from commit 4ebe70cf6a12be4f4eae0b815a269a483ee238bb) Signed-off-by: Joshua Boniface <joshua@boniface.me> | |||
| 2022-01-10 | Fix release build | Cody Robibero | |
| 2022-01-10 | Suggestions from review | Cody Robibero | |
| 2022-01-04 | Clean up | Cody Robibero | |
| 2022-01-04 | Add missing xml doc | David Ullmer | |
| 2022-01-04 | Remove darkening filter from Splashscreen | David Ullmer | |
| Using the foregroundLayer parameter has the same effect | |||
| 2022-01-04 | Remove splashscreen generation from IImageEncoder and add IImageGenerator | David Ullmer | |
| 2022-01-04 | Always use 1080p, add max parental rating | David Ullmer | |
| 2022-01-04 | Add splashscreen builder | David Ullmer | |
| 2021-12-27 | Remove more warnings | Cody Robibero | |
| 2021-09-24 | Use new Enum.TryParse(ReadOnlySpan<char>) overload | Bond_009 | |
| 2021-09-24 | Target net6.0 | Bond_009 | |
| 2021-07-24 | Fix warnings in MediaBrowser.Controller/Drawing | Rich Lander | |
| 2021-06-11 | Remove useless nullable directives | Bond_009 | |
| 2021-05-11 | Reduce warnings in MediaBrowser.Controller (#6006) | Cody Robibero | |
| Co-authored-by: Patrick Barron <18354464+barronpm@users.noreply.github.com> | |||
| 2021-05-07 | Enable nullable reference types for MediaBrowser.Controller | Bond_009 | |
| 2021-04-17 | Remove unused using directives | BaronGreenback | |
| 2021-04-11 | Apply suggestions from code review | Odd Stråbø | |
| Co-authored-by: Claus Vium <cvium@users.noreply.github.com> | |||
| 2021-04-11 | Remove GetSizeEstimate & GetEstimatedAspectRatio | Odd Stråbø | |
| from MediaBrowser.Controller.Drawing.ImageHelper Rework GetCacheFilePath to take requested with and height parameters in stead of using estimated output size | |||
| 2021-04-11 | (mostly)Fix ResizeFill | Odd Stråbø | |
| 2021-04-11 | Add Resize to fill box alternative to image endpoints | Odd Stråbø | |
| 2021-04-10 | Merge pull request #4988 from Bond-009/crop | Bond-009 | |
| 2021-03-06 | Enable nullable for Jellyfin.Data and remove unnecessary attributes | Patrick Barron | |
| 2021-01-09 | Remove CropWhitespace function | Bond_009 | |
| 2020-08-31 | Enable nullable for interface | David Ullmer | |
| 2020-08-31 | Merge branch 'master' into library-pictures | David Ullmer | |
| 2020-08-22 | Enable TreatWarningsAsErrors for MediaBrowser.Controller in Release | Bond_009 | |
| 2020-08-21 | Use backdrop with library name as library thumbnail | David | |
| 2020-06-20 | fix some documentation periods | telans | |
| 2020-06-16 | Merge pull request #3343 from telans/comment-stops | Bond-009 | |
| Add full stop at end of comments (SA1629) | |||
| 2020-06-16 | fix SA1513/SA1516 | telans | |
| 2020-06-16 | Add full stop at end of comments (SA1629) | telans | |
| 2020-06-04 | Merge branch 'master' into userdb-efcore | Patrick Barron | |
| # Conflicts: # Emby.Server.Implementations/EntryPoints/ServerEventNotifier.cs # Emby.Server.Implementations/Library/UserManager.cs # Emby.Server.Implementations/Sorting/IsFavoriteOrLikeComparer.cs # Emby.Server.Implementations/Sorting/IsPlayedComparer.cs # Emby.Server.Implementations/Sorting/IsUnplayedComparer.cs # Emby.Server.Implementations/TV/TVSeriesManager.cs # Jellyfin.Server.Implementations/Users/DefaultAuthenticationProvider.cs | |||
| 2020-06-01 | Move logic of computing Blurhash components to ImageProcessor | Vasily | |
| Also rename last few instances of GetImageHash to GetImageBlurHash for clarity | |||
| 2020-05-26 | Apply suggestions from code review | Vasily | |
| Co-authored-by: dkanada <dkanada@users.noreply.github.com> | |||
| 2020-05-22 | Warnings cleanup | Patrick Barron | |
