CHANGED:static a global flag to identify the image handler engine(AS3/ImageMagick) and subroutine apply;

Signed-off-by: Knight.zhou <youngwelle@gmail.com>