Text this: Structure and porosity of electrodeposited platinum