The separator was hardcoded to ':'. This will allow to reuse the function to parse sizes as WIDTHxHEIGHT.