The test to reproduce this issue:
[TestMethod]
public void CyrillicFileNameTest() {
string cyrillicFileName = Path.Combine(TestContext.TestDir, "Кириллический файл.pdf");
File.CreateText(cyrillicFileName);
try {
Assert.IsTrue(File.Exists(cyrillicFileName));
using (var images = new ImageMagick.MagickImageCollection()) {
images.Add(cyrillicFileName);
}
} catch (Exception exception) {
Assert.Fail("Exception: {0}", exception.Message);
}
}
This will throw "No such file or directory @ error/pdf.c/ReadPDFImage/713" error when run. Proper pdf file with Cyrillic name will fail the same way.
Comments: ** Comment from web user: dlemstra **
[TestMethod]
public void CyrillicFileNameTest() {
string cyrillicFileName = Path.Combine(TestContext.TestDir, "Кириллический файл.pdf");
File.CreateText(cyrillicFileName);
try {
Assert.IsTrue(File.Exists(cyrillicFileName));
using (var images = new ImageMagick.MagickImageCollection()) {
images.Add(cyrillicFileName);
}
} catch (Exception exception) {
Assert.Fail("Exception: {0}", exception.Message);
}
}
This will throw "No such file or directory @ error/pdf.c/ReadPDFImage/713" error when run. Proper pdf file with Cyrillic name will fail the same way.
Comments: ** Comment from web user: dlemstra **
Did you install Ghostscript and are you using the latest version of Magick.NET?