Fixed the image range calculation as the Windows dir separator
is different than that of UNIX and that returned by QFileDialog.
Fixed the image range calculation as the Windows dir separator
is different than that of UNIX and that returned by QFileDialog.