luc-github / ESP3D

FW for ESP8266/ESP8285/ESP32 used with 3D printer
GNU General Public License v3.0
1.78k stars 465 forks source link

Add "Flip horizontally" for camera settings #965

Closed DivingDuck closed 1 year ago

DivingDuck commented 1 year ago

Feature request

Is it maybe possible to add Flip horizontally to configuration.h some time in the future? I do add this often after an update manually and like to ask for adding the lines below:

/* Flip horizontally
* Flip camera horizontally
*/
//#define CAMERA_DEVICE_FLIP_HORIZONTALY

ESP3DFlippHorizontally_FR

It would be also great having the controlls available in [Settings/Interface/Extra content Panel] or better(?) in [Dashboard/Camera Panel] as well so that it is possible to flip the view horizontal or vertical while running ESP3D-WebUI.

ESP3DFlippHorizontally_FR1ESP3DFlippHorizontally_FR2

Not important but nice to have if needed.

Best regards, DD

luc-github commented 1 year ago

actually the define is already in the configurator : image

I may missed to add the line in default configuration.h I will add it Edit: updated

About the extra buttons - I would like to avoid to add such button that will almost be never used used - on other hand you can add them by yourself in Macro panel using the [ESP170] command

DivingDuck commented 1 year ago

This is a good idea too. Thanks for pointing me to it.

luc-github commented 1 year ago

Another possible solution if you want to play, is to do a little extension that has the display of camera, do the refresh and all buttons you need : https://esp3d.io/esp3d-webui/v3.x/documentation/api/extensions/index.html

then add it as new panel of page

DivingDuck commented 1 year ago

Hey, new playground... I will see how this works for me some time later today (hopefully) as I need to do some day work now. I will come back as soon had the time playing a bit with extensions (what I didn't before) :)

Again, thanks a lot

Btw, you can close the issue if you want. I updated my source file already and the rest I got managed with your hints. If not, I will come back and ask for help.

luc-github commented 1 year ago

Sure 😺 have fun ^_^

github-actions[bot] commented 12 months ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.