Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
ColorThief
Test
ColorThiefTest
testGetPaletteWithTooFewColors
ColorThief\Test\ColorThiefTest::testGetPaletteWithTooFewColors PHP Method
ColorThiefTest Class Documentation
Datei anzeigen
Open project: ksubileau/color-thief-php
testGetPaletteWithTooFewColors()
public
method
public
testGetPaletteWithTooFewColors
( )
public function testGetPaletteWithTooFewColors() { ColorThief::getPalette("foo.jpg", 1); }
ColorThiefTest
provide5bitsColorIndex
provide8bitsColorIndex
provideImageColorPalette
provideImageDominantColor
provideNaturalOrderComparison
testDoCutLeftGreaterThanRight
testDoCutLeftLetherThanRight
testDominantColor
testGetColorIndex5bits
testGetColorIndex8bits
testGetColorsFromIndex8bits
testGetHisto
testGetPaletteWithBlankImage
testGetPaletteWithInvalidQuality
testGetPaletteWithTooFewColors
testGetPaletteWithTooManyColors
testNaturalOrder
testPalette
testPaletteBinaryString
testRemoteImage
testVboxFromPixels