Fix Linux path to thumbnail files
This commit is contained in:
parent
e7cd6decdb
commit
453faf853b
@ -8,7 +8,7 @@ namespace MyDarling.Services
|
||||
{
|
||||
using var input = File.OpenRead(inputPath);
|
||||
using var inputStream = new SKManagedStream(input);
|
||||
var outputPath = Path.GetDirectoryName(inputPath) + "\\" +
|
||||
var outputPath = Path.GetDirectoryName(inputPath) + "/" +
|
||||
Path.GetFileNameWithoutExtension(inputPath) + "_thumb.jpg";
|
||||
WriteResized(inputStream, 600, outputPath);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user