Struct forgery_detection_zero::Zero
source · pub struct Zero { /* private fields */ }Implementations
sourceimpl Zero
impl Zero
pub fn from_image(image: &DynamicImage) -> Self
sourcepub fn with_missing_grids_detection<'a>(
self,
jpeg_99: impl Into<Option<&'a DynamicImage>>
) -> Result<Self, Error>
pub fn with_missing_grids_detection<'a>(
self,
jpeg_99: impl Into<Option<&'a DynamicImage>>
) -> Result<Self, Error>
Enables the missing grids detection with the given image that represents the same image but compressed with a 99% quality.
Errors
It returns a error if the given image does not have the same dimension as the original image.
pub fn detect_forgeries(self) -> (ForeignGridAreas, Option<MissingGridAreas>)
Auto Trait Implementations
impl RefUnwindSafe for Zero
impl Send for Zero
impl Sync for Zero
impl Unpin for Zero
impl UnwindSafe for Zero
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more