-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
This is my code
file('archivo'); $foto->storeAs('public', 'image.png'); $ruta ='public/image.png'; //Decodificar una imagen $config = array( 'try_harder' => true, 'multiple_bar_codes' => true ); $decoder = new PHPZxingDecoder($config); $decoder->setJavaPath('C:\Program Files\Java\jdk1.8.0_291'); //$decoder->setJavaPath('C:\Program Files\Java\jdk1.8.0_291\bin'); //C:\Program Files\Common Files\Oracle\Java\javapath\ //C:\Program Files\Common Files\Oracle\Java\javapath\java.exe $data = $decoder->decode($ruta); $ruta=''; $format=''; $type=''; /*When calling the isFound () function it is when it presents the error, do you have any idea why it will be? I'm new to Laravel, sorry for the interruption*/ if($data->isFound()) { $ruta = $data->getImageValue(); $format=$data->getFormat(); $type=$data->getType(); } return view('Testimage', ['ruta' => $ruta]); } }Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels