But Image Codes themselves are rendered as 2-3 characters wide, the way to write them is actually quite large, so complex station names can't be done

Image codes should be parsed as what their rendered version occupies, instead of what's the length of the string.
More info here: https://www.reddit.com/r/factorio/comme ... r_smaller/