L
L
Lordby2021-10-26 15:04:15
PHP
Lordby, 2021-10-26 15:04:15

How to split final image into lines using imagick php?

I have 50 images, using the appendImages method in imagick in php I make a collage out of them, but it allows you to either make it vertically or horizontally = a long picture. How can I set the restriction on the output of pictures per line so that, for example, after every fourth image, he does a new line?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Adamos, 2021-10-26
@Adamos

1. Make a big picture
2. Make a second picture of the same width,
3. Push four photos horizontally into it,
4. Add a second picture to the first vertically
5. If the pictures are not over, go back to step 2.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question