Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 19:37 29 Mar 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : IMAGE LOAD on SSD1306I2C32

Author Message
ville56
Regular Member

Joined: 08/06/2022
Location: Austria
Posts: 68
Posted: 05:17pm 30 Sep 2022
Copy link to clipboard 
Print this post

Hi all,

is there any reason why an image cannot be loaded into a SSD1306I2C32 display? I have created a .BMP file (B/W) with 128x32 resolution. The IMAGE LOAD command completes without error but nothing is displayed. TEXT statements work without any issue as do LINE statements.
The version is picomite RC4 (most recent version, i suppose).

Regards,
Gerald
                                                                 
73 de OE1HGA, Gerald
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8517
Posted: 07:49am 01 Oct 2022
Copy link to clipboard 
Print this post

What do you see? All white or all black? Please post bmp file
Edited 2022-10-01 17:50 by matherp
 
ville56
Regular Member

Joined: 08/06/2022
Location: Austria
Posts: 68
Posted: 06:07pm 01 Oct 2022
Copy link to clipboard 
Print this post

Peter,

it's all black. I've tried the bmp file on a pico with a ILI9488W display attached and that works as expected, the image is displayed.

The bmp file was directly created as a 128x32 B/W bmp image


test.zip


and another one was resized/resampled to 128x32 B/W via irfanview that also displayed successfully on the ILI9488W. I even was able to display a 4784 x 4080 24 bit color image (at least a part) on the ILI9488W, just the load took some time. This test was just to see what is possible. So the IMAGE LOAD code seems to work with a broad range of bmp formats without problems.

Only on the SSD1306I2C32 display there is always darkness after IMAGE LOAD.

Regards,
Gerald
                                                                 
73 de OE1HGA, Gerald
 
ville56
Regular Member

Joined: 08/06/2022
Location: Austria
Posts: 68
Posted: 06:05pm 03 Oct 2022
Copy link to clipboard 
Print this post

just tried to load the image as jpg instead of bmp onto the SSD1306 display.

LOAD JPG "test.jpg"

This produces the error message "Error : Display not configured". Otherwise i did not change the configuration.

Regards,
Gerald
                                                                 
73 de OE1HGA, Gerald
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8517
Posted: 09:52pm 03 Oct 2022
Copy link to clipboard 
Print this post

Sorry for the delay in looking at this

LOAD IMAGE should work if you execute the command REFRESH after the load. Will fix properly in next version.

LOAD JPG is not available on monochrome I2C or SPI displays
 
ville56
Regular Member

Joined: 08/06/2022
Location: Austria
Posts: 68
Posted: 12:20pm 04 Oct 2022
Copy link to clipboard 
Print this post

Thank you Peter, works now !!!!

I'm always impressed about the knowledge here. That easy workaround would never ever have come to my mind.

Regards,
Gerald
                                                                 
73 de OE1HGA, Gerald
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024