Skip to content

Instantly share code, notes, and snippets.

@blar
Created November 4, 2017 15:58
Show Gist options
  • Save blar/17707fa1dc511ab7077508a3606f20ff to your computer and use it in GitHub Desktop.
Save blar/17707fa1dc511ab7077508a3606f20ff to your computer and use it in GitHub Desktop.
<?php
if (!function_exists('imageaffinematrixconcat')) {
function imageaffinematrixconcat()
{
return call_user_func_array('image_affine_matrix_concat', func_get_args());
}
}
if (!function_exists('imageaffinematrixget')) {
function imageaffinematrixget()
{
return call_user_func_array('image_affine_matrix_get', func_get_args());
}
}
if (!function_exists('imageaffine')) {
function imageaffine()
{
return call_user_func_array('image_affine', func_get_args());
}
}
if (!function_exists('imagealphablending')) {
function imagealphablending()
{
return call_user_func_array('image_alpha_blending', func_get_args());
}
}
if (!function_exists('imageantialias')) {
function imageantialias()
{
return call_user_func_array('image_antialias', func_get_args());
}
}
if (!function_exists('imagearc')) {
function imagearc()
{
return call_user_func_array('image_arc', func_get_args());
}
}
if (!function_exists('imagebmp')) {
function imagebmp()
{
return call_user_func_array('image_bmp', func_get_args());
}
}
if (!function_exists('imagecharup')) {
function imagecharup()
{
return call_user_func_array('image_char_up', func_get_args());
}
}
if (!function_exists('imagechar')) {
function imagechar()
{
return call_user_func_array('image_char', func_get_args());
}
}
if (!function_exists('imagecolorallocatealpha')) {
function imagecolorallocatealpha()
{
return call_user_func_array('image_color_allocate_alpha', func_get_args());
}
}
if (!function_exists('imagecolorallocate')) {
function imagecolorallocate()
{
return call_user_func_array('image_color_allocate', func_get_args());
}
}
if (!function_exists('imagecolorat')) {
function imagecolorat()
{
return call_user_func_array('image_color_at', func_get_args());
}
}
if (!function_exists('imagecolorclosestalpha')) {
function imagecolorclosestalpha()
{
return call_user_func_array('image_color_closest_alpha', func_get_args());
}
}
if (!function_exists('imagecolorclosesthwb')) {
function imagecolorclosesthwb()
{
return call_user_func_array('image_color_closest_hwb', func_get_args());
}
}
if (!function_exists('imagecolorclosest')) {
function imagecolorclosest()
{
return call_user_func_array('image_color_closest', func_get_args());
}
}
if (!function_exists('imagecolordeallocate')) {
function imagecolordeallocate()
{
return call_user_func_array('image_color_deallocate', func_get_args());
}
}
if (!function_exists('imagecolorexactalpha')) {
function imagecolorexactalpha()
{
return call_user_func_array('image_color_exact_alpha', func_get_args());
}
}
if (!function_exists('imagecolorexact')) {
function imagecolorexact()
{
return call_user_func_array('image_color_exact', func_get_args());
}
}
if (!function_exists('imagecolormatch')) {
function imagecolormatch()
{
return call_user_func_array('image_color_match', func_get_args());
}
}
if (!function_exists('imagecolorresolvealpha')) {
function imagecolorresolvealpha()
{
return call_user_func_array('image_color_resolve_alpha', func_get_args());
}
}
if (!function_exists('imagecolorresolve')) {
function imagecolorresolve()
{
return call_user_func_array('image_color_resolve', func_get_args());
}
}
if (!function_exists('imagecolorset')) {
function imagecolorset()
{
return call_user_func_array('image_color_set', func_get_args());
}
}
if (!function_exists('imagecolortransparent')) {
function imagecolortransparent()
{
return call_user_func_array('image_color_transparent', func_get_args());
}
}
if (!function_exists('imagecolorsforindex')) {
function imagecolorsforindex()
{
return call_user_func_array('image_colors_for_index', func_get_args());
}
}
if (!function_exists('imagecolorstotal')) {
function imagecolorstotal()
{
return call_user_func_array('image_colors_total', func_get_args());
}
}
if (!function_exists('imageconvolution')) {
function imageconvolution()
{
return call_user_func_array('image_convolution', func_get_args());
}
}
if (!function_exists('imagecopymergegray')) {
function imagecopymergegray()
{
return call_user_func_array('image_copy_merge_gray', func_get_args());
}
}
if (!function_exists('imagecopymerge')) {
function imagecopymerge()
{
return call_user_func_array('image_copy_merge', func_get_args());
}
}
if (!function_exists('imagecopyresampled')) {
function imagecopyresampled()
{
return call_user_func_array('image_copy_resampled', func_get_args());
}
}
if (!function_exists('imagecopyresized')) {
function imagecopyresized()
{
return call_user_func_array('image_copyresized', func_get_args());
}
}
if (!function_exists('imagecopy')) {
function imagecopy()
{
return call_user_func_array('image_copy', func_get_args());
}
}
if (!function_exists('imagecreatefrombmp')) {
function imagecreatefrombmp()
{
return call_user_func_array('image_create_from_bmp', func_get_args());
}
}
if (!function_exists('imagecreatefromgd2part')) {
function imagecreatefromgd2part()
{
return call_user_func_array('image_create_from_gd2_part', func_get_args());
}
}
if (!function_exists('imagecreatefromgd2')) {
function imagecreatefromgd2()
{
return call_user_func_array('image_create_from_gd2', func_get_args());
}
}
if (!function_exists('imagecreatefromgd')) {
function imagecreatefromgd()
{
return call_user_func_array('image_create_from_gd', func_get_args());
}
}
if (!function_exists('imagecreatefromg
if')) {
function imagecreatefromg
if()
{
return call_user_func_array('image_create_from_g
if', func_get_args());
}
}
if (!function_exists('imagecreatefromjpeg')) {
function imagecreatefromjpeg()
{
return call_user_func_array('image_create_from_jpeg', func_get_args());
}
}
if (!function_exists('imagecreatefrompng')) {
function imagecreatefrompng()
{
return call_user_func_array('image_create_from_png', func_get_args());
}
}
if (!function_exists('imagecreatefromstring')) {
function imagecreatefromstring()
{
return call_user_func_array('image_create_from_string', func_get_args());
}
}
if (!function_exists('imagecreatefromwbmp')) {
function imagecreatefromwbmp()
{
return call_user_func_array('image_create_from_wbmp', func_get_args());
}
}
if (!function_exists('imagecreatefromwebp')) {
function imagecreatefromwebp()
{
return call_user_func_array('image_create_from_webp', func_get_args());
}
}
if (!function_exists('imagecreatefromxbm')) {
function imagecreatefromxbm()
{
return call_user_func_array('image_create_from_xbm', func_get_args());
}
}
if (!function_exists('imagecreatefromxpm')) {
function imagecreatefromxpm()
{
return call_user_func_array('image_create_from_xpm', func_get_args());
}
}
if (!function_exists('imagecreatetruecolor')) {
function imagecreatetruecolor()
{
return call_user_func_array('image_create_truecolor', func_get_args());
}
}
if (!function_exists('imagecreate')) {
function imagecreate()
{
return call_user_func_array('image_create', func_get_args());
}
}
if (!function_exists('imagecropauto')) {
function imagecropauto()
{
return call_user_func_array('image_crop_auto', func_get_args());
}
}
if (!function_exists('imagecrop')) {
function imagecrop()
{
return call_user_func_array('image_crop', func_get_args());
}
}
if (!function_exists('imagedashedline')) {
function imagedashedline()
{
return call_user_func_array('image_dashed_line', func_get_args());
}
}
if (!function_exists('imagedestroy')) {
function imagedestroy()
{
return call_user_func_array('image_destroy', func_get_args());
}
}
if (!function_exists('imageellipse')) {
function imageellipse()
{
return call_user_func_array('image_ellipse', func_get_args());
}
}
if (!function_exists('imagefilltoborder')) {
function imagefilltoborder()
{
return call_user_func_array('image_fill_to_border', func_get_args());
}
}
if (!function_exists('imagefilledarc')) {
function imagefilledarc()
{
return call_user_func_array('image_filled_arc', func_get_args());
}
}
if (!function_exists('imagefilledellipse')) {
function imagefilledellipse()
{
return call_user_func_array('image_filled_ellipse', func_get_args());
}
}
if (!function_exists('imagefilledpolygon')) {
function imagefilledpolygon()
{
return call_user_func_array('image_filled_polygon', func_get_args());
}
}
if (!function_exists('imagefilledrectangle')) {
function imagefilledrectangle()
{
return call_user_func_array('image_filled_rectangle', func_get_args());
}
}
if (!function_exists('imagefill')) {
function imagefill()
{
return call_user_func_array('image_fill', func_get_args());
}
}
if (!function_exists('imagefilter')) {
function imagefilter()
{
return call_user_func_array('image_filter', func_get_args());
}
}
if (!function_exists('imageflip')) {
function imageflip()
{
return call_user_func_array('image_flip', func_get_args());
}
}
if (!function_exists('imagefontheight')) {
function imagefontheight()
{
return call_user_func_array('image_font_height', func_get_args());
}
}
if (!function_exists('imagefontwidth')) {
function imagefontwidth()
{
return call_user_func_array('image_font_width', func_get_args());
}
}
if (!function_exists('imageftbbox')) {
function imageftbbox()
{
return call_user_func_array('image_ft_bbox', func_get_args());
}
}
if (!function_exists('imagefttext')) {
function imagefttext()
{
return call_user_func_array('image_ft_text', func_get_args());
}
}
if (!function_exists('imagegammacorrect')) {
function imagegammacorrect()
{
return call_user_func_array('image_gamma_correct', func_get_args());
}
}
if (!function_exists('imagegd2')) {
function imagegd2()
{
return call_user_func_array('image_gd2', func_get_args());
}
}
if (!function_exists('imagegd')) {
function imagegd()
{
return call_user_func_array('image_gd', func_get_args());
}
}
if (!function_exists('imagegetclip')) {
function imagegetclip()
{
return call_user_func_array('image_get_clip', func_get_args());
}
}
if (!function_exists('imageg
if')) {
function imageg
if()
{
return call_user_func_array('image_g
if', func_get_args());
}
}
if (!function_exists('imagegrabscreen')) {
function imagegrabscreen()
{
return call_user_func_array('image_grab_screen', func_get_args());
}
}
if (!function_exists('imagegrabwindow')) {
function imagegrabwindow()
{
return call_user_func_array('image_grab_window', func_get_args());
}
}
if (!function_exists('imageinterlace')) {
function imageinterlace()
{
return call_user_func_array('image_interlace', func_get_args());
}
}
if (!function_exists('imageistruecolor')) {
function imageistruecolor()
{
return call_user_func_array('image_is_truecolor', func_get_args());
}
}
if (!function_exists('imagejpeg')) {
function imagejpeg()
{
return call_user_func_array('image_jpeg', func_get_args());
}
}
if (!function_exists('imagelayereffect')) {
function imagelayereffect()
{
return call_user_func_array('image_layer_effect', func_get_args());
}
}
if (!function_exists('imageline')) {
function imageline()
{
return call_user_func_array('image_line', func_get_args());
}
}
if (!function_exists('imageloadfont')) {
function imageloadfont()
{
return call_user_func_array('image_load_font', func_get_args());
}
}
if (!function_exists('imageopenpolygon')) {
function imageopenpolygon()
{
return call_user_func_array('image_open_polygon', func_get_args());
}
}
if (!function_exists('imagepalettecopy')) {
function imagepalettecopy()
{
return call_user_func_array('image_palette_copy', func_get_args());
}
}
if (!function_exists('imagepalettetotruecolor')) {
function imagepalettetotruecolor()
{
return call_user_func_array('image_palette_to_truecolor', func_get_args());
}
}
if (!function_exists('imagepng')) {
function imagepng()
{
return call_user_func_array('image_png', func_get_args());
}
}
if (!function_exists('imagepolygon')) {
function imagepolygon()
{
return call_user_func_array('image_polygon', func_get_args());
}
}
if (!function_exists('imagerectangle')) {
function imagerectangle()
{
return call_user_func_array('image_rectangle', func_get_args());
}
}
if (!function_exists('imageresolution')) {
function imageresolution()
{
return call_user_func_array('image_resolution', func_get_args());
}
}
if (!function_exists('imagerotate')) {
function imagerotate()
{
return call_user_func_array('image_rotate', func_get_args());
}
}
if (!function_exists('imagesavealpha')) {
function imagesavealpha()
{
return call_user_func_array('image_save_alpha', func_get_args());
}
}
if (!function_exists('imagescale')) {
function imagescale()
{
return call_user_func_array('image_scale', func_get_args());
}
}
if (!function_exists('imagesetbrush')) {
function imagesetbrush()
{
return call_user_func_array('image_set_brush', func_get_args());
}
}
if (!function_exists('imagesetclip')) {
function imagesetclip()
{
return call_user_func_array('image_set_clip', func_get_args());
}
}
if (!function_exists('imagesetinterpolation')) {
function imagesetinterpolation()
{
return call_user_func_array('image_set_interpolation', func_get_args());
}
}
if (!function_exists('imagesetpixel')) {
function imagesetpixel()
{
return call_user_func_array('image_set_pixel', func_get_args());
}
}
if (!function_exists('imagesetstyle')) {
function imagesetstyle()
{
return call_user_func_array('image_set_style', func_get_args());
}
}
if (!function_exists('imagesetthickness')) {
function imagesetthickness()
{
return call_user_func_array('image_set_thickness', func_get_args());
}
}
if (!function_exists('imagesettile')) {
function imagesettile()
{
return call_user_func_array('image_set_tile', func_get_args());
}
}
if (!function_exists('imagestringup')) {
function imagestringup()
{
return call_user_func_array('image_string_up', func_get_args());
}
}
if (!function_exists('imagestring')) {
function imagestring()
{
return call_user_func_array('image_string', func_get_args());
}
}
if (!function_exists('imagesx')) {
function imagesx()
{
return call_user_func_array('image_sx', func_get_args());
}
}
if (!function_exists('imagesy')) {
function imagesy()
{
return call_user_func_array('image_sy', func_get_args());
}
}
if (!function_exists('image2wbmp')) {
function image2wbmp()
{
return call_user_func_array('image_to_wbmp', func_get_args());
}
}
if (!function_exists('imagetruecolortopalette')) {
function imagetruecolortopalette()
{
return call_user_func_array('image_truecolor_to_palette', func_get_args());
}
}
if (!function_exists('imagettfbbox')) {
function imagettfbbox()
{
return call_user_func_array('image_ttf_bbox', func_get_args());
}
}
if (!function_exists('imagettftext')) {
function imagettftext()
{
return call_user_func_array('image_ttf_text', func_get_args());
}
}
if (!function_exists('imagetypes')) {
function imagetypes()
{
return call_user_func_array('image_types', func_get_args());
}
}
if (!function_exists('imagewbmp')) {
function imagewbmp()
{
return call_user_func_array('image_wbmp', func_get_args());
}
}
if (!function_exists('imagewebp')) {
function imagewebp()
{
return call_user_func_array('image_webp', func_get_args());
}
}
if (!function_exists('imagexbm')) {
function imagexbm()
{
return call_user_func_array('image_xbm', func_get_args());
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment