Which sizes to put in
An ICO file holds the same picture at several sizes, and the program showing it picks the one that fits. Microsoft lists 16, 32, 48 and 256 pixels as the full set for a Windows app icon, and those four are ticked to start. For a website favicon, Google suggests a size larger than 48 pixels. Each size you add makes the file a little larger.
A picture that is not square
Icons are square. A wide or tall PNG is placed in the middle with see-through edges, so nothing is cut off; choose Crop the middle to fill the square to fill the whole icon instead. Fine detail disappears at 16 pixels, so a simple, bold shape reads best in a browser tab.
How the icon is stored
Sizes up to 128 pixels are stored as 32-bit pictures with a transparency mask, which every version of Windows reads. The 256-pixel size is stored compressed, as PNG, which Microsoft recommends for that size alone to keep the file small.
The new files are made in your browser from your images. Nothing is uploaded, and location and camera details (EXIF) are left out.