Page 1 of 1

I cannot build my project anymore

Posted: 20 December 2024, 14:21
by YoannLevet
Hi evryone.

Since today, when I try to build my project I have this error message :

Convert images
convert-im6.q16: no images defined `/var/tournoi/release/games/gammelogic/241220-1419/img/bird_laws.png.webp' @ error/convert.c/ConvertImageCommand/3229.

I don't update my images for a while, I don't understand why this is not working anymore.

Yoann

Re: I cannot build my project anymore

Posted: 20 December 2024, 15:40
by thoun
The new thing on BGA side is that now we detect build errors, and errors during image conversion to webp weren't catched before.
It uses imagemagick convert tool, and it's breaking on your file, but I can't get more details than the error you saw.
So, either the image file is a bit corrupted, either the tool cannot handle 27000px wide images.

Anyway, some phones have trouble loading image files more than 4000px wide, so I would recommend cutting it, or making it multiline.

If you don't want to do this, the easy solution would be to generate yourself a bird_laws.png.webp file you put on your img dir, in that case the build tool should not try to generate it.

Re: I cannot build my project anymore

Posted: 21 December 2024, 09:01
by YoannLevet
Oh yes, I have a very large picture. Thank you for your help I will change this.

Yoann

Re: I cannot build my project anymore

Posted: 21 December 2024, 11:16
by YoannLevet
It works! Thank you!

Yoann