Skip to content

feat(android): compress thread#336

Open
m1ga wants to merge 4 commits intostablefrom
threads
Open

feat(android): compress thread#336
m1ga wants to merge 4 commits intostablefrom
threads

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

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.

1 participant