Commit Graph

58 Commits

Author SHA1 Message Date
Cody Robibero
8a36fe7ed5 Use png for storage 2022-01-10 17:01:17 -07:00
Cody Robibero
ecb73168b3 Suggestions from review 2022-01-10 08:26:30 -07:00
David Ullmer
3fb3ee074a Remove splashscreen generation from IImageEncoder and add IImageGenerator 2022-01-04 08:20:16 -07:00
David Ullmer
4ba168c8a1 Add splashscreen builder 2022-01-04 08:20:16 -07:00
Bond_009
981cf4cfa0 Remove our own RemoveDiacritcs string extension in favor of Diacritics.Net 2021-06-22 09:48:40 +02:00
Bond-009
b2fbf97abd
Merge pull request #4988 from Bond-009/crop 2021-04-10 02:57:43 +02:00
Bond_009
a8ed753f6c FxCop -> Net Analyzers (part 2) 2021-03-13 22:33:28 +01:00
Bond_009
620fbf0f89
Remove CropWhitespace function 2021-01-09 10:51:59 +01: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
David
a3020f2917 Use backdrop with library name as library thumbnail 2020-08-21 19:53:55 +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
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
196e8e131a Convert to using declarations 2020-07-19 14:12:53 -04: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
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
Bond_009
4419587c2a Minor improvements 2020-04-01 15:30:53 +02:00
Bond_009
ddf9b38799 Simplify image processing by removing image enhancers 2020-01-21 20:26:30 +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
2c3e1b8562 Enable StyleCop analyzer and fix existing issues 2019-12-14 11:04:22 +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
318b9949f2 Improve Skia error handling (#1752) 2019-09-15 00:27:42 -04:00
Bond-009
82f041d050
Merge branch 'master' into release-10.3.z 2019-07-06 23:08:52 +02:00
DrPandemic
394d96246b
Check path before opening image 2019-06-24 20:13:07 -04:00
Bond_009
aa30227545 Improve main code flow
Improved the way how some parts of the code depend on eachother
Fixed some style issues
2019-06-09 23:51:52 +02:00