alicevision / QtOIIO

Qt Image IO plugin based on OpenImageIO.
http://www.openimageio.org
Other
41 stars 14 forks source link

Fix aspect ratio when sourceSize is used #4

Closed fabiencastan closed 6 years ago

fabiencastan commented 6 years ago

Add support for ScaledSize option in the imageio plugin to avoid aspect ratio problems. If it is not supported by the plugin, the fallback in qimageiohandler use Qt::IgnoreAspectRatio during the resize. This option is used when we set a sourceSize in QML.