As title, please look at this code firstly.
It seems that we use the string function call mapping to dispatch the current imagecreatefrom and image function name.
But this approach is possible to cause some issues:
- This should let us be hard to do debugging/reading work.
- Don't make sure that this performance would be good.
I think we can consider using the switch......case to dispatch the current image functions.