diff --git a/package.json b/package.json index fd6c02e6..12df52de 100644 --- a/package.json +++ b/package.json @@ -64,6 +64,7 @@ "highlight.js": "^11.7.0", "iarna-toml-esm": "^3.0.5", "ibantools": "^4.3.3", + "image-to-ascii-art": "^0.0.4", "json5": "^2.2.3", "jwt-decode": "^3.1.2", "libphonenumber-js": "^1.10.28", diff --git a/src/tools/image-to-ascii-art/image-to-ascii-art.vue b/src/tools/image-to-ascii-art/image-to-ascii-art.vue new file mode 100644 index 00000000..c6b2ad63 --- /dev/null +++ b/src/tools/image-to-ascii-art/image-to-ascii-art.vue @@ -0,0 +1,102 @@ + + + + + diff --git a/src/tools/image-to-ascii-art/index.ts b/src/tools/image-to-ascii-art/index.ts new file mode 100644 index 00000000..2bd6fe25 --- /dev/null +++ b/src/tools/image-to-ascii-art/index.ts @@ -0,0 +1,12 @@ +import { Artboard } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: 'Image to ASCII Art', + path: '/image-to-ascii-art', + description: 'Image to ASCII Art Generator', + keywords: ['image', 'ascii', 'art'], + component: () => import('./image-to-ascii-art.vue'), + icon: Artboard, + createdAt: new Date('2024-03-15'), +}); diff --git a/src/tools/index.ts b/src/tools/index.ts index aa861c93..0b43a8e1 100644 --- a/src/tools/index.ts +++ b/src/tools/index.ts @@ -6,6 +6,7 @@ import { tool as asciiTextDrawer } from './ascii-text-drawer'; import { tool as textToUnicode } from './text-to-unicode'; import { tool as safelinkDecoder } from './safelink-decoder'; +import { tool as imageToAsciiArt } from './image-to-ascii-art'; import { tool as pdfSignatureChecker } from './pdf-signature-checker'; import { tool as numeronymGenerator } from './numeronym-generator'; import { tool as macAddressGenerator } from './mac-address-generator'; @@ -132,7 +133,13 @@ export const toolsByCategory: ToolCategory[] = [ }, { name: 'Images and videos', - components: [qrCodeGenerator, wifiQrCodeGenerator, svgPlaceholderGenerator, cameraRecorder], + components: [ + qrCodeGenerator, + wifiQrCodeGenerator, + svgPlaceholderGenerator, + cameraRecorder, + imageToAsciiArt, + ], }, { name: 'Development',