I draw in the application illustrator, but there is always a problem with developers. When I cut png for them, then the export size is obtained more than on the concept screen. How to draw better? The minimum size of the application and then stretch it or the maximum and then reduce it. In the new version of the illustrator, a plugin has appeared which exports but for some reason it does not work out in size. Help all you can)))
- And why exactly in PNG? If you work in Illustrator, you can also export to SVG format, and then insert it in the development environment. In Androide, it is even easier to use pictures in the SVG format, since the peripherals of the devices are too large, with different screens. :) - alex11
- PNG because the developer so requires) - Mais Tazagulyan
1 answer
Try this script mobile-export-scripts-illustrator
It allows you to export an image in different sizes, which are then automatically selected on the device in accordance with the size of its screen.
ββββAndroid β ββββdrawable-mdpi β β ββββapp-icon.png β ββββdrawable-hdpi β β ββββapp-icon.png β ββββdrawable-xhdpi β β ββββapp-icon.png β ββββdrawable-xxhdpi β β ββββapp-icon.png β ββββdrawable-xxxhdpi β β ββββapp-icon.png ββββiOS ββββapp-icon.png ββββapp-icon@2x.png ββββapp-icon@3x.png
The order of installation and use is on the project page.
- In the new illustrator there is a plugin that already exports for iPhones and Android, but why the size does not match when the application is built. So the question arose to better draw the minimum and then increase it? - Mais Tazagulyan
- @ Mais Tazagulyan show an example of what happens and what should be - CarryFlag
- unfortunately there is no assembled application yet - Mais Tazagulyan