pub trait Imsz { // Required method fn imsz(self) -> ImResult<ImInfo>; }
Trait to provide generic imsz() function for paths, buffers, and readers.
WARNING: This looses already buffered input!