Author: | silvia-odwyer |
---|---|
Views Total: | 145 views |
Official Page: | Go to website |
Last Update: | October 30, 2022 |
License: | MIT |
Preview:

Description:
A Javascript library that lets you easily apply 76 pretty cool filters to images in the browser! You can also use it within your NodeJS based server to convert images without the need for a browser!
Whether you want to give your images a modern feel, or your photos a touch of retro with a vignette, it’s super easy.
How to use it (Browser):
1. Download and load the Pixels.js library in the document.
<script src=”/dist/Pixels.js”></script>
2. Initialize the Pixels.js and apply a filter of your choice to the image.
var img = document.getElementById("img") img.onload = function() { pixelsJS.filterImg(img, "purplescale"); }
3. All available image filters:
- horizontal_lines
- extreme_offset_blue
- extreme_offset_green
- offset_green
- extra_offset_blue
- extra_offset_red
- extra_offset_green
- extreme_offset_red
- specks_redscale
- eclectic
- pane
- diagonal_lines
- green_specks
- casino
- yellow_casino
- green_diagonal_lines
- offset
- offset_blue
- neue
- sunset
- specks
- wood
- lix
- ryo
- bluescale
- solange
- evening
- crimson
- teal_min_noise
- phase
- dark_purple_min_noise
- coral
- darkify
- incbrightness
- incbrightness2
- invert
- sat_adj
- lemon
- pink_min_noise
- frontward
- vintage
- perfume
- serenity
- pink_aura
- haze
- cool_twilight
- blues
- horizon
- mellow
- solange_dark
- solange_grey
- zapt
- eon
- aeon
- matrix
- cosmic
- min_noise
- red_min_noise
- matrix2
- purplescale
- radio
- twenties
- ocean
- a
- pixel_blue
- greyscale
- grime
- redgreyscale
- retroviolet
- greengreyscale
- warmth
- green_med_noise
- green_min_noise
- blue_min_noise
- rosetint
- purple_min_noise