The minimal size of image data, in bytes, to be considered during a search. A non‑zero value specifies the minimal size; the default is zero, which does not affect the search result.
The flag to return only signatures marked as IsSignature. By default the value is False, which indicates that all signatures matching the specified criteria are returned. (inherited from SearchOptions)
Example
fromgroupdocs.signatureimportSignaturefromgroupdocs.signature.optionsimportImageSearchOptionsdefextract_image_signatures():withSignature("signed.pdf")assignature:options=ImageSearchOptions()options.all_pages=False# search the first page onlyoptions.page_number=1options.min_content_size=1024# skip images smaller than 1 KBoptions.return_content=Trueoptions.return_content_type=FileType.PNGresult=signature.search([options])fori,imageinenumerate(result.signatures,start=1):file_name=f"image_signature_{i}.png"withopen(file_name,"wb")asout:out.write(image.content)