alla flaggor
trixie  ] [  sid  ]
[ Källkod: golang-github-makeworld-the-better-one-dither  ]

Paket: golang-github-makeworld-the-better-one-dither-dev (2.4.0-2)

Länkar för golang-github-makeworld-the-better-one-dither-dev

Screenshot

Debianresurser:

Hämta källkodspaketet golang-github-makeworld-the-better-one-dither:

Ansvariga:

Externa resurser:

Liknande paket:

fast, correct image dithering library in Go

dither is a library for dithering images in Go. It has many dithering algorithms built-in, and allows you to specify your own. Correctness is a top priority, as well as performance. It is designed to work well on its own, but also implements interfaces from the standard library, so that it can be integrated easily in a wide variety of situtations.

This library is uniquely correct from a math and quality perspective. It linearizes the image, and color comparisons are done with human luminance perception in mind (channel weighting). Few-to-no other libraries do this.

It supports images that make use of the alpha channel, AKA transparency.

Types of dithering supported:

 * Random noise (in grayscale and RGB)
 * Ordered Dithering
   - Bayer matrix of any size (as long as dimensions are powers of two)
   - Clustered-dot - many different preprogrammed matrices
   - Some unusual horizontal or vertical line matrices
   - Yours?
     + Using PixelMapperFromMatrix, this library can dither using
       any matrix
     + If you need more freedom, PixelMapper can be used to implement
       any method of dithering that affects each pixel individually

 * Error diffusion dithering
   - Simple 2D
   - Floyd-Steinberg, False Floyd-Steinberg
   - Jarvis-Judice-Ninke
   - Atkinson
   - Stucki
   - Burkes
   - Sierra/Sierra3, Sierra2, Sierra2-4A/Sierra-Lite
   - Steven Pigeon (https://hbfs.wordpress.com/2013/12/31/dithering/)
   - Yours? Custom error diffusion matrices can be used by the library.

More methods of dithering are being worked on, such as Riemersma, Yuliluoma, and blue noise.

Hämta golang-github-makeworld-the-better-one-dither-dev

Hämtningar för alla tillgängliga arkitekturer
Arkitektur Paketstorlek Installerad storlek Filer
all 1.994,9 kbyte2.108,0 kbyte [filförteckning]