Bugfix : the image file was not saved if the path or the filename were containing non ASCII chars (seen on Winddows)

This commit is contained in:
Hombre
2010-09-13 01:27:06 +02:00
parent 632a4b3812
commit b3f44005bb
5 changed files with 53 additions and 46 deletions

View File

@@ -208,6 +208,9 @@ rtengine::ProcessingJob* BatchQueue::imageReady (rtengine::IImage16* img) {
// the same output filename with different extension
//processing->params.save (removeExtension(fname) + paramFileExtension);
processing->params.save (fname + paramFileExtension);
else {
printf("Unable to process or save %s\n", fname.c_str());
}
if (processing->thumbnail) {
processing->thumbnail->imageDeveloped ();
processing->thumbnail->imageRemovedFromQueue ();