| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
 Inheritance diagram for ILIAS\Filesystem\Util\ImageConversionTest:
 Collaboration diagram for ILIAS\Filesystem\Util\ImageConversionTest:Public Member Functions | |
| testImageThumbnailActualImage () | |
| testImageSquareActualImage () | |
| testResizeToFitWidth (int $width, int $height, int $final_width, int $final_height) | |
| getImageSizesByWidth  More... | |
| testResizeToFitHeight (int $width, int $height, int $final_height, int $final_width) | |
| getImageSizesByHeight  More... | |
| testResizeByFixedSize (int $width, int $height, int $final_width, int $final_height, bool $crop) | |
| getImageSizesByFixed  More... | |
| testImageOutputOptions (ImageOutputOptions $options, string $expected_mime_type, int $expected_quality) | |
| getImageOptions  More... | |
| testImageOutputOptionSanity () | |
| testWrongFormats (string $format) | |
| getWrongFormats  More... | |
| testWrongQualities (int $quality) | |
| getWrongQualites  More... | |
| testFormatConvert () | |
| testFailed () | |
| testBackgroundColor (?string $color) | |
| getColors  More... | |
| testWriteImage () | |
| testHighDensityPixel () | |
Static Public Member Functions | |
| static | getImageSizesByWidth () | 
| static | getImageSizesByHeight () | 
| static | getImageSizesByFixed () | 
| static | getImageOptions () | 
| static | getWrongFormats () | 
| static | getWrongQualites () | 
| static | getColors () | 
Protected Member Functions | |
| setUp () | |
| checkImagick () | |
| getImageSizeFromStream (FileStream $stream) | |
| getImageTypeFromStream (FileStream $stream) | |
| getImageQualityFromStream (FileStream $stream) | |
| createTestImageStream (int $width, int $height) | |
Protected Attributes | |
| const | BY_WIDTH_FINAL = 256 | 
| const | BY_HEIGHT_FINAL = 756 | 
| const | W = 'width' | 
| const | H = 'height' | 
| const | IMAGE_JPEG = 'image/jpeg' | 
| const | IMAGE_PNG = 'image/png' | 
| const | IMAGE_WEBP = 'image/webp' | 
| Images | $images | 
Private Member Functions | |
| colorDiff (string $hex_color_one, string $hex_color_two) | |
Definition at line 33 of file ImageConversionTest.php.
      
  | 
  protected | 
Definition at line 510 of file ImageConversionTest.php.
Referenced by ILIAS\Filesystem\Util\ImageConversionTest\setUp().
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 411 of file ImageConversionTest.php.
Referenced by ILIAS\Filesystem\Util\ImageConversionTest\testBackgroundColor().
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 540 of file ImageConversionTest.php.
Referenced by ILIAS\Filesystem\Util\ImageConversionTest\testFormatConvert(), ILIAS\Filesystem\Util\ImageConversionTest\testImageOutputOptions(), ILIAS\Filesystem\Util\ImageConversionTest\testResizeByFixedSize(), ILIAS\Filesystem\Util\ImageConversionTest\testResizeToFitHeight(), ILIAS\Filesystem\Util\ImageConversionTest\testResizeToFitWidth(), and ILIAS\Filesystem\Util\ImageConversionTest\testWriteImage().
 Here is the caller graph for this function:
      
  | 
  static | 
Definition at line 393 of file ImageConversionTest.php.
      
  | 
  static | 
Definition at line 245 of file ImageConversionTest.php.
      
  | 
  protected | 
Definition at line 531 of file ImageConversionTest.php.
Referenced by ILIAS\Filesystem\Util\ImageConversionTest\testImageOutputOptions().
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 517 of file ImageConversionTest.php.
References ILIAS\Repository\int().
Referenced by ILIAS\Filesystem\Util\ImageConversionTest\testFormatConvert(), ILIAS\Filesystem\Util\ImageConversionTest\testImageSquareActualImage(), ILIAS\Filesystem\Util\ImageConversionTest\testResizeByFixedSize(), ILIAS\Filesystem\Util\ImageConversionTest\testResizeToFitHeight(), and ILIAS\Filesystem\Util\ImageConversionTest\testResizeToFitWidth().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  static | 
Definition at line 210 of file ImageConversionTest.php.
      
  | 
  static | 
Definition at line 158 of file ImageConversionTest.php.
      
  | 
  static | 
Definition at line 107 of file ImageConversionTest.php.
      
  | 
  protected | 
Definition at line 526 of file ImageConversionTest.php.
Referenced by ILIAS\Filesystem\Util\ImageConversionTest\testFormatConvert(), and ILIAS\Filesystem\Util\ImageConversionTest\testImageOutputOptions().
 Here is the caller graph for this function:
      
  | 
  static | 
Definition at line 310 of file ImageConversionTest.php.
      
  | 
  static | 
Definition at line 329 of file ImageConversionTest.php.
      
  | 
  protected | 
Definition at line 46 of file ImageConversionTest.php.
References ILIAS\Filesystem\Util\ImageConversionTest\checkImagick().
 Here is the call graph for this function:| ILIAS\Filesystem\Util\ImageConversionTest::testBackgroundColor | ( | ?string | $color | ) | 
