BRT Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

Welcome to the Bridgetek Community!

Please read our Welcome Note

Technical Support enquires
please contact the team
@ Bridgetek Support

Please refer to our website for detailed information on all our products - Bridgetek - Bridging Technology

Author Topic: ERROR: unsupported JPEG in cmd_loadimage()  (Read 34 times)

christian

  • Newbie
  • *
  • Posts: 2
    • View Profile
ERROR: unsupported JPEG in cmd_loadimage()
« on: March 15, 2019, 08:04:09 AM »

Hi,

we are trying to display a jpeg image on a display connected to the BT815. But we got

Quote
ERROR: unsupported JPEG in cmd_loadimage()

followed by multiple

Quote
ERROR: display list overflow

The error message is clear but we can't find a reason why the jpg is not supported. The data sheet says that progressive jpeg is not supported but our jpeg is not progressive.

I attached the unsupported jpeg. What do we need to change to display the jpeg?

« Last Edit: March 15, 2019, 08:07:04 AM by christian »
Logged

Rudolph

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: ERROR: unsupported JPEG in cmd_loadimage()
« Reply #1 on: March 15, 2019, 11:47:31 AM »

I just tried to feed my BT816 this image and it will not display for me either.
Then I opened it in IrfanView, checked the available information for it and saved it under a different name again
using the same 90% setting that is in your image.
And this one works just fine with the BT816.
I had both files in the µC memory and sent them over the SPI to be unpacked into gfx-mem.

There must be some difference.
But I can not find it.
Except for the new file beeing a little smaller which could be because of re-compression and therefore a binary compare is useless, there does not seem to be any difference.
I even used the services of fotoforensics.com and imageforensic.org and these both show the same data.
JPEG image data, JFIF standard 1.01
Baseline DCT, Huffman coding
No Meta-Data

So, no idea what the problem is, maybe something is added to the raw data that should not be there and is not picked up by pc software or the web-tools.
But re-save it with a tool like IrfanView and it works.
And you can even batch-process with IrfanView.
Logged

christian

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: ERROR: unsupported JPEG in cmd_loadimage()
« Reply #2 on: March 18, 2019, 07:58:48 AM »

Hi Rudolph,

Thanks for your response.

We did the open and save again trick with Gimp too and we also tried some jpeg analysis like you did. But we can't find the difference. Unfortunately this jpeg is only one of an ongoing jpeg stream so we can't just save the jpeg again with an external tool to display it. We need to know what we have to change at the stream source.

Logged