Uploaded image for project: 'MapWinGIS'
  1. MWGIS-80

Saving an image object to a filename without extentions creates an infinite loop

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: v4.9.4.2
    • Fix Version/s: None
    • Labels:

      Description

      This line of code creates a MapWinGIS.Image from a SnapShot and save it to a new file:

      var img = axMap1.SnapShot2(0, axMap1.CurrentZoom, 1000);
      var retVal = img.Save(filename);
      

      When filename is d:\snapshot2.jpg everything works but when it has no extention an infinite loop seems to accure and img.Save doesn't come back.

        Attachments

          Activity

            People

            • Assignee:
              admin Paul Meems
              Reporter:
              admin Paul Meems
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: