com.groupdocs.watermark.search

Interfaces

Classes

com.groupdocs.watermark.search

Class ImageThumbnailSearchCriteria



  • public class ImageThumbnailSearchCriteria
    extends ImageSearchCriteria

    Represents search criteria for finding images in a content. This search criteria uses image binarized thumbnail for calculating image similarity.

    • Constructor Detail

      • ImageThumbnailSearchCriteria

        public ImageThumbnailSearchCriteria(String filePath)

        Initializes a new instance of the ImageThumbnailSearchCriteria class.

        Parameters:
        filePath - The file path to load image from.
      • ImageThumbnailSearchCriteria

        public ImageThumbnailSearchCriteria(InputStream stream)

        Initializes a new instance of the ImageThumbnailSearchCriteria class.

        Parameters:
        stream - The stream to load image from.
    • Method Detail

      • getThumbnailSize

        public final byte getThumbnailSize()

        Gets thumbnail size.

        Returns:
        By default 32X32 thumbnail will be used.
      • setThumbnailSize

        public final void setThumbnailSize(byte value)

        Sets thumbnail size.

        Parameters:
        value - By default 32X32 thumbnail will be used.