Back to Image class

Method setThumbnailGenerate

public void
setThumbnailGenerate
(mixed $quality = true)
Method for set option of generate thumbnail method
Parameters
  • bool $quality True for best quality. False for best speed.
Returns
  • void
Since
  • 3.7.0
Class: Image
Project: Joomla

Method setThumbnailGenerate - Source code

/**
 * Method for set option of generate thumbnail method
 *
 * @param   boolean  $quality  True for best quality. False for best speed.
 *
 * @return  void
 *
 * @since   3.7.0
 */
public function setThumbnailGenerate($quality = true)
{
    $this->generateBestQuality = (bool) $quality;
}