ImageFile
ImageFile is inherited from File with additional methods for working with image files.
ImageFile is generated when a DataChain is created from storage, using type="image" param:
    
              Bases: File
DataModel for reading image files.
Source code in datachain/lib/file.py
                    
                  
get_info() -> Image
Retrieves metadata and information about the image file.
Returns:
- 
Image(Image) βA Model containing image metadata such as width, height and format. 
Source code in datachain/lib/file.py
              
            
    
    Writes it's content to destination
Source code in datachain/lib/file.py
              
    
              Bases: DataModel
A data model representing metadata for an image file.
Attributes:
- 
          width(int) βThe width of the image in pixels. Defaults to -1 if unknown. 
- 
          height(int) βThe height of the image in pixels. Defaults to -1 if unknown. 
- 
          format(str) βThe format of the image file (e.g., 'jpg', 'png'). Defaults to an empty string.