Function __global->re_hue_image

Definitions

sources/themewizard.php

  • Generate a theme image by converting an existing one to a new colour scheme via re-hueing.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: N/A

Parameters

Name Type Default Set Range Description
$path PATH required parameter N/A N/A The image path
$seed string required parameter N/A N/A The colour code of our hue
$source_theme ID_TEXT required parameter N/A N/A The theme this is being generated from
$also_s_and_v boolean False N/A N/A Whether to also adjust the S and V components
$invert boolean False N/A N/A Whether to invert the colours

Return

  • The image (resource of text)
  • Type: mixed
  • Set: N/A
  • Range: N/A