(PECL imagick 2.0.0)
Imagick::thumbnailImage — Changes the size of an image
Această funcție nu este documentată în prezent; este disponibilă numai lista sa de argumente.
Changes the size of an image to the given dimensions and removes any associated profiles. The goal is to produce small low cost thumbnail images suited for display on the Web. If TRUE is given as a third parameter then columns and rows parameters are used as maximums for each side. Both sides will be scaled down until the match or are smaller than the parameter given for the side.
Notă: Comportamentul parametrului bestfit s-a schimbat în Imagick 3.0.0. Anterior acestei versiuni în cazul dimensiunilor 400x400, o imagine cu dimensiunile 200x150 ar fi rămas neschimbată. În Imagick 3.0.0 și versiunile ulterioare imaginea va fi mărită la dimensiunile 400x300 deoarece aceasta este "cea mai bună potrivire" pentru dimensiunile date. Dacă parametrul bestfit este utilizat, trebuie furnizate atât lățimea, cât și înălțimea.
Image width
Image height
Whether to force maximum values
Întoarce TRUE în caz de succes.
Emite ImagickException în caz de eroare.