+ {zoom === "fit" + ? "Scaled to fit the window. Choose 100% to judge quality." + : `${zoom * 100}%: each image pixel is ${zoom === 1 ? "one screen pixel" : `${zoom}×${zoom} screen pixels`}. Drag or scroll to pan both sides together.`}{" "} + {width} × {height}px. + {note ? ` ${note}` : ""} +
++ Your browser can't display {format.label} images. The file was + still created and can be downloaded. +
+ ); + } + return ( ++ Encoding failed: {result.error} +
+ ); + } + return ( ++ {format.codec} · .{format.extension} + {format.supportsAlpha ? "" : " · no transparency"} +
++ Compress an image into multiple formats and compare sizes side by + side +
++ Shrink the image to fit within these bounds before compressing. + Aspect ratio is kept and images are never enlarged. +
++ Output: {workingImage.width} × {workingImage.height}px +
+ ) : null} ++ Compression runs on this device with WebAssembly encoders. Your image is + never uploaded. Output files do not keep the original metadata (EXIF, + GPS, color profiles). +
+ + {compare && workingImage ? ( +