Skip to content
New issue

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

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

Already on GitHub? # to your account

feat(android): compress thread #336

Open
wants to merge 4 commits into
base: stable
Choose a base branch
from
Open

feat(android): compress thread #336

wants to merge 4 commits into from

Conversation

m1ga
Copy link
Contributor

@m1ga m1ga commented Jul 23, 2023

Move methods to be async and accept an object as a parameter

  • compress()
  • imageWithRotation()
  • imageWithAlpha()
  • imageAsThumbnail()
  • imageAsResized()
  • imageAsCropped()
  • resampleImage()
  • getPixelArray()
ImageFactory.compress({
	blob: sourceBlob,
	quality: 0.05,
	success: function(e) {
		console.log("done")
		// new blob: e.image
	}
});

ti.imagefactory-android-5.2.0.zip

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

Successfully merging this pull request may close these issues.

1 participant