getColors
Definition at line 424 of file ImageConversionTest.php.
References ILIAS\Filesystem\Util\ImageConversionTest\colorDiff().
 Here is the call graph for this function:| ILIAS\Filesystem\Util\ImageConversionTest::testFailed | ( | ) | 
Definition at line 376 of file ImageConversionTest.php.
| ILIAS\Filesystem\Util\ImageConversionTest::testFormatConvert | ( | ) | 
Definition at line 348 of file ImageConversionTest.php.
References ILIAS\Filesystem\Util\ImageConversionTest\createTestImageStream(), ILIAS\Filesystem\Util\ImageConversionTest\getImageSizeFromStream(), and ILIAS\Filesystem\Util\ImageConversionTest\getImageTypeFromStream().
 Here is the call graph for this function:| ILIAS\Filesystem\Util\ImageConversionTest::testHighDensityPixel | ( | ) | 
Definition at line 481 of file ImageConversionTest.php.
| ILIAS\Filesystem\Util\ImageConversionTest::testImageOutputOptions | ( | ImageOutputOptions | $options, | 
| string | $expected_mime_type, | ||
| int | $expected_quality | ||
| ) | 
getImageOptions
Definition at line 266 of file ImageConversionTest.php.
References ILIAS\Filesystem\Util\ImageConversionTest\createTestImageStream(), ILIAS\Filesystem\Util\ImageConversionTest\getImageQualityFromStream(), and ILIAS\Filesystem\Util\ImageConversionTest\getImageTypeFromStream().
 Here is the call graph for this function:| ILIAS\Filesystem\Util\ImageConversionTest::testImageOutputOptionSanity | ( | ) | 
Definition at line 283 of file ImageConversionTest.php.
| ILIAS\Filesystem\Util\ImageConversionTest::testImageSquareActualImage | ( | ) | 
Definition at line 81 of file ImageConversionTest.php.
References ILIAS\Filesystem\Util\ImageConversionTest\getImageSizeFromStream().
 Here is the call graph for this function:| ILIAS\Filesystem\Util\ImageConversionTest::testImageThumbnailActualImage | ( | ) | 
Definition at line 54 of file ImageConversionTest.php.
| ILIAS\Filesystem\Util\ImageConversionTest::testResizeByFixedSize | ( | int | $width, | 
| int | $height, | ||
| int | $final_width, | ||
| int | $final_height, | ||
| bool | $crop | ||
| ) | 
getImageSizesByFixed
Definition at line 225 of file ImageConversionTest.php.
References ILIAS\Filesystem\Util\ImageConversionTest\createTestImageStream(), and ILIAS\Filesystem\Util\ImageConversionTest\getImageSizeFromStream().
 Here is the call graph for this function:| ILIAS\Filesystem\Util\ImageConversionTest::testResizeToFitHeight | ( | int | $width, | 
| int | $height, | ||
| int | $final_height, | ||
| int | $final_width | ||
| ) | 
getImageSizesByHeight
Definition at line 172 of file ImageConversionTest.php.
References ILIAS\Filesystem\Util\ImageConversionTest\createTestImageStream(), and ILIAS\Filesystem\Util\ImageConversionTest\getImageSizeFromStream().
 Here is the call graph for this function:| ILIAS\Filesystem\Util\ImageConversionTest::testResizeToFitWidth | ( | int | $width, | 
| int | $height, | ||
| int | $final_width, | ||
| int | $final_height | ||
| ) | 
getImageSizesByWidth
Definition at line 120 of file ImageConversionTest.php.
References ILIAS\Filesystem\Util\ImageConversionTest\createTestImageStream(), and ILIAS\Filesystem\Util\ImageConversionTest\getImageSizeFromStream().
 Here is the call graph for this function:| ILIAS\Filesystem\Util\ImageConversionTest::testWriteImage | ( | ) | 
Definition at line 456 of file ImageConversionTest.php.
References ILIAS\Filesystem\Util\ImageConversionTest\createTestImageStream().
 Here is the call graph for this function:| ILIAS\Filesystem\Util\ImageConversionTest::testWrongFormats | ( | string | $format | ) | 
getWrongFormats
Definition at line 322 of file ImageConversionTest.php.
| ILIAS\Filesystem\Util\ImageConversionTest::testWrongQualities | ( | int | $quality | ) | 
getWrongQualites
Definition at line 341 of file ImageConversionTest.php.
      
  | 
  protected | 
Definition at line 44 of file ImageConversionTest.php.
      
  | 
  protected | 
Definition at line 38 of file ImageConversionTest.php.
      
  | 
  protected | 
Definition at line 37 of file ImageConversionTest.php.
      
  | 
  protected | 
Definition at line 40 of file ImageConversionTest.php.
      
  | 
  protected | 
Definition at line 41 of file ImageConversionTest.php.
      
  | 
  protected | 
Definition at line 42 of file ImageConversionTest.php.
      
  | 
  protected | 
Definition at line 43 of file ImageConversionTest.php.
      
  | 
  protected | 
Definition at line 39 of file ImageConversionTest.php.