Interface IPromptImageFormatConverter


  • public interface IPromptImageFormatConverter
    Computes the new format of an image, based on its current format.
    Since:
    8.5.0
    • Method Detail

      • computeNewFormat

        String computeNewFormat​(String format)
        Computes the new format of an image, based on its current format.
        Parameters:
        format - The current format, e.g. "png" or "jpeg".
        Returns:
        The new format, e.g. "png" or "jpeg".