mirror of
https://github.com/Brooooooklyn/Image.git
synced 2025-12-08 18:36:03 +00:00
* Initial plan * Initial analysis of PNG quantization color distortion issue Co-authored-by: Brooooooklyn <3468483+Brooooooklyn@users.noreply.github.com> * fix(png): correct gamma handling in PNG quantization to prevent color distortion Co-authored-by: Brooooooklyn <3468483+Brooooooklyn@users.noreply.github.com> * feat(png): add configurable gamma parameter for non-sRGB images in quantization - Add optional gamma parameter to PngQuantOptions - Default to 0.45 (sRGB) but allow override for linear RGB (1.0) and other color spaces - Added comprehensive documentation with common gamma values - Addresses concern about non-sRGB source images Co-authored-by: Brooooooklyn <3468483+Brooooooklyn@users.noreply.github.com> * feat(png): add automatic gamma detection from PNG metadata in quantization Co-authored-by: Brooooooklyn <3468483+Brooooooklyn@users.noreply.github.com> * feat(png): remove manual gamma override, use only automatic detection Removed the gamma field from PngQuantOptions struct per feedback from @Brooooooklyn. Now only uses detect_gamma_from_png_info() for automatic gamma detection from PNG metadata (sRGB chunk, gAMA chunk, or sRGB fallback). Co-authored-by: Brooooooklyn <3468483+Brooooooklyn@users.noreply.github.com> * remove package-lock.json and add to gitignore Co-authored-by: Brooooooklyn <3468483+Brooooooklyn@users.noreply.github.com> * revert accidental yarn.lock format change and generated files Co-authored-by: Brooooooklyn <3468483+Brooooooklyn@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Brooooooklyn <3468483+Brooooooklyn@users.noreply.github.com>
28 lines
361 B
Plaintext
28 lines
361 B
Plaintext
target
|
|
node_modules
|
|
*.node
|
|
Cargo.lock
|
|
*.log
|
|
.swc
|
|
.DS_Store
|
|
.pnp.*
|
|
.yarn/*
|
|
!.yarn/patches
|
|
!.yarn/plugins
|
|
!.yarn/releases
|
|
!.yarn/sdks
|
|
!.yarn/versions
|
|
.turbo
|
|
*.tsbuildinfo
|
|
optimized*
|
|
lib
|
|
dist
|
|
output-exif.*
|
|
!output-exif.no-rotate.image.webp
|
|
!output-exif.image.webp
|
|
nasa-small.*
|
|
output-overlay-png.png
|
|
output-debian.jpeg
|
|
*.wasm
|
|
packages/binding/npm
|
|
package-lock.json |