Resolution is set when creating the image.
It can only be reduced after through loss of data/detail/resolution.
You can’t add more detail in after the fact as it has to come from somewhere.
This is why vector maps are superior to raster maps. Vector is scalable without loss of detail.
raster has a set limit when enlarging before it pixelates.