-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
Chrome - Download Failed Network Error #3
Comments
Thanks for the heads-up! Looks like downloading images of that size and/or complexity (after all, the more complex the image is, the less it can be compressed, so that makes sense) is indeed screwy - on my Chrome, instead of "Download Failed - Network Error", I get an It shouldn't be too hard to add blob URL based downloading. Hold on... :) |
This should resolve problems downloading large files. Refs #3
Okiedoke! I've updated the live version at http://akx.github.io/glitch2/ with code that attempts to use Blob urls if they are supported by your browser. Let me know if things work better now (or if I've broken something - I updated some other things too 😅)! Also, as a late april fools gift (that's totally a thing, right?) I also added a new utility effect |
ps. @PeteMoog, I'm honored that your first ever GitHub issue should be on my project :D Thanks 😻 |
Yes, I've have finally signed up, just to report the issue and say thanks.... another virginity (sort of) lost. Just a quick couple of Qs
I guess maybe something like a **Re-**Refresh might solve my 2 workflow issues but could you recommend anything relatively easy I could do with the code/html myself to achieve these issues myself(especially Q2)? Thanks for the quick fix, I have tested it in Chrome sand it seems to be working a treat. I will give xform a play this afternoon. |
As for randomness, it's currently using a non-seedable random number generator ( As for the UX of working with large images, I can easily add a zoom control for the image (or even "fit to viewport"), so you could see the controls alongside a zoomed-out version of the image. That won't help with the render times though, I'm afraid. |
Yes, I half suspected that the same glitch could not be reproduced on the same image but I guess it might be interesting to see how much the input image affects the output with various effects for a fixed (randomly generated or user defined) seed value. A feature for the next release perhaps... If it's an easy addition those ideas would certainly help, I guess if you added "fit to viewport" as a selectable option it would do the job, although at times it may be helpful to zoom into an image to see the actual detail on larger output images.... it would be a very useful feature when working on larger images. I guess I can have to live with render times.. I do notice that CPU and GPU %load are very low whilst rendering, I they cannot be multithread by windows/chrome. |
Yeah, the generation process is definitely very single-threaded. Anyway, I added a "zoom down to fit" checkbox :) |
It works a treat, I am having fun. many thanks. I am now trying to do 4 in parallel in different tabs! |
Just to start this is great software, I love it.
I am trying to save large images using chrome but when I resize to around 4000px x 4000px and refresh then hit "save current image" Chrome notifies me of "Download Failed - network Error".
I have had a look at the HTML in firebug it appears its a chrome problem.. https://stackoverflow.com/questions/37135417/download-canvas-as-png-in-fabric-js-giving-network-error/
The stackoverflow article suggests it might be fixable using Blobs.
In the meantime I have downloaded Firefox and it runs OK there (well at least I have not reached an upper image size yet). The exact image size that this occurs depends how intricate the image being downloaded is.
I am using Chrome Version 64.0.3282.186 (Official Build) (64-bit),
The text was updated successfully, but these errors were encountered: