Quantcast
Channel: magick Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 1011

Commented Unassigned: Cyrillic file names not supported [1240]

$
0
0
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: ssshuler **

Sorry, forgot to install Ghostscript in my new environment. This solves the issue however I'd suggest the error message to be more informative.

Thank you!


Viewing all articles
Browse latest Browse all 1011

Trending Articles