brighten differs from pre v1
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- javascript, nodejs, typescript
調査の方向性
Jimp の brightness API から始め、Jimp 1.6.0 で報告された値を再現し、issue に記載されている v0.x の動作と比較します。-1 から 1 までの値がどのように解釈されるかを追跡し、fix が完了したときに、ゼロ、正の値、分数値が記載された期待される動作と一致することを確認します。
索引モデルが issue の本文から書いたものです。
説明
Has the parameter value definition changed from Jimp 0.x to 1.x?
Expected Behavior
Brightness with a value of 0 should not affect image like it did in v0.x
Brightness with a value of 1 should fully lighten an image like it did in v0.x
Brightness with a value of -1 should fully darken an image like it did in v0.x
Brightness with a value of -0.5 should half darken an image like it did in v0.x
Brightness with a value of 0.5 should half lighten an image like it did in v0.x
Using Jimp V0.x (using Node-RED to simplify testing)
Current Behavior
Brightness with a value of 0 in v1.6 behaves differently - it darkens the image
Brightness with a value of 1 in v1.6 behaves differently - it has little affect on the image
Brightness with a value of -1 correctly fully darkens an image like it did in v0.x
Brightness with a value of -0.5 in v1.6 behaves differently - it FULLY darkens the image
Brightness with a value of 0.5 in v1.6 behaves differently - it half darkens the image
Failure Information (for bugs)
Steps to Reproduce
Demonstrating -0.5 brightness
- load image
- invert
- apply brightness -0.5
Demonstrating -0.0 brightness
- load image
- invert
- apply brightness -0.0
Demonstrating 1.0 brightness
- load image
- invert
- apply brightness 1.0
Context
- Jimp Version: 1.6.0
- Operating System: Win 11
- Node version: 18
Failure Logs
- 主要言語
- TypeScript
- スター
- 14.7k
- フォーク
- 777
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
jimp-dev/jimp のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
Add blit changes to migration guide.対応中かも @ryanchou1994 が 43 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
documentation help wanted solution in issue
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 62/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
components-web-app/docs#307 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
localstack/localstack-mcp-server#112 ·
メンテナーはふだん 1 日以内に返信
-
area:frontend kind:bug priority:p1 ready
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
bug ready-for-agent
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
PhyberApex/kuroshiro#1687 ·
メンテナーはふだん 1 日以内に返信
-
Performance (Web Vitals) collector: LCP/FCP from background tabs are not discarded, inflating p75オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
umami-software/umami#4720 ·
メンテナーはふだん 3 日以内に返信