openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #33103
[Bug 1542401] Re: Image rotation
I believe that this is an important feature as people expect to be able
to correctly display images taken directly from their phones.
At our church, we have encountered this bug at least twice, and we have
had to use the system photo viewer instead. This is not seamless and is
unnecessarily complicated.
This appears to be a problem with QtGui.QImageReader not reading the
image rotation data. I have found an explanation of how the data works
here: [https://www.impulseadventure.com/photo/exif-orientation.html].
A possible fix would be to rotate the images in
`openlp\core\lib\__init__.py` when they are first loaded, possible using
`QPainter.rotate()`. You would need to include the fix in both the
`create_thumb` and `resize_image` functions.
--
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/1542401
Title:
Image rotation
Status in OpenLP:
New
Bug description:
Sometimes there are images that are upside-down, would be great if
they could be rotated in OpenLP.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/1542401/+subscriptions
References