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

Add a Javascript Image type for offscreen image preloading in QML

    XMLWordPrintable

Details

    Description

      It would be very nice to provide an Image type which can be used in Javascript like:

      var ctx = canvas.getContext('2d');
      var img = new Image();
      img.src='images/image.gif';
      img.onload = function() {
         ctx.drawImage(img);
      }
      
      

      This feature is very helpful for porting existing 3rd party Canvas 2D/3D applications to QML.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            mitch_curtis Mitch Curtis
            charles Charles Yin (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes