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

Incorrect type in toDataUrl call.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • None
    • cordova-plugin-camera

    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

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

            Dates

              Created:
              Updated:
              Resolved: