Dimensions, resolution and DPI
Dimensions are the pixel width and height. DPI is only a print setting that says how many of those pixels to fit in an inch; changing it alone doesn't change the file. To make an image smaller on screen or in bytes, reduce its dimensions.