type CompressionInputProps = { compression: number; handleCompressionChange: (arg: any) => void; }; export function CompressionInput({ compression, handleCompressionChange, }: CompressionInputProps) { return (
Image Compression ({compression}%)
PNG compression is lossless, so it might not reduce the file size significantly and higher compression values might affect the performance. JPG and WebP compression is lossy.
)}