Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70434

Ionic 4 Social Sharing Plugin Change The Image Format To JPEG in IOS

$
0
0

@ionicbucket wrote:

In Ionic4, I’m using social sharing Plugin & called the shareWithOptions method to share image from IOS device. My image path is -

file:///var/mobile/Containers/Data/Application/55849AB9-036D-4A6B-AFB5-8F8F95EDB374/Library/NoCloud/images/0z3aq5czc22b.tiff

This is a TIFF image file, when I want to share this image file by using Airdrop or Gmail options, every time It’s change the right image format to JPEG.

I am also trying to send a Base64 TIFF/BMP image file format but It’s always change to JPEG image.

Here is my code,

async share() {
    console.log(this.imgPath)
    var options = {
      files: [this.imgPath]
    };

    this.socialSharing.shareWithOptions(options);
  }

Also I try to use specific share via email option( shareViaEmail method) but the same problem is happening.

Anyone can know how to share the right image format using Ionic4. Couldn’t solve this issue, Any Ideas?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70434

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>