A recent idea is to directly extract the images on the page and then stitch the extracted images together. But encountered a few problems, do not know how to solve to more efficient generation of stitching pictures.
Because it is a novice php, just read some of the introductory knowledge, so the following practices are limited to their own ability to do so.
My basic needs are:
1, according to the URL address, to obtain the content area picture (about 10 pictures), will be more than one picture stitching into a picture, stitching the picture width according to my needs, stitching the picture height is to match all the regular to the picture, according to my definition of the width of the self-adaptive after the addition of the height of stitching. Ensure that each part of the picture is displayed well after stitching.
The current practice:
1, regular from a Web page crawl image URL---"Download picture-----" Batch thumbnail image processing (such as proportional to generate thumbnails)----"and then use the GD library mosaic pictures.
The idea to achieve, I feel very poor performance, multiple steps, each step takes a long time to process the picture, so it is easy to cause a corresponding timeout feeling.
If you want to achieve this process, do not know how people are implemented, the same way as mine?
Reply content:
A recent idea is to directly extract the images on the page and then stitch the extracted images together. But encountered a few problems, do not know how to solve to more efficient generation of stitching pictures.
Because it is a novice php, just read some of the introductory knowledge, so the following practices are limited to their own ability to do so.
My basic needs are:
1, according to the URL address, to obtain the content area picture (about 10 pictures), will be more than one picture stitching into a picture, stitching the picture width according to my needs, stitching the picture height is to match all the regular to the picture, according to my definition of the width of the self-adaptive after the addition of the height of stitching. Ensure that each part of the picture is displayed well after stitching.
The current practice:
1, regular from a Web page crawl image URL---"Download picture-----" Batch thumbnail image processing (such as proportional to generate thumbnails)----"and then use the GD library mosaic pictures.
The idea to achieve, I feel very poor performance, multiple steps, each step takes a long time to process the picture, so it is easy to cause a corresponding timeout feeling.
If you want to achieve this process, do not know how people are implemented, the same way as mine?
With ImageMagick