Image processing-how does php resize small images?

Source: Internet
Author: User
Tags imagemagick
I want to resize a small image in the same way as a windows desktop. it is tiled to a large size. what should I do? I still cannot find a clue after using Imagick for a long time. I want to resize a small image in the same way as a windows desktop. it is tiled to a large size. what should I do? I still cannot find a clue after using Imagick for a long time.

Reply content:

I want to resize a small image in the same way as a windows desktop. it is tiled to a large size. what should I do? I still cannot find a clue after using Imagick for a long time.

Imagick has a monage tool.
The usage is as follows:

To tile a set of images, allowing ImageMagick to pick the layout for you: $ montage *. jpg out.jpg To tile a set of 7 images, arranged in a single row: $ montage *. jpg-tile 7x1 out.jpg To tile a set of 5 images, arranged in a single column: $ montage *. jpg-tile 1x5 out.jpg To tile a set of 10 images, arranged in two rows: $ montage *. jpg-tile 5x2 out.jpg To specify that only a spacing of 2 pixels be used between images in the above setting: $ montage *. jpg-tile 5x2-geometry + 2 + 2 out.jpg Tried with: ImageMagick 6.6.9-7 and Ubuntu 12.04

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.