axodotdev / axii Goto Github PK
View Code? Open in Web Editor NEWimage to ascii generator
Home Page: https://axii.axo.dev
License: Apache License 2.0
image to ascii generator
Home Page: https://axii.axo.dev
License: Apache License 2.0
invert is more accurate
currently, if the user has selected the gradient and then downloads the image, it is shown in the white color instead of the gradient because the gradient is using a text mask to animate. however, instead of using a white color, we could use one of the colors from the gradient to give a more accurate screencap.
When the scale is set to something other than 100% in Firefox, "Download as Image" captures an incorrectly rendered image.
The image should be captured exactly as shown in browser.
Visit axii.axo.dev in Firefox, input Ctrl-+ (increasing scale to 110%), upload your image, then click the "Download as Image" button.
Firefox 99.0.1 on NixOS
ran into this while trying to migrate to CF workers. gonna take it down for now, but i'll republish it once we get it building.
ag_dubs@Ashleys-MBP-2 axii % npm run build
> [email protected] build
> nuxt generate
Nuxi 3.0.0-rc.12 13:15:07
Nuxt 3.0.0-rc.12 with Nitro 0.6.0 13:15:07
โน Using Tailwind CSS from ~/css/main.css nuxt:tailwindcss 13:15:08
โน Client built in 4487ms 13:15:14
โน Building server... 13:15:14
โ Server built in 1530ms 13:15:15
โ Generated public .output/public nitro 13:15:15
โน Initializing prerenderer nitro 13:15:15
โน Prerendering 3 initial routes with crawler nitro 13:15:16
ERROR [nuxt] [request error] [unhandled] [500] Named export 'saveAs' not found. The requested module 'file:///Users/ag_dubs/axo/axii/node_modules/file-saver/dist/FileSaver.min.js' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:
import pkg from 'file:///Users/ag_dubs/axo/axii/node_modules/file-saver/dist/FileSaver.min.js';
const { saveAs } = pkg;
at ModuleJob._instantiate (node:internal/modules/esm/module_job:124:21)
at async ModuleJob.run (node:internal/modules/esm/module_job:190:5)
ERROR [nuxt] [request error] [unhandled] [500] Named export 'saveAs' not found. The requested module 'file:///Users/ag_dubs/axo/axii/node_modules/file-saver/dist/FileSaver.min.js' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:
import pkg from 'file:///Users/ag_dubs/axo/axii/node_modules/file-saver/dist/FileSaver.min.js';
const { saveAs } = pkg;
at ModuleJob._instantiate (node:internal/modules/esm/module_job:124:21)
at async ModuleJob.run (node:internal/modules/esm/module_job:190:5)
ERROR [nuxt] [request error] [unhandled] [500] Named export 'saveAs' not found. The requested module 'file:///Users/ag_dubs/axo/axii/node_modules/file-saver/dist/FileSaver.min.js' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:
import pkg from 'file:///Users/ag_dubs/axo/axii/node_modules/file-saver/dist/FileSaver.min.js';
const { saveAs } = pkg;
at ModuleJob._instantiate (node:internal/modules/esm/module_job:124:21)
at async ModuleJob.run (node:internal/modules/esm/module_job:190:5)
โโ /200.html (4ms) nitro 13:15:16
โโ /404.html (3ms) nitro 13:15:16
โ You can now deploy .output/public to any static hosting!
for my own sanity, we'll save ourselves some bandwidth (literally and figuratively) if we limit the filesize we accept. i don't have a strong opinion on what the limit is.. just that a limit would be good :)
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.