chef 3749 Posted December 25, 2017 Share Posted December 25, 2017 Say, how are you guys processing images in .netcore? Any recommended libraries, or namespaces to check out since the old non-conforming/non-cross-platform Image namespaces don't exist in .netcore 1.3. It took me a while to remember how to use HttpClient instead of WebClient (anyone else miss the easy WebClient object?) Anyway, my plugin needs some extra image processing so I thought I'd ask since we're all coding .netcore here Link to comment Share on other sites More sharing options...
pünktchen 1259 Posted December 25, 2017 Share Posted December 25, 2017 SkiaSharp (https://developer.xamarin.com/api/namespace/SkiaSharp/) because Emby already ships the library. 1 Link to comment Share on other sites More sharing options...
chef 3749 Posted December 25, 2017 Author Share Posted December 25, 2017 SkiaSharp (https://developer.xamarin.com/api/namespace/SkiaSharp/) because Emby already ships the library. What is the emby namespace dir to find those objects? Link to comment Share on other sites More sharing options...
Luke 37139 Posted December 25, 2017 Share Posted December 25, 2017 Plugins shouldn't be using image processing directly because the library that is used will vary per platform. Link to comment Share on other sites More sharing options...
chef 3749 Posted December 25, 2017 Author Share Posted December 25, 2017 Plugins shouldn't be using image processing directly because the library that is used will vary per platform. Cool! Was just going to check byte data coming from a stream and make sure it was actually an image, and not corrupted. Instead I'll count the byte array length and log it. Many thanks guys! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now