Page 1 of 1
Auxiliary lines in the preview image
Posted: Wed Nov 10, 2021 5:45 pm
Does anyone have any idea how I could add guidelines to the preview image?
This is of great help when you want to compose beautiful photos. The lines help to take photos as straight as possible.
16: 9 guide lines in particular would be of interest to me.
Re: Auxiliary lines in the preview image
Posted: Tue Nov 16, 2021 1:17 pm
If you are talking about the HDMI and TFT screen preview - uh, this is a painful story
You see, in the RPi3 and CM3 epoch it was one version video subsystem, and we were able to draw the advanced OSD data right over the image. WIth the RPi4 and CM4, this subsystem was fully redesigned, and there is (still) no way to use old methods.
For the TFT screen, we are using the special library, which copies the HDMI output buffer to the TFT screen buffer. Theoretically, it is possible to hack this library and add guidelines. If you can tell me the options you need - I'll try to take a closer look at this solution possibility.
As for the browser preview (admin panel) - this is relatively easy, but each browser has adaptive width/height (for mobile phone, tablet, PC, etc.). It will be painful to force this to work correctly on all devices and in all browsers.