Save image by input name as jpg or to absolute path

Pass the filename’s String as an argument for dataPath(): :open_file_folder:

partialSave.save(dataPath(line));