First, open the PS software, and drag the picture to be compressed to open it.
2. Then press Ctrl+Alt+Shift+S to open a window stored in Web format, click the optimization menu in the upper right corner, and click the optimization file size in the pop-up menu.
3. Enter the parameters that need to be compressed to approximate size in the required file size, and then click OK.
4. Finally, click the Save button to save it as a Web format window.