Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-11227

Incorrect type in toDataUrl call.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: cordova-plugin-camera
    • Labels:

      Description

      The first argument to canvas.toDataUrl() should be a mime type. Currently the values "img/png" is being given, however it should be "image/png".

      Because browsers default to a PNG image if an unknown type is given, this typo does not cause any loss of functionality.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              kicken Keith Maika
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: