README ¶ rekadrage Expand ▾ Collapse ▴ Documentation ¶ Index ¶ func Rekadrage(img image.Image, c Config, log *log.Logger) image.Image type Config Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Rekadrage ¶ func Rekadrage(img image.Image, c Config, log *log.Logger) image.Image Types ¶ type Config ¶ type Config struct { Margin int // Margin to be added in the output picture Tolerance int // Tolerance admitted for the difference with control pixel. Higher tolerance will result in a narrower cropping. } Source Files ¶ View all Source files rekadrage.go Directories ¶ Show internal Expand all Path Synopsis example Click to show internal directories. Click to hide internal directories.