Tag: RGBA

Python – canvas selection – Developer Questions

Hi from krita import * def selectRGB(node, red, green, blue, selectionLevel=255): # get pixels data from node projection # for RGBA/8bit, pixel data format: Blue, Green, Red, Alpha pdata=node.projectionPixelData(node.bounds().left(), node.bounds().top(), node.bounds().width(), node.bounds().height()) bred=red.to_bytes(1, ‘big’) bgreen=green.to_bytes(1, ‘big’) bblue=blue.to_bytes(1, ‘big’) # prepare selection (0=no selection, 255=full selection) selectionPixels=[0]*(node.bounds().width()*node.bounds().height()) offset=0 for index in…

Continue Reading Python – canvas selection – Developer Questions

Fedora 35: mbedtls 2022-d01df8835e | LinuxSecurity.com

Fedora 35: mbedtls 2022-d01df8835e | LinuxSecurity.com What Are You Looking For? ——————————————————————————– Fedora Update Notification FEDORA-2022-d01df8835e 2022-01-10 01:06:31.569637 ——————————————————————————– Name : mbedtls Product : Fedora 35 Version : 2.16.12 Release : 1.fc35 URL : tls.mbed.org/
 Summary : Light-weight cryptographic and SSL/TLS library Description : Mbed TLS is a light-weight…

Continue Reading Fedora 35: mbedtls 2022-d01df8835e | LinuxSecurity.com