Python Forum
python script for gfx hat (LCD for raspberry)
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
python script for gfx hat (LCD for raspberry)
#13
Hi,

well, you'll get something displayed indeed - but you may get unexpected results. You still use a colored picture, but only use the 8bit representing the R (red) channel assuming the JPG is stored with RGB value. So if by incident your JPG has on all pixels on red, you won't see anything.

I still highly recommend to convert your image object into one having grey shades only, where each pixel is represent by a single 8bit value.

Regards, noisefloor
Reply


Messages In This Thread
RE: python script for gfx hat (LCD for raspberry) - by noisefloor - Jul-05-2019, 12:02 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Re-write BASH script to Python script popi75 5 2,467 Apr-30-2021, 03:52 PM
Last Post: metulburr

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020