There is a distinction between picture size and image dimension. First, the size of a picture on your website in terms of storage is determined by its file size, which is often expressed in KB (kilobytes) or MB (megabytes). Conversely, picture dimension describes the image's pixel-based width and height. It is wasteful to use photos of the wrong size, and this will cause the page to load more slowly.
An image's resolution or breadth establishes how many details it has. For the best presentation, certain parts of your website require different sizes. An enormous picture can negatively impact the visual style of your website, use up needless memory, and slow down the loading of pages.
In the meanwhile, the proportion of compression performed to the image file is determined by picture quality. Less information is lost in the image the greater the percentage.