Commit Graph

68 Commits

Author SHA1 Message Date
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
Bond_009
2fcbc2a5b8 Enable nullabe reference types for Emby.Drawing and Jellyfin.Drawing.Skia 2020-04-05 21:19:04 +02:00
Mark Monteiro
07cebbeae2 Register and construct IImageProcessor, SqliteItemRepository and IImageEncoder correctly 2020-04-04 17:12:24 -04:00
dkanada
5a816f0b22
Merge pull request #2731 from Bond-009/minor2
Minor improvements
2020-04-03 01:41:05 +09:00
Bond_009
4419587c2a Minor improvements 2020-04-01 15:30:53 +02:00
Unknown
55ddda09c4 Update Jellyfin.SkiaSharp.NativeAssets.LinuxArm to version 1.68.1 2020-03-31 08:25:35 +02:00
Bond-009
a2490a7ae5
Merge branch 'master' into images 2020-02-12 17:41:46 +01:00
Bond_009
87d2479b78 Fix warnings 2020-01-31 22:26:53 +01:00
Bond_009
2186df8ac4 Update deps 2020-01-28 22:42:07 +01:00
Bond_009
ddf9b38799 Simplify image processing by removing image enhancers 2020-01-21 20:26:30 +01:00
Mark Monteiro
47805d89fe Set CA1032 (Implement standard exception constructors) severity to info globally
This replaces the existing [SurpressMessage] attribute
2019-12-14 16:01:24 +01:00
Mark Monteiro
4c30557527 Remove commented code 2019-12-14 15:48:35 +01:00
Mark Monteiro
f7eef1aa7f Use the correct verbiage for documenting thrown exceptions 2019-12-14 15:47:35 +01:00
Mark Monteiro
c1c1672d0f Fix remaining StyleCop warnings 2019-12-14 12:20:52 +01:00
Mark Monteiro
c05933234a Enable TreatWarningsAsErrors flag is project file 2019-12-14 11:46:25 +01:00
Mark Monteiro
2c3e1b8562 Enable StyleCop analyzer and fix existing issues 2019-12-14 11:04:22 +01:00
Mark Monteiro
b8c8d45b8d Enable Serilog and multithreading analyzer 2019-12-14 10:53:54 +01:00
Mark Monteiro
0cf9e59d5a Enable FxCop Analysis and fix issues 2019-12-13 21:17:05 +01:00
Mark Monteiro
88928118eb Add missing documentation in Jellyfun.Drawing.Skia 2019-12-13 20:57:23 +01:00
Bond_009
a245f5a0d4 Rewrite hex encoder/decoder 2019-11-01 17:52:29 +01:00
Bond-009
318b9949f2 Improve Skia error handling (#1752) 2019-09-15 00:27:42 -04:00
Bond_009
838e5d05d5 Document all public/internal members of Emby.Drawing
Forces all new public/internal members to be documented.
Enables TreatWarningsAsErrors for Emby.Drawing
2019-08-11 16:52:37 +02:00
Bond-009
82f041d050
Merge branch 'master' into release-10.3.z 2019-07-06 23:08:52 +02:00