efskap / deepfriedmemes.com Goto Github PK
View Code? Open in Web Editor NEW๐ ฑ๏ธ Deep fries your pics. Serve with laundry sauce.
Home Page: https://deepfriedmemes.com
License: GNU General Public License v3.0
๐ ฑ๏ธ Deep fries your pics. Serve with laundry sauce.
Home Page: https://deepfriedmemes.com
License: GNU General Public License v3.0
Hi,
I was trying to create a image deep fryer for my group chat, and I was wondering if there was an easy way I can deep fry an image. Would you be willing to either
This is really cool what you did, thanks!
Noticed that some people try to fry images from their phone camera (why..?), which (being like 5000x5000 px) take AGES to fry.
Not a good look.
Seems like canvas.toBlob isn't supported on ios/pc safari: https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/toBlob#Browser_compatibility
What a joke.
i mean JEEZ
L A Z ร R E Y E S ! ! ! !! 111
Current issue with resaving the JPEGs is that the content of the images stays in the same 8x8 blocks and are compressed again in approximately the same way.
To solve this, pad the image at the top and left sides by random values between 0 and 8 pixels to shift the image content into different 8x8 blocks. Then save the JPEG and crop out the padding. Could pad all edges and use a solid color to make it bleed into the image, or pad it with a reflection of the image.
A little random resizing can also break up the image between resaves.
Seems like the Android download manager doesn't support blob:
urls.
Okay, makes sense, since it can't access the webview's DOM.
https://stackoverflow.com/questions/45165499/webview-blob-url-download-image
This guy ended up converting the file to a base64 string.
That's actually what I was doing before, but switched to the blob api because it failed for larger images.
Besides hosting the result on a backend (yeah no), I'm not sure what I can do to provide download functionality here.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.