Does anyone know how to use getClientOriginalName() and getClientOriginalExtension() in this new version of the Intervatio image?
$image = Image::read($request->file('image'));
$manager = new ImageManager(new ImagickDriver());
$image->scale(height: 800);
$wayforpath = 'uploads/imagens';
$nameoriginal = pathinfo($image->getClientOriginalName(), PATHINFO_FILENAME);
$extension = $image->getClientOriginalExtension();