When you’re developing an Android mobile application, it is critical that you come up with a nice launcher icon for all possible Android screen densities. If you’re not too familiar with Android, there are mdpi, hdpi, xhdpi, xxhdpi, and xxxhdpi densities as of now. This number could change in the future.
Once you’ve got your icon, resampling or resizing it for each possible screen density can become a pain in the butt. Instead, it makes sense to use or create a script for this.
If you’ve been keeping up, you’ll remember I wrote about image generators in an article titled, Generating Splash Screens and Application Icons for NativeScript Mobile Apps. Since we’re talented developers, we’re going to create our own service this time around.
We’re going to see how to create a RESTful API that accepts an image and generates various sizes of that same image, bundled within a ZIP archive. We’re going to accomplish this task with Node.js and Express.Read More
Back in 2014 I started The Polyglot Developer on WordPress with the intention of documenting what I learn and helping others in the process. However, back then, it was not called The Polyglot Developer, but instead Nic Raboy’s Code Blog. The blog was later rebranded in early 2016, but the look and feel stayed the same.
I am pleased to announce the new version of The Polyglot Developer and a few important things that have changed with this version 2 release.Read More