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
Documentation improvement about "stop downloading the image after a few kilobytes" #32
Comments
Something similar to: |
Please do improve documentation for this. |
+1 |
Two ideas come to mind:
|
@rogerdielrton http-image-size does what you want to accomplish. It even uses image-size. |
+1 |
@rogerdielrton Well, this implementation just relies on the first chunk to contain all relevant data. The question still is: is this sufficient in every case? |
+1 |
https://github.com/nodeca/probe-image-size - it's specially designed to download only the necessary part of image. |
+1 |
Hello.
In "usage" doc, when you say:
"You can optionally check the buffer lengths & stop downloading the image after
a few kilobytes. You don't need to download the entire image"
Could you be most explicit about how many (minimum) kb per file type is required to
detect image dimensions?
Could you update the documentation, with that info and an example?
Thanks in advance.
The text was updated successfully, but these errors were encountered: