{t("textureDetail", { raw: kb(texture.rawBytes), ratio: texture.ratio, width: texture.width, height: texture.height, frames: texture.spriteCount, })}
{texture.format === "png" ? ({texture.webpEstimate.savingBytes > 0 ? t.rich("legacyPngSaving", { size: kb(texture.webpEstimate.bytes), saving: kb(texture.webpEstimate.savingBytes), percent: texture.webpEstimate.bytes > 0 ? Math.round( (1 - texture.webpEstimate.bytes / texture.rawBytes) * 100, ) : 0, strong: (chunks) => {chunks}, }) : t.rich("legacyPngNoGain", { size: kb(texture.webpEstimate.bytes), strong: (chunks) => {chunks}, })}
) : ({pngSaving > 0 ? t.rich("webpSaving", { raw: kb(texture.rawBytes), png: kb(texture.pngEstimate.bytes), saving: kb(pngSaving), percent: texture.pngEstimate.bytes > 0 ? Math.round((pngSaving / texture.pngEstimate.bytes) * 100) : 0, strong: (chunks) => {chunks}, }) : t("webpNoGain", { raw: kb(texture.rawBytes), png: kb(texture.pngEstimate.bytes), })}
)}{visibleDiffs === 0 ? ( <> {t.rich("pixelExact", { strong: (chunks) => ( {chunks} ), })} {texture.invisibleDifferences > 0 && ( {" "} {t("invisibleDiffs", { count: texture.invisibleDifferences, })} )} > ) : ( {t("texelsDiffer", { count: visibleDiffs })} )}
{t("spritesLine", { sprites: report.assets.length, animations: report.animations.length, directions: report.directions.join(", ") || "—", })}
{report.state === "missing" && ({t("missingScale")}
)} {report.assets.length > 0 && ( <>{t("renderFailed")}
) : ({t("intro")}
{error}
) : !report ? ({t("checking")}
) : (