Originally Posted by maruashok
and how to do this ?
i am programmer and know basic python, will you please help me.
i tried this from google
ffmpeg -hide_banner -f rawvideo -vcodec rawvideo -pix_fmt bgr24 -skip_initial_bytes 1024 -s 1080x1920 -i splash.img -vframes 1 -y output_splash.png
Source : https://forum.fairphone.com/t/fp2-ch...lash-img/29758
RGB24,RGB565 formats could be found at Samsung, Huawei, FairPhone etc. Xiaomi puts 3 or 4 BMPs as part of splash.img. In your case (mido) uses 2 RLE24 pictures and 1kb header.
There are already splash maker for mido: redmi-note-4-splash
If you delete/comment line 48 in create-logo.bat, like ":: del /Q temp\* 2>NUL", you could see those two RLE24s named as logo.img and fastboot.img. Resolution is 1080x1920.
In this case Python 2.7 is used to convert custom png to rle24.
Modded Redmi 6 to Redmi Note 4x logo changer