No. sizeof() returns size of the object, not its data.
    
    
      
    
    
      
    
    
      
    
    
    
    
  
    
    
      
    
    
    
      
    
    
      
    
  If you want to know the size of an image in bytes you load into a QImage and use its byteCount() method.
Cheers,
_
leebandemaha (7th September 2013)
    
    
      
    
    
      
    
    
      
    
    
    
    
  
    
    
      
    
    
    
      
    
    
      
    
  However the size depends on the image format used and in most cases will be different than what size QPixmap occupies.
Bookmarks