MacOS – What are the dimensions for the apple dock icons

dockjavamacos

I have figured out how to change the icon for my program that I made in java, but now the default icon goes and nothing is there, is it because of the incorrect dimensions? I currently have a 16×16 logo, is anyone able to help me with what the dimensions need to do in order for it to display correctly?

Additional Note: The icon is a .png file if that helps in any way.

Best Answer

An app's Dock Tile Icon should be 1024 × 1024.

For more information about customising your Dock Tile, see the documentation:

Keep in mind that implementation (software development) is off-topic here.