{ open = false; ondownload(); }} >
{t("actions.download")}
(open = !open)} >
{current.label}
{#if open}
{#each OUTPUT_FORMATS as f (f.mime)}
choose(f.mime)} > {f.label}
{/each} {#if qualitySpec && quality !== undefined}
onquality(q)} />
{/if}
{t("actions.sizeLimitKb")}
{#if limitKb !== undefined && format === "image/bmp"}
{t("actions.sizeLimitBmp")}
{/if}
{/if}