Skip to content

Conversation

@akhil-ge0rge
Copy link

Updated the README image compression examples to match the current API signatures and return types.

  • Fixed incorrect return types for compressWithFile and compressAndGetFile
  • Updated file-based examples to handle nullable results correctly
  • Corrected XFile usage where File was previously assumed
  • Ensured examples compile correctly with null safety enabled

No behavior or logic changes were introduced
documentation-only fix.

Closes #337

Updated the README image compression examples to match the current API signatures and return types.

- Fixed incorrect return types for compressWithFile and compressAndGetFile
- Updated file-based examples to handle nullable results correctly
- Corrected XFile usage where File was previously assumed
- Ensured examples compile correctly with null safety enabled

No behavior or logic changes were introduced — documentation-only fix.
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

Successfully merging this pull request may close these issues.

Documentation are not correct

1 participant