We need to add the allowed images types with FigureFormatValidationResult object
FigureFormatValidationResult