It looks like you're new here. If you want to get involved, click one of these buttons!
I saw in an earlier thread the discussion about the layer density calculation via the TilingProcessor. I implemented it and made a nice GUI around it. However, as already indicated, the resulting RBA::Image can be placed into a LayoutView, but not conveniently saved. I managed to slap something together with LayoutView.save_image(), but I also spent a whole day trying to convert the RBA::Image content into something that RBA::QImage could take, but to no avail. I can access each pixel via RBA::Image.get_pixel(), but I struggled with the data/buffer/bytearray arrangement of QImage. Does anyone know how to do this correctly ? I would like to set grayscale pixels of QImage directly. The hope is that i also figure out how to export/save that QImage object correctly later.
Thank you !