brighten differs from pre v1
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- javascript, nodejs, typescript
- Ambito
- computer-graphics
Direzione di ricerca
Inizia dall'API della luminosità di Jimp e riproduci i valori riportati con Jimp 1.6.0, confrontandoli con il comportamento di v0.x descritto nell'issue. Traccia come vengono interpretati i valori da -1 a 1 e verifica che i valori zero, positivi e frazionari corrispondano al comportamento atteso indicato quando il fix è completo.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- TypeScript
- Stelle
- 14.7k
- Fork
- 777
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di jimp-dev/jimp
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
Add blit changes to migration guide.Forse già presa @ryanchou1994 l’ha presa 42 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
documentation help wanted solution in issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 62/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 48/100
Tutte le issue di jimp-dev/jimp
Issue simili
-
Shell: serve the home app's Cookie Policy on a hard reloadForse già presa @2001anshkaushik l’ha presa oggi. Apertafeature module:ai
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
rocketride-org/rocketride-server#2899 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
wazuh/wazuh-dashboard-plugins#9551 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
gofish-graphics/gofish-graphics#1252 ·
I maintainer di solito rispondono entro 1 giorno
-
optimization P3 size:XS
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
josephfung/curia#2366 ·
I maintainer di solito rispondono entro 1 giorno
-
stranded-follow-up sweep trusts any issue whose body carries the marker as the tracking issueApertatype:bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
nightgauge/nightgauge#2688 ·
I maintainer di solito rispondono entro 1 giorno