C
C
Curiosity2017-04-20 05:24:48
JavaScript
Curiosity, 2017-04-20 05:24:48

How to merge image fragments into one file?

Hello!
I downloaded from the site 2 gis a map of the city, in the form of png fragments. It turned out 6171 pieces. How can I glue them together using node.js now? The names of the fragments correspond to their coordinates.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
C
Camaro67, 2017-04-20
@Renda

imagemagick look

D
dummyman, 2017-04-20
@dummyman

Excellent montage utility
You can read the parameters here
The offset parameter is set -geometry +4+4
You can use canvas in the node , but I would still write a bash script with montageor convert.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question