Quality setting can be set individually for different formats

オープン
#2,340 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
52/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
nuxt, typescript
領域
web-dev

調査の方向性

Start by locating the global quality configuration and the code that handles image formats in the Nuxt image module. Check how quality is passed to avif, webp, and jpg processing, then verify that per-format settings like the proposed example work while the existing global setting remains supported.

索引モデルが issue の本文から書いたものです。

説明

enhancement

Formats like avif can support a lower quality with similar results than webp or jpg. I think it would be a usefull addition to be able to set different global quality settings for different formats. For example:
format: [ 'avif': { quality: 60 }, 'webp': { quality: 80 } ],

主要言語
TypeScript
スター
1.6k
フォーク
335
平均マージ
3日 13時間
マージ済み PR(30日)
15

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

nuxt/image のほかの issue

nuxt/image の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。