Skip to content

Commit

Permalink
change bmp type to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
tiopex authored Oct 25, 2023
1 parent df704a6 commit 932f566
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion board/miyoo/scripts/genimage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ cp -r board/miyoo/boot "${BINARIES_DIR}"
cp -r board/miyoo/main "${BINARIES_DIR}"
mkdir -p "${BINARIES_DIR}/gmenu2x"
cp -r "${BINARIES_DIR}/gmenu2x" "${BINARIES_DIR}/main/"
convert board/miyoo/miyoo-boot.png -pointsize 12 -fill white -annotate +10+230 "v2.0.0-"`git rev-parse --short HEAD` -alpha off -strip -define bmp:subtype=RGB565 bmp2:"${BINARIES_DIR}"/boot/miyoo-boot.bmp
convert board/miyoo/miyoo-boot.png -pointsize 12 -fill white -annotate +10+230 "v2.0.0-"`git rev-parse --short HEAD` -alpha off -type truecolor -strip -define bmp:format=bmp4 -define bmp:subtype=RGB565 "${BINARIES_DIR}"/boot/miyoo-boot.bmp
support/scripts/genimage.sh ${1} -c board/miyoo/genimage-sdcard.cfg

0 comments on commit 932f566

Please sign in to comment.