type CompressionInputProps = { compression: number; handleCompressionChange: (arg: any) => void; }; export function CompressionInput({ compression, handleCompressionChange, }: CompressionInputProps) { return (

Image Compression ({compression}%)

{compression > 0 && (

PNG compression is lossless. It might not have a significant effect on some images.

)}
); }