Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-28177

QImage plugins should report supported mime types

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 5.0.0 Beta 2
    • Fix Version/s: 5.1.0
    • Component/s: Image formats
    • Labels:
      None
    • Commits:
      06e4b1cff4c469d2fc3afbfe7a6b1954fedc90ff

      Description

      Currently QImageReader and QImageWrite are only able to tell which formats they support using format names. It should be possible to instead get the mimetypes. For the built-in types the format-names matches extensions, but there is no guarantee the same will apply to 3rdparty plugins.

      This extension can be implemented using the JSON metadata of the plugins.

        Attachments

        1. MyPatch
          11 kB
        2. qtimageformats.diff
          1 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            vgt Eirik Aavitsland
            Reporter:
            allan.jensen Allan Sandfeld Jensen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes