Comments (5)
@rnine Thanks a ton man. Its working as expected.
Thanks a lot 👍
from filestack-ios.
@Pavan191 Could you describe in greater detail how are you downloading the image?
from filestack-ios.
@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.
@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.
@Pavan191 Glad to help! 👍
from filestack-ios.
Related Issues (20)
- Unable to install via Pods HOT 2
- Picker does not limit selections to provided documentPickerAllowedUTIs HOT 1
- Add SPM (Swift Package Manager) support HOT 4
- iOS SDK Parallel Upload Issue HOT 2
- Does not build with XCode 10.2.1 Swift 5 HOT 1
- Does not build with XCode 10.2.1 Swift 5 HOT 1
- Upload works, but PickerNavigationControllerDelegate handlers doesn't work. HOT 6
- Include uploaded file's name in the response object HOT 2
- Crash on iOS 13 HOT 3
- Swift SDK appears to generate incorrect URL for transforms HOT 1
- Problem with 2.5.1 version HOT 2
- Unable to support the Alamofire 5.0 HOT 1
- Minimum Deployment Target Conflict HOT 4
- Undefined Symbols when importing with SwiftPM HOT 1
- Image editor is not showing up HOT 1
- Localize picker text HOT 1
- Run
- Not display selected photo it display all photos
- [iOS 17] Images or videos are added in the ".low" format after uploading images or videos from the gallery HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from filestack-ios.