Convert and resize form base64 to image
convertImageFromBase64($base64, $fileName)
method for converting that returns path to file name where image is created
convertImageFromBase64AndResize($base64, $fileName, $rWidth, $rHeight)
method is converting and resizing image to given height and width