-
Notifications
You must be signed in to change notification settings - Fork 209
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
Offer warning before generating preview "quick-add steps" on very large images #922
Comments
@jywarren may be this is a solution for this https://sharp.pixelplumbing.com/en/stable/ and for even #961 |
Coverting larger images to friendly image formats. What do you say about it??? |
@jywarren I had mentioned about it in #955. On my phone, the phone takes 15secs to even show the image in the load-image step and takes atleast 1.5 min to generate the previews. Then I actually saw the resolution, 3480x4610 and my phone is 3yrs old. Without downscaling the imgs, the previews will just stop the page. |
Agreed! Ok, let's start by not running the preview generation on big images
then? We can pursue other options once we do this. Are you interested in
working on this one? Thanks!!!
…On Mon, Apr 1, 2019, 12:38 AM Harsh Khandeparkar ***@***.***> wrote:
@jywarren <https://github.com/jywarren> I had mentioned about it in #955
<#955>.
Also I think the images *have to be* downsclaes for the previews.
On my phone, the phone takes 15secs to even show the image in the
load-image step and takes atleast 1.5 min to generate the previews. Then I
actually saw the resolution, 3480x4610 and my phone is 3yrs old.
Without downscaling the imgs, the previews will just stop the page.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#922 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABfJ5LQWEyxiyNUj6dKsYj-3hVI7-2lks5vcY0VgaJpZM4cEdFW>
.
|
I am pursuing this , adding this in my proposal. |
Noting for the preview refactor, we could add an intermediate sequencer object before passing to generatePreview: image-sequencer/examples/lib/insertPreview.js Lines 1 to 3 in 0eb3f26
We could do it just before passing the image to this iterator: image-sequencer/examples/lib/insertPreview.js Lines 47 to 49 in 440c3e0
|
Uploading a big image (actually like any image from a smartphone camera 😂 📸 🤳 ) stalls out the sequencer because of the preview images. A few ideas:
Generating previews for images this large may take a while. _Do it anyways_?
so it can be overridden...Just thinking how we could smooth this out a bit!
The text was updated successfully, but these errors were encountered: