chore: remove flip x and y

This commit is contained in:
Ibrahima G. Coulibaly
2025-07-07 01:50:20 +01:00
parent 3eaf8e41b0
commit 72c6cc541c
3 changed files with 6 additions and 31 deletions

View File

@@ -14,7 +14,7 @@ import ToolFileResult from '@components/result/ToolFileResult';
import { processImage } from './service';
const initialValues: InitialValuesType = {
rotateAngle: '0',
rotateAngle: '90',
rotateMethod: 'Preset'
};
@@ -73,9 +73,7 @@ export default function RotateImage({ title }: ToolComponentProps) {
options={[
{ label: '90 degrees', value: '90' },
{ label: '180 degrees', value: '180' },
{ label: '270 degrees', value: '270' },
{ label: 'Flip horizontally', value: 'flip-x' },
{ label: 'Flip vertically', value: 'flip-y' }
{ label: '270 degrees', value: '270' }
]}
/>
</Box>
@@ -118,7 +116,7 @@ export default function RotateImage({ title }: ToolComponentProps) {
value={input}
onChange={setInput}
title={'Input Image'}
accept={['image/jpeg', 'image/png', 'image/svg+xml', 'image/gif']}
accept={['image/*']}
/>
}
resultComponent={