How to enable Pan and Zoom in a QGraphicsView

前端 未结 2 1134
被撕碎了的回忆
被撕碎了的回忆 2020-11-27 03:20

I am using python and Qt Designer to implement loading tiff images and to enable Pan and Zoom on some mouse event (wheel - zoom, press wheel - pan).

I was looking in

2条回答
  •  半阙折子戏
    2020-11-27 03:57

    It is possible to open TIFF files up to several gigabytes with ordinary PIL (pillow) library. It is not quite easy, but it works.

    You could see the example here, second example after bold EDIT string could open, move and zoom TIFF files.

提交回复
热议问题