Commit Graph

90 Commits

Author SHA1 Message Date
Bond_009 a8ed753f6c FxCop -> Net Analyzers (part 2) 2021-03-13 22:33:28 +01:00
Bond_009 9ed7f429c0 FxCop -> Net Analyzers (part 1) 2021-03-09 03:04:47 +01:00
nyanmisaka 4839c2006b fix boxes in library name backdrop for CJK character 2020-12-26 01:24:25 +08:00
crobibero ac2593e370 Set convolveAlpha to true 2020-12-11 08:06:04 -07:00
crobibero 73d2cb1c2a Updated based on review feedback 2020-11-13 18:04:06 -07:00
crobibero 95ebb9a55a Use null coalescing when possible 2020-11-13 11:24:46 -07:00
crobibero 5f52a58e78 Convert NullReferenceException to ResourceNotFoundException 2020-11-13 11:14:44 -07:00
crobibero a02514a114 Fix nullability errors in Jellyfin.Drawing.Skia 2020-11-13 08:34:34 -07:00
crobibero 83629ab6f2 Update packages to net5 2020-11-10 09:52:34 -07:00
Anthony Lavado 1f5ac19346
Merge pull request #3954 from Ullmie02/library-pictures
Use backdrop with library name as library thumbnail
2020-10-13 00:02:08 -04:00
dependabot[bot] e84cfc688b
Bump BlurHashSharp.SkiaSharp from 1.1.0 to 1.1.1
Bumps [BlurHashSharp.SkiaSharp](https://github.com/Bond-009/BlurHashSharp) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/Bond-009/BlurHashSharp/releases)
- [Commits](https://github.com/Bond-009/BlurHashSharp/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-28 14:48:34 +00:00
dependabot[bot] 5b6b66f7b3
Bump BlurHashSharp from 1.1.0 to 1.1.1
Bumps [BlurHashSharp](https://github.com/Bond-009/BlurHashSharp) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/Bond-009/BlurHashSharp/releases)
- [Commits](https://github.com/Bond-009/BlurHashSharp/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-28 12:00:43 +00:00
MrTimscampi 226e517f11 Update SkiaSharp.NativeAssets.Linux to 2.80.2 2020-09-18 10:02:15 +02:00
dependabot[bot] b83b8f5267
Bump SkiaSharp from 2.80.1 to 2.80.2
Bumps SkiaSharp from 2.80.1 to 2.80.2.

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-14 12:02:19 +00:00
David 9165dc3b3a Scale down text if too long 2020-08-22 14:31:28 +02:00
David d740e7aee6 Increase font size, center text 2020-08-21 20:36:56 +02:00
David a3020f2917 Use backdrop with library name as library thumbnail 2020-08-21 19:53:55 +02:00
cvium 1dcc678a6a Fix collages 2020-08-09 22:59:31 +02:00
Erwin de Haan 0f43780c8c
Apply suggestions from code review
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2020-08-02 12:43:25 +02:00
Erwin de Haan 44aca4dc6f Formatting in SkiaEncoder.cs 2020-07-31 22:12:20 +02:00
Erwin de Haan 526eea41f0 Add a note on the convolutional matrix filter. 2020-07-31 22:02:16 +02:00
Erwin de Haan af38e5469f
Update Jellyfin.Drawing.Skia/SkiaEncoder.cs indentation.
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-07-31 21:33:25 +02:00
Erwin de Haan 7ce99aaf78 Update SkiaSharp to 2.80.1 and replace resize code.
This fixed the blurry resized images in the Web UI.
2020-07-31 21:20:05 +02:00
cvium af274de77e Update BlurHashSharp and set max size to 128x128 2020-07-30 22:50:13 +02:00
Patrick Barron 36b05157f0 Rewrite CropWhitespace 2020-07-19 18:06:12 -04:00
Patrick Barron 4a356efa2c Make constructor one line 2020-07-19 17:59:54 -04:00
Patrick Barron b51a10948a Rewrite OrientImage 2020-07-19 17:59:33 -04:00
Patrick Barron 2569793ff0 Reuse paint objects. 2020-07-19 14:39:11 -04:00
Patrick Barron d983d65d8a Simplify return statements 2020-07-19 14:18:23 -04:00
Patrick Barron a9806d8f4a Convert to switch expressions 2020-07-19 14:16:33 -04:00
Patrick Barron 1be3e1e037 Remove unnecessary base constructor calls. 2020-07-19 14:14:44 -04:00
Patrick Barron 87b8a8d7c7 Simplify arithmetic 2020-07-19 14:13:56 -04:00
Patrick Barron bd77f1e84f Remove redundant casts 2020-07-19 14:13:18 -04:00
Patrick Barron 196e8e131a Convert to using declarations 2020-07-19 14:12:53 -04:00
dkanada 403cd3205f
Merge pull request #3254 from crobibero/ilogger
Use typed logger where possible
2020-06-13 00:29:43 +09:00
dependabot[bot] 00b340557f
Bump SkiaSharp.NativeAssets.Linux from 1.68.1 to 1.68.3
Bumps SkiaSharp.NativeAssets.Linux from 1.68.1 to 1.68.3.

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-11 12:18:07 +00:00
dependabot[bot] 81b1803153
Bump SkiaSharp from 1.68.1 to 1.68.3
Bumps SkiaSharp from 1.68.1 to 1.68.3.

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-11 10:30:13 +00:00
crobibero 44957c5a9a Use typed logger where possible 2020-06-05 18:15:56 -06:00
dkanada 8d7e9ab515 minor refactoring 2020-06-04 21:30:09 +09:00
Vasily 26eef1bbf8 Move logic of computing Blurhash components to ImageProcessor
Also rename last few instances of GetImageHash to GetImageBlurHash for clarity
2020-06-01 18:12:49 +03:00
Vasily a76cee7a95 Update BlurHashSharp to 1.0.1, remove workaround 2020-05-28 17:23:16 +03:00
Vasily f30b07130f Workaround a bug in BlurHashSharp 2020-05-27 19:29:57 +03:00
Vasily f575415e0b Pick blurhash sizes depending on image aspect ratio 2020-05-26 02:33:52 +03:00
Vasily 3fb4c1356c Make blurhash be computed during regular scans if it was not already computed 2020-05-20 23:50:17 +03:00
Vasily 186b7f303c More small optimizations 2020-05-19 15:08:43 +03:00
Vasily f18293bf76 Switch to BlurHashSharp lib which should be faster 2020-05-19 13:46:00 +03:00
Jesús Higueras b9fc0d2628 Add BlurHash support to backend 2020-05-18 23:21:37 +03:00
Bond_009 118f30059c Merge branch 'master' into nullable4 2020-04-23 11:29:19 +02:00
Bond-009 d744d7d234 Merge branch 'master' into register-services-correctly 2020-04-22 13:05:03 -04:00
Mark Monteiro c5f163293f Add <ProjectGuid> properties to all project files
This is required for SonarCloud analysis to run
2020-04-21 16:21:09 -04:00