pub struct ExtractCommand<'a> { /* private fields */ }Expand description
Command for extracting image data from TIFF files
Implementations§
Source§impl<'a> ExtractCommand<'a>
impl<'a> ExtractCommand<'a>
Sourcepub fn new(args: &ArgMatches, logger: &'a Logger) -> TiffResult<Self>
pub fn new(args: &ArgMatches, logger: &'a Logger) -> TiffResult<Self>
Trait Implementations§
Source§impl<'a> Command for ExtractCommand<'a>
impl<'a> Command for ExtractCommand<'a>
Source§fn execute(&self) -> TiffResult<()>
fn execute(&self) -> TiffResult<()>
Execute the extract command
This is the main entry point for the extract command. It determines the extraction region, handles colormap extraction if requested, and then performs either image or array extraction.
§Returns
Result indicating success or an error
Auto Trait Implementations§
impl<'a> Freeze for ExtractCommand<'a>
impl<'a> RefUnwindSafe for ExtractCommand<'a>
impl<'a> Send for ExtractCommand<'a>
impl<'a> Sync for ExtractCommand<'a>
impl<'a> Unpin for ExtractCommand<'a>
impl<'a> UnsafeUnpin for ExtractCommand<'a>
impl<'a> UnwindSafe for ExtractCommand<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more