class documentation
Class for storing metadata about image samples.
Parameters | |
size | the size of the image on disk, in bytes |
mime | the MIME type of the image |
width | the width of the image, in pixels |
height | the height of the image, in pixels |
num | the number of channels in the image |
Class Method | build |
Builds an ImageMetadata object for the given image. |
Class Variable | height |
Undocumented |
Class Variable | num |
Undocumented |
Class Variable | width |
Undocumented |
Class Method | _build |
Undocumented |
Class Method | _build |
Undocumented |
Class Method | _build |
Undocumented |
Builds an ImageMetadata
object for the given image.
Parameters | |
img | an image, an image path on disk, or a URL |
mimeNone | the MIME type of the image. If not provided, it will be guessed |
Returns | |
an ImageMetadata |