random-image
is an aggregate Javascript module for generating different customizable styles of images, to use as placeholders or other use cases. As-well as supporting different encodings like JPEG and PNG.
...
...
...
Based on code from: MonoMisch/random-jpeg
NOTE: "Columns" generator is not async (even though it returns a
Promise
)
...
...
Uses
visicraft/jpeg-js
for JPEG encodingnpm install jpeg-js
NOTE: JPEG encoder is not async (even though it returns a
Promise
)
...
- darkskyapp/string-hash - Source of modified source code for
src/util/crypto.ts -> generate_hash
- eugeneware/jpeg-js - Pure Javascript encoder used for JPEG encoding. Utilizing the visicraft/jpeg-js fork, for specific use case.
- MonoMisch/random-jpeg - Source of modified source code for
ColumnsGenerator
- saveryanov/avatars - Source of modified source code for
src/util/colors.ts -> generate_hashed_colors