Class ImageInfo

java.lang.Object
com.dynamicpdf.api.Endpoint
com.dynamicpdf.api.ImageInfo

public class ImageInfo extends Endpoint
Represents an image information endpoint.
  • Constructor Details

    • ImageInfo

      public ImageInfo(ImageResource resource)
      Initializes a new instance of the ImageInfo class.
      Parameters:
      resource - The image resource of type ImageResource.
  • Method Details

    • process

      public ImageResponse process()
      Process the image resource to get image's information.
      Returns:
      The image resource to get image's information.
    • processAsync

      public CompletableFuture<ImageResponse> processAsync()
      Process the pdf resource to get image's information.
      Returns:
      collection of ImageResponse as multithreading tasks CompletableFuture.