2025-04-02 03:46:42 +00:00
|
|
|
import { defineTool } from '@tools/defineTool';
|
|
|
|
|
import { lazy } from 'react';
|
|
|
|
|
|
|
|
|
|
export const tool = defineTool('image-generic', {
|
2025-07-14 13:55:01 +01:00
|
|
|
i18n: {
|
|
|
|
|
name: 'image:resize.title',
|
|
|
|
|
description: 'image:resize.description',
|
|
|
|
|
shortDescription: 'image:resize.shortDescription'
|
|
|
|
|
},
|
2025-04-02 03:46:42 +00:00
|
|
|
name: 'Resize Image',
|
|
|
|
|
path: 'resize',
|
|
|
|
|
icon: 'mdi:resize', // Iconify icon as a string
|
|
|
|
|
description:
|
|
|
|
|
'Resize JPG, PNG, SVG or GIF images by pixels or percentage while maintaining aspect ratio or not.',
|
|
|
|
|
shortDescription: 'Resize images easily.',
|
|
|
|
|
keywords: [
|
|
|
|
|
'resize',
|
|
|
|
|
'image',
|
|
|
|
|
'scale',
|
|
|
|
|
'jpg',
|
|
|
|
|
'png',
|
|
|
|
|
'svg',
|
|
|
|
|
'gif',
|
|
|
|
|
'dimensions'
|
|
|
|
|
],
|
|
|
|
|
component: lazy(() => import('./index'))
|
|
|
|
|
});
|