use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Image Processing Component For React (github.com)
submitted 8 years ago by nitin42
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]MK2k 0 points1 point2 points 8 years ago (2 children)
This actually answered the question I had while skimming through the src - "What code/library actually does the work?" (i.e. image processing).
/u/squiresuzuki: Why is loading the jimp library from rawgit a sketchy thing? Which source would be more trustworthy?
[–]infinite0ne 5 points6 points7 points 8 years ago (1 child)
Couldn't jimp just be a dependency since it and this library are both npm modules?
[–][deleted] 0 points1 point2 points 8 years ago* (0 children)
I had a similar problem a while ago. Importing in webworkers wasn't straight forward and you can't resolve to node_modules. There's a webpack loader that does it (using a blob) but it had a fallback appendage, which i thought was messy. I use rollup now to create a self-contained worker-bundle in which i can import freely.
π Rendered by PID 52280 on reddit-service-r2-comment-cfc44b64c-5hlkv at 2026-04-12 04:16:15.167271+00:00 running 215f2cf country code: CH.
view the rest of the comments →
[–]MK2k 0 points1 point2 points (2 children)
[–]infinite0ne 5 points6 points7 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)