Is this done through code line or image editor and resolution scale?
Second. I don't know where did you seen any code stuff related to this.