def read_format_to_export_an_image(self): """ This method reads the format to export an image file from one format to another Return: new_format.- String with the new format to convert the image """ image_handler = ImageHandler() msg_to_display = "Insert the format to export an image file from one format to another: " new_format = self.read_value_from_user(msg_to_display) if (image_handler.validate_format_inserted(new_format) == True): return new_format else: return "Incorrect format"