This plug-in calculates the most often used color in a specified border of the active layer or selection. It can gather similar colors together so that they become predominant. The calculated color becomes the foreground color in the Toolbox. This filter is interesting when you have to find a Web page color background that differs as little as possible from your image border. The action of this filter is not registered in Undo History and can't be undone with Ctrl+Z: it doesn't modify the image.
Nota | |
---|---|
Aquesta ordre només funciona amb imatges RGB. Si la imatge és en escala de grisos o indexada, l'entrada del menú estarà desactivada. |
The border Thickness in pixels.
La mida del pot de pintura permet controlar el nombre de colors similars del mateix pot. Una mida baixa del pot (és a dir, un gran nombre de pots) dona una millor precisió en el càlcul de la mitjana de color. Recordeu que una millor precisió no significa necessàriament millors resultats (mireu l'exemple de sota).
The bucket size is low. So the bucket number is high. All color shades can be stored in different buckets. Here, the bucket containing red is the most filled. The resulting color is a nearly pure Red (254,2,2) and becomes the foreground color in the Toolbox.
Ací la mida del pot és gran, i el nombre de pots és baix. Colors similars s'emmagatzemen al mateix pot. El pot «verd» és el més ple. Tots els colors del pot tenen els mateixos valors pels dos bits més significatius: (00******;11******;00******). Els 6 bits restants poden tenir valors del 0 al 63 pel canal respectiu. Així, en aquest pot els canals vermells van del 0 al 63, els canals verds van del 192 al 255, els canals blaus van del 0 al 63. El color resultant és el verd (32,224,32), que per cada canal és la mitja entre els límits de la franja del canal (63 + 0)/2, (255+192)/2 , (63+0)/2.