pica
blockly
pica | blockly | |
---|---|---|
11 | 55 | |
3,617 | 12,122 | |
0.7% | 0.6% | |
0.0 | 9.5 | |
10 months ago | 4 days ago | |
JavaScript | TypeScript | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pica
-
Generate thumbhash at edge for tiny progressive images
Then pica to resize it and a simple function I wrote to crop it:
-
Can I specify the camera resolution when prompting the user to upload a selfie using JS?
Take a look at pica (Resize images in browser without pixelation and reasonably fast. Autoselect the best of available technologies: webworkers, webassembly, createImageBitmap, pure JS.)
-
Client side image processing? Package like 'Sharp' but for frontend webdev?
You can use the pica library for browser resizing - https://www.npmjs.com/package/pica - it's a really great tool. It can also reduce upload size for large images. And some library like this for merging images - https://www.npmjs.com/package/merge-images.
-
Cool & useful JavaScript libraries
Pica : resize image in browser with high quality and high speed.
- I made an online image resizer tool
-
How to include APIs in TamperMonkey?
I want to use this in my TamperMonkey script: https://github.com/nodeca/pica
-
Resizing and Compressing Photos Before Upload to Django
this sounds promising, though I've never used it before https://github.com/nodeca/pica
-
Test Ishan
Sample text here... Syntax highlighting js var foo = function (bar) { return bar++; }; console.log(foo(5)); ## Tables | Option | Description | | ------ | ----------- | | data | path to data files to supply the data that will be passed into templates. | | engine | engine to be used for processing templates. Handlebars is the default. | | ext | extension to be used for dest files. | Right aligned columns | Option | Description | | ------:| -----------:| | data | path to data files to supply the data that will be passed into templates. | | engine | engine to be used for processing templates. Handlebars is the default. | | ext | extension to be used for dest files. | ## Links link text link with title Autoconverted link https://github.com/nodeca/pica (enable linkify to see) ## Images Like links, Images also have a footnote style syntax ![Alt text][id] With a reference later in the document defining the URL location: [id]: https://octodex.github.com/images/dojocat.jpg "The Dojocat" ## Plugins The killer feature of markdown-it is very effective support of syntax plugins. ### Emojies > Classic markup: π :crush: π’ :tear: π π > > Shortcuts (emoticons): :-) :-( 8-) ;) see how to change output with twemoji. ### Subscript / Superscript - 19^th^ - H~2~O ### ++Inserted text++ ### ==Marked text== ### Footnotes Footnote 1 link[^first]. Footnote 2 link[^second]. Inline footnote^[Text of inline footnote] definition. Duplicated footnote reference[^second]. [^first]: Footnote can have markup and multiple paragraphs. [^second]: Footnote text. ### Definition lists Term 1 : Definition 1 with lazy continuation. Term 2 with inline markup : Definition 2 { some code, part of Definition 2 } Third paragraph of definition 2. Compact style: Term 1 ~ Definition 1 Term 2 ~ Definition 2a ~ Definition 2b ### Abbreviations This is HTML abbreviation example. It converts "HTML", but keep intact partial entries like "xxxHTMLyyy" and so on. [HTML]: Hyper Text Markup Language ### Custom containers ::: warning *here be dragons :::
-
Stop sending uncompressed images to servers for resizing (slow!)
this is a sort of similar one https://github.com/nodeca/pica (i found it hard to use with create-react-app tho had to skip over its use of webworkers, tho that would be cool to use, code to use pica here https://github.com/cmdcolin/aws\_serverless\_photo\_gallery/blob/master/frontend/src/App.tsx#L20-L25)
-
Building Your Own Blog with Nuxt Content and Tailwind
link with title
blockly
-
Ask HN: Modern Day Equivalent to HyperCard?
If your kid is already doing Scratch, Blockly is a really easy next step.
https://developers.google.com/blockly
Critically, Blockly can emit JavaScript and Python, plus it supports plugins for extended functionality. So the kid can stay inside the blockly universe for as long as they like, but easily peer under the hood and get into Python or JavaScript as soon as they like.
-
The Unix Game
Perhaps blockly
https://developers.google.com/blockly
- Google Blockly
-
β§οΈ Super Smash Siblings Trans
Unless it would contradict canon, every stage is very bright, highly interactive, full of pre-placed items, and so huge that you can usually run from your NPC opponents and enjoy exploring the stage in peace while they catch up to you. All buildings have Linux computers with actual internet access that allow you to program and print out your own projectiles/books/flags/UNO reverse cards/shinigami eyes/soupcans/cis TERF tears/masks/custom-made programs which can then be inserted into a different computer, but all without tracking any of your browser history; closets that you can enter; bookshelves containing the books mentioned in Masterpieces that you can either read in-game or throw to make random sentences/verses/comics from the book appear; and bathrooms with working mirrors that you can enter but their exact content and whether they're gendered or not depends on the stage.
- Scratch is the worldβs largest coding community for children
-
(Free) Visual Scripting Game Engine
Google made bockly It works with 5 languages. I think #C PHP and JavaScript. I know JavaScript for sure . But not sure about the others. blockly
-
Am I wrong?
And as a corollary, Blockly: https://developers.google.com/blockly
-
Ask HN: Best resources to learn Python or JavaScript for children?
https://developers.google.com/blockly/ Blocky with Javascript
-
coding
https://developers.google.com/blockly (Block programming, very good with helping learn the logic)
-
To be learned before or after Python?
Another block environment Blockly does compile to Javascript, and you can add your own block sets and use it in your existing webapp as a sort of workflow programming tool
What are some alternatives?
sharp - High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP, AVIF and TIFF images. Uses the libvips library.
Node RED - Low-code programming for event-driven applications
jimp - An image processing library written entirely in JavaScript for Node, with zero external or native dependencies.
Rete.js - Rete.js is a framework for creating visual interfaces and workflows. It provides out-of-the-box solutions for visualization using various libraries and frameworks, as well as solutions for processing graphs based on dataflow and control flow approaches.
cropper
react-native - A framework for building native applications using React
lena.js - :woman: Library for image processing
Vue.js - This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core
fastimage - A module that finds the size and type of an image by fetching and reading as little data as needed.
GrapesJS - Free and Open source Web Builder Framework. Next generation tool for building templates without coding
probe-image-size - Get image size without full download. Supported image types: JPG, GIF, PNG, WebP, BMP, TIFF, SVG, PSD, ICO.
imgui-node-editor - Node Editor built using Dear ImGui