Jim Bennett
Xamarin MVP Microsoft MVP

Mobile developer at EROAD, Xamarin MVP and Certified Developer, Microsoft MVP, author of Xamarin In Action, blogger, speaker, father and lover of beer, whisky and Thai food. Opinions are my own.

  Auckland, New Zealand
See me soon at:
NDC Sydney 2017
Xamarin In Action
  Xamarin In Action
  Twitter
  GitHub
  LinkedIn
  YouTube
  Email
  CV

When developing for iOS there are a number of different image sizes needed. Just for the springboard icon you need different sizes for iPhones and iPads, both retina and normal versions. When you add spotlight icons (again both retina and normal), iTunes icons the list gets huge.

To help with this and to practice my Node.js skills, I created a node app that does it for you. It's based on the default express app, you give it an image file and it downlods you a zip file containing all the possible image sizes you could want all named correctly.
The code uses Express 3. I know express 4 is out, but 4 doesn't support file uploads using body-parser. When I work out how to do it, I'll update the code.

This is built using the Node.js tools for Visual Studio but the code will run with any node install. You will need ImageMagick installed to make it work.

Clone it from my GitHub




About the Author

Jim Bennett

International C# and Xamarin geek - Microsoft MVP, Xamarin MVP and Certified Developer, blogger, speaker, father and lover of beer, whisky and Thai food

 

When developing for iOS there are a number of different image sizes needed. Just for the springboard icon you need different sizes for iPhones and iPads, both retina and normal versions. When you add spotlight icons (again both retina and normal), iTunes icons the list gets huge.

To help with this and to practice my Node.js skills, I created a node app that does it for you. It's based on the default express app, you give it an image file and it downlods you a zip file containing all the possible image sizes you could want all named correctly.
The code uses Express 3. I know express 4 is out, but 4 doesn't support file uploads using body-parser. When I work out how to do it, I'll update the code.

This is built using the Node.js tools for Visual Studio but the code will run with any node install. You will need ImageMagick installed to make it work.

Clone it from my GitHub