H
H
hazestalker2018-03-13 04:29:45
Image processing
hazestalker, 2018-03-13 04:29:45

How to merge images compactly?

You need a service, a program or a script, for example for python, to compactly compose collages from images. It is required to compose a collage without resizing the original images, but rather with the control of this parameter, in automatic mode and the possibility of manual editing.
What is needed is not beautiful effects, but automatic calculation and placement of images, taking into account their size.
5aa753f99bcaa981332798.jpegarrange pictures by analogy.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
C
cicatrix, 2018-03-13
@cicatrix

The optimization problem (pack N rectangles into the minimum area) is a special case of the packing algorithm (be sure to read the Wikipedia article).
Here I found a resource (in English, though), several algorithms are described there:
cgi.csc.liv.ac.uk/~epa/surveyhtml.html
Here's another one: Cutting task

Z
zooks, 2018-03-13
@zooks

Made square previews with ImageMagick. If you dig, you can glue it with different rectangles.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question