# Uses of Enum
com.evopdf.ImageType

- ## Uses of ImageType in com.evopdf

  Methods in com.evopdf that return ImageType
  Modifier and Type
  Method
  Description
  `static ImageType`
  ImageType.`valueOf(String name)`
  Returns the enum constant of this type with the specified name.
  `static ImageType[]`
  ImageType.`values()`
  Returns an array containing the constants of this enum type, in the order they are declared.
  Methods in com.evopdf with parameters of type ImageType
  Modifier and Type
  Method
  Description
  `byte[]`
  HtmlToImageConverter.`convertHtml(String htmlString, String baseUrl, ImageType format)`
  Converts a HTML string to an image having the given format using a base URL to resolve external resources and returns the rendered image into a memory buffer
  `void`
  HtmlToImageConverter.`convertHtmlToFile(String htmlString, String baseUrl, ImageType format, String outFile)`
  Converts a HTML string to an image having the given format using a base URL to resolve external resources and writes the rendered image into a file
  `byte[][]`
  HtmlToImageConverter.`convertHtmlToImageTiles(String htmlString, String baseUrl, ImageType format)`
  Converts a HTML string to a set of images using a base URL to resolve external resources.
  `byte[]`
  HtmlToImageConverter.`convertUrl(String url, ImageType format)`
  Converts an URL to an image having the given image format and returns the rendered image into a memory buffer
  `void`
  HtmlToImageConverter.`convertUrlToFile(String url, ImageType format, String outFile)`
  Converts an URL to an image having the given format and writes the rendered image into a file
  `byte[][]`
  HtmlToImageConverter.`convertUrlToImageTiles(String url, ImageType format)`
  Converts an URL to a set of images.