Credits: [GUIDE] How to Create Custom Splash Screen (Boot Logo) for Redmi 2 & Redmi 3 By GokulNC
make sure images you use are of resolution 720x1280
1.copy your custom images into images folder
2.rename them as logo.* and fastboot.*
(* is extension of images => png, jpg, jpeg, bmp, gif)
now there exsists 2 pics in 'images/' folder
logo.* and fastboot.*
3.run the script
4. output is in 'OUTPUT/' folder