enable_directx
enable_directx($enable=true); - allow drawing images via DirectX (Available from version 4.10.1)
The function accepts parameters as input:
$enable – allow or disable drawing via DirectX
After testing, the function returns the result of its work to the script :
true – successfulfalse – failed