TileSingleImage
class TileSingleImage extendsJob implementsShouldQueue
Traits
InteractsWithQueue
SerializesModels
Queueable
Dispatchable
Properties
Image | $image | The image to generate tiles for. | |
string | $tempPath | Path to the temporary storage file for the tiles. | |
protectedbool | $deleteWhenMissingModels | Ignore this job if the image does not exist any more. |
Methods
void
void
handle()
Execute the job.
generateTiles(Image$image,string$path)
Generate tiles for the image and put them to temporary storage.
uploadToStorage()
Upload the tiles from temporary local storage to the tiles storage disk.
Image
getVipsImage(string$path)
Get the vips image instance.
getIterator(string$path)
Get the recursive directory iterator for the given path.
Details
at line51
void
__construct(Image$image)
Create a new job instance.
at line62
void
handle()
Execute the job.
at line80
generateTiles(Image$image,string$path)
Generate tiles for the image and put them to temporary storage.
at line92
uploadToStorage()
Upload the tiles from temporary local storage to the tiles storage disk.
at line116
protectedImage
getVipsImage(string$path)
Get the vips image instance.
at line128
protectedRecursiveIteratorIterator
getIterator(string$path)
Get the recursive directory iterator for the given path.