How to convert slightly larger images on


I have a 320 * 240 picture. When the downloaded C file is larger than 4MB, the downloaded file will fail. It says
“Is a not supported image type. Use png, jpg, jpeg or bmp”
When I cropped the picture a little to make it smaller than 4MB, the download was successful

What MCU/Processor/Board and compiler are you using?


What do you want to achieve?

I want to download C file successfully

What have you tried so far?

I tried 320*220 picture, download C file successfully

Code to reproduce

Screenshot and/or video

You can use offline tools.
The same problem to me .but I used the offline tools,that you can find it in this website.

Which URL?thanks

By the way, we’re aware that the online image converter has issues with larger images. We’re planning to rewrite it soon, which should fix that problem. (The new version should be fully backwards-compatible.)

thank you!!!