title: how save image taken by camera to my pc
body: <p>this my component to take photo ,this Code Compiler  correctly
  constat.ts</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>import { Component,OnInit } from "@angular/core";
  import { Router,ActivatedRoute,NavigationExtras } from "@angular/router";
  import { VoitureService } from "../../voiture/voiture.service";
  import { ImageAsset } from "image-asset";
  import * as camera from "nativescript-camera";
  
  @Component({
    selector: "constat",
    moduleId:module.id,
    templateUrl: './constat.html',
    providers: [VoitureService]
  })
  export class ConstatComponent {
  
  public imageTaken: ImageAsset;
      public saveToGallery: boolean = true;
      public keepAspectRatio: boolean = true;
      public width: number = 300;
      public height: number = 300;
  
      onTakePhoto() {
          let options = {
              width: this.width,
              height: this.height,
              keepAspectRatio: this.keepAspectRatio,
              saveToGallery: this.saveToGallery
          };
  
          camera.takePicture(options)
              .then(imageAsset =&gt; {
                  this.imageTaken = imageAsset;
                  console.log("Size: " + imageAsset.options.width + "x" + imageAsset.options.height);
              }).catch(err =&gt; {
                  console.log(err.message);
              });
      }
      // &lt;&lt; camera-module-photo-code
  
      // &gt;&gt; camera-module-perm-code
      onRequestPermissions() {
          camera.requestPermissions();
      }
      // &lt;&lt; camera-module-perm-code
  
      // &gt;&gt; camera-module-avai-code
      onCheckForCamera() {
          let isCameraAvailable = camera.isAvailable();
          console.log("Is camera hardware available: " + isCameraAvailable);
      }
      
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;ActionBar title="Constat" class="heading"&gt;
       &lt;NavigationButton text="Go Back" android.systemIcon="ic_menu_back" 
      (tap)="onTap()"&gt;&lt;/NavigationButton&gt;
  &lt;/ActionBar&gt;
  
  &lt;ScrollView sdkExampleTitle sdkToggleNavButton&gt;
      &lt;!-- &gt;&gt; camera-module-html --&gt;
      &lt;FlexboxLayout flexDirection="column-reverse"&gt;
          &lt;Image [src]="imageTaken" flexGrow="3" class="p-15 img-rounded"&gt;&lt;/Image&gt;
          &lt;Button text="Take Photo" class="btn btn-primary btn-active" (tap)="onTakePhoto()" flexGrow="1"&gt;&lt;/Button&gt;
          &lt;Button text="Request permissions" class="btn btn-primary btn-active" (tap)="onRequestPermissions()" flexGrow="1"&gt;&lt;/Button&gt;
      &lt;/FlexboxLayout&gt;
      &lt;!-- &lt;&lt; camera-module-html --&gt;
  &lt;/ScrollView&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>this image saved in the galerie !i need solution to save this image in my pc 
  how can'i saved this image  ?
  i need some help please</p>