Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS display image #53

Open
neo0x0 opened this issue Mar 23, 2019 · 4 comments
Open

iOS display image #53

neo0x0 opened this issue Mar 23, 2019 · 4 comments
Assignees

Comments

@neo0x0
Copy link

neo0x0 commented Mar 23, 2019

iOS Documentation needs update or explanation.
I want to display image but get error.

Code official doc says:

  1. import FilestackSDK
  2. let filelink = transformable(handle: "g8fLXNCRT4K3TJSUFrRW")

Github gives nothing on this, only about displaying picker/upload
https://filestack.github.io/filestack-ios/

@rnine
Copy link
Contributor

rnine commented Jul 3, 2019

@neo0x0 Could you explain in more detail what are you trying to achieve?

@emajewicz
Copy link

I believe that this is the same issue that I am encountering. Without a transformation the image displays fine

let fileLink = fsClient!.sdkClient.fileLink(for: handle);

However when using a transformation I get an error

let transformable = fsClient!.sdkClient.transformable(handle: handle);

The error I receive when trying to display the image is "conv20 provider error: Failed to identify the file, probably corrupted image provided (idx 0)"

@rnine
Copy link
Contributor

rnine commented Sep 9, 2019

@emajewicz Could you please provide some more context?

Specifically, it would be helpful to know:

  1. Format (png, jpg, etc.) and dimensions of the image file referenced by handle
  2. Transformation chain used (including all their associated parameters).

Thanks!

@rnine rnine self-assigned this Sep 9, 2019
@winzig
Copy link

winzig commented Mar 21, 2023

I know this is old, but just today we have encountered this again. Typically we see this issue when the file is a BMP file, and we're trying to render it as a JPG or PNG. For some reason, Filestack is unable to convert it and claims it's corrupted, but I'm able to view the underlying file just fine. I've emailed [email protected] just now with details and a specific example, which I can't reveal here publicly for privacy reasons. (Ticket # 60857)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants