Giter Site home page Giter Site logo

Comments (5)

Pavan191 avatar Pavan191 commented on May 28, 2024 1

@rnine Thanks a ton man. Its working as expected.
Thanks a lot 👍

from filestack-ios.

rnine avatar rnine commented on May 28, 2024

@Pavan191 Could you describe in greater detail how are you downloading the image?

from filestack-ios.

Pavan191 avatar Pavan191 commented on May 28, 2024

@Pavan191 Could you describe in greater detail how are you downloading the image?

i have created separate function to download Images in my project :

func downloaded(from link: String, contentMode mode: UIView.ContentMode = .scaleToFill,activityIndi: UIActivityIndicatorView? = nil) {
guard let url = URL(string: link) else { return }
downloaded(from: url, contentMode: mode,activityIndi:activityIndi)
}

And i call that function as below :

self.profileImageView.downloaded(from: APIPath.imageUrl.profilePic + profilePath, contentMode: .scaleToFill, activityIndi: self.profileIndicator)

APIPath.imageUrl.profilePic + profilePath contains : https://process.filestackapi.com/MyapiKey/resize=h:100,w:100,a:center,f:crop/compress/https://cdn.filestackcontent.com/BQ9rDNYqQ8ue33lmY59c

from filestack-ios.

rnine avatar rnine commented on May 28, 2024

@Pavan191 I think the processing API does not support processing HEIC images directly.

You may want to adjust the imageURLExportPreset in the config object passed to Filestack.Client and set the value to .compatible instead of .current. In this case, iOS will always return a JPEG image and Filestack's processing API should work normally.

Let me know if that helps!

from filestack-ios.

rnine avatar rnine commented on May 28, 2024

@Pavan191 Glad to help! 👍

from filestack-ios.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.