-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
web-friendly /uploadbyurl endpoint #12
Comments
There's already LensCore file that doesn't have that, read documentation |
my use case is for faster batch processing by directly using image urls, letting google handle the rest so the package doesn't have to fetch images, analyze its dimensions, getting its mime type, and uploading it to google |
Oh, currently I don't have plans to add that but it'd be a good addition as a new function (or to replace current scanByURL one). So if you'll make a PR I'll merge it |
since dimensions aren't known and image isn't fetched, how would one handle |
I assume you should just make it so pixelCoords doesn't exist when using scanbyurl and document that |
I want to make a web-compatible function that doesn't use any image processing (sharp) and node exclusive package (undici)
Usage is the same like current implementation, but instead it uses the url parameter
https://lens.google.com/uploadbyurl?url=https%3A%2F%2Flune.dimden.dev%2F7949f833fa42.png
If you wouldn't implement it here then I'd happily make a separate package, if it's good with you
The text was updated successfully, but these errors were encountered: