concert = $concert; } public function handle() { $imageContents = Storage::disk('public')->get($this->concert->poster_image_path); $image = Image::make($imageContents)->resize(600, null, function ($constraint) { $constraint->aspectRatio(); })->limitColors(255)->encode(); Storage::disk('public')->put($this->concert->poster_image_path, (string) $image); } }