Brendan Vercoelen

Results 8 comments of Brendan Vercoelen

Not elegant, but this works: ``` bat_iconpath = iconpath + "ic_battery_" + level_icon + "_white_" + str(dpi) + "dp.png" if (level_icon == "alert_red"): bat_iconpath = iconpath2 + "battery-alert_" + str(dpi)...

Thanks. I might have play and see what I can pull together.

Had a play around with the following code: ``` VC_DISPMANX_ALPHA_T alpha = { DISPMANX_FLAGS_ALPHA_FROM_SOURCE, 255, /*alpha 0->255*/ 0 }; ``` However, couldn't get any noticeable affect from either adjusting the...

Thanks @raspi-user Firstly, the reason my first attempt failed was due the bug #16. Recompiling didn't regenerate my library so it appeared as nothing was happening. Once I sorted that,...

Something like this maybe: ``` void setImageOpacity( IMAGE_T *image, uint8_t opacity) { if (image->setPixelDirect != NULL) { RGBA8_T rgba; int j; for (j = 0 ; j < image->height ;...

I'm not sure why I gave up on this 18 months ago, as the code I wrote in the above comment works fine. I'll look at adding a flag to...

Thanks @magdesign I'd really appreciate you commenting on the PR to say you have tested it and it works. Your problem I don't think would be too difficult. If you...

Sounds like you didn't add the first line of that code before the loop: uint8_t alpha_frame = 0; Regardless, anyway I think your application is a bit niche to try...