What are the supported formats and sizes for album covers?

What are the supported formats and sizes for album covers?

The album cover size should be at least 300x300px. Accepted image formats are JPG and PNG.