: Https://github.com/rickytan/RTImageAssets Plug-in
This plugin is used to generate @2x and @1x versions of @3x's image resources, as long as you drag the HD map to the @3x location, and then press Ctrl+shift+a to automatically generate two low-clear fill slots. Of course you can also generate the @3x version from the @2x map, if you are not high on the quality of the picture.
Characteristics
- will only fill the empty space, if you have set up your own @2x map, it will not be generated;
- Automatically rename, keep the project clean (the N.imageset under the name of the picture changed to n.png [email protected] [email protected], etc.);
- Easy to use, no more trouble with the art students to zoom;
NEW Features!!!
Automatically generate all the required application icons. Press Ctrl+shift+option+a to open the App icon window, select Xcasset, then select Appiconset, drag the large 1024x1024 icon into the window, click Generate, Complete!
Note: The scaling of this plugin from @3x to @2x guarantees that the picture is the same as the physical size shown on the screen, not the same as the screen scale, which is 1.5 instead of 1242/640 = 1.94.
Set up
iOS automatically generates @2x and @3x map Xcode plugins rtimageassets