ImageSharp Issue with Linux! #2662
-
Im using ImageSharp for my discord bot and it works on windows of course but when i try to use on Linux it just doesnt do anything. I saw another post saying that it only works on .net core runtime so does that mean that i cant use .Net 6.0? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
By the way you have failed to provided any sort of detail on the actual issue you are having... if your hitting errors or not. What code your running etc. I would have to guess that its something else in your code that is broken on linux and nothing to do with image sharp. I hope you have validated your code works when skipping the imagesharp related code paths? and you have confirmed in your logs that any error are originating from inside imagesharp, please provide the errors/stack traces. Common gotchas for linux would be path/case sensitivity differences. If your using ImageSharp.Drawing to draw text assuming that certain fonts are installed on the host and installed in locations we can detect. |
Beta Was this translation helpful? Give feedback.
Sorry for the long reply as i didnt see this before, i actually just figured out why it wasnt working. I was looking for internal system fonts in my linux server and it doesnt have any so i had to path it to my folder with an added Font. Just replying now for any future people that couldnt solve this issue.