Details
-
Task
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
None
-
None
Description
The Image element is focused on the display of an image, and isn't ideal for all cases. For example, if you want to display the actual image size as text (e.g. 1600x200), but have set the sourceSize on Image, there is no longer a way to query the actual size (QTBUG-18742).
It would also be convenient to be able to interact with QImage objects in javascript functions in QML. There's currently no way to even check if an image is valid. Support for querying properties (size, width, format, isNull etc) would be useful for debugging purposes (QTBUG-14596).
See also QTBUG-12031.
Attachments
Issue Links
- relates to
-
QTBUG-12031 API for C++ Declarative modules to retrieve images
-
- Closed
-
- replaces
-
QTBUG-14596 Provide support for QImages in QML javascript functions
-
- Closed
-
-
QTBUG-18742 qml:Image need a read-only property of nutual sourcesize.
-
- Closed
-