Generate different sizes with "ionic resource --resouce_name"?


It’s possible to generate different size of a resource with ionic resource CLI ?
I put some resources inside resource folder and I executed the ionic resource but only icon and splash are generated.


Hi @selmanon, what other resources are you thinking about?


every .png is a resource :slight_smile:


sry, maybe I formulated my question wrong :wink: I was wondering why you would want any other resources to be resized? For what purpose?

If you use an img in your application, it is best is to use simple css to restyle it according to your needs.


in Android as iOS every resource must have it’s different size ldpi/mdpi/xhdpi/… I don’t think if css can do that ?


You can style you apps differently for iOS and android. Maybe this helps?