Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-23717

Windows: Ti.UI.ImageView.toImage() is executed before an image is loaded

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 5.4.0
    • Fix Version/s: Release 5.4.0
    • Component/s: Windows
    • Labels:
    • Environment:

      Nokia Lumia 625

    • Story Points:
      5
    • Sprint:
      2016 Sprint 16 SDK

      Description

      5_4_X 5.4.0.v20160802165655

      CODE

      var win = Ti.UI.createWindow({backgroundColor: 'purple'}),
          img = Ti.UI.createImageView({image: 'Logo.png'});
       
      img.toImage(function (blob) {
          Ti.API.info('success');
      });
       
      win.add(img);
      win.open();
      

      RESULT
      [ERROR] : Application Error: "Windows.Graphics.Imaging: One or more pointer arguments are null."
      [ERROR] : Error: unknown exception

        Attachments

          Activity

            People

            • Assignee:
              gmathews Gary Mathews
              Reporter:
              zozo4kin Zakhar Zhuravlev
              Tester:
              Harry Bryant
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-9974
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Source Code