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

Prototype SVG to PNG conversion tool using Qt WebEngine

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 6.6
    • SVG Support
    • None
    • All

      Based on the discussion in QTBUG-109067, a build-time tool to convert SVGs to PNGs would solve the most immediate need.

      SVG images could be rendered into PNGs for multiple resolutions (image.png, image@2x.png, image@3x.png, image@4x.png...) at compile time. The PNGs could be added as resources with a given prefix.

      The CLI tool would have options such as:

      • which resolutions to generate pixmaps for
      • which resource prefix to use (or perhaps whether to embed resulting pixmaps as resources at all, although without that it might become very cumbersome to write reliable code that loads them).
      • perhaps image format (PNG as default might be enough; no value in supporting lossy formats, perhaps?)

        1. main.cpp
          5 kB
          Aleksandr Reviakin
        2. proj.zip
          5 kB
          Kevin B. Hendricks
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            aleksandr.reviakin Aleksandr Reviakin
            vestbo Tor Arne Vestbø
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes