Interface IPromptImageFormatConverter


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

    Modifier and Type
    Method
    Description
    Computes the new format of an image, based on its current format.
  • Method Details

    • 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".