Image "matrix", making one image using several files
Posted: 2017-03-29T02:47:24-07:00
I try make "modular" image. This is not only this case, several times check quite similar problem, and looks Imagemagick solve this problem. I use windows, but it is not problem .
Case, image is "modular". As you see this photo:
Photo is "modular". First, I have frame, in this photo I have three frame. It is also possible use 1 frame, 2 frame, 3 frame, 4 frame etc. This frame contain 3 hole- it is "three module frame". It is also one hole frame or two hole frame. (In real life this frames are 140 mm width).
Every hole I can put any module- this photo show quite large set of modules.
How I do this now? Now I use Corel Draw (also this is possible with eg. Inkscape or Illustrator or even powerpoint..). I have all this modules just 1:1 size in Corel Draw. Just this photo is processed with corel draw: select frame -> make 2 copy X140 mm ok. Then I drag all modules to holes "snap to object" (in every hole I have helping-tool-circle). Then, simply, export-jpg or export-png or, export-pdf.
All this "modules" and "frames" I have as png-files, containing also transparency. Files are in same scale, so, I can open it any program I want and then simply build this type images. So: Not need any resize.
Question is: Maybe this work can be automatize?
1, how I can make script "read frame3.png", "read module-speaker-4-.png", "read module-button-8.png" etc etc, and snap it to right position? (Plz notify, all png-file-modules are in scale, not need resize.). Then automatically export file as png or jpg.
2, step 2 is build this using command file. It is:
- Line 1: frame3 frame3 frame3
- Line 2: frame1 frame1 frame1
- And then module list...
So, script read module list using text file.
Case, image is "modular". As you see this photo:
Photo is "modular". First, I have frame, in this photo I have three frame. It is also possible use 1 frame, 2 frame, 3 frame, 4 frame etc. This frame contain 3 hole- it is "three module frame". It is also one hole frame or two hole frame. (In real life this frames are 140 mm width).
Every hole I can put any module- this photo show quite large set of modules.
How I do this now? Now I use Corel Draw (also this is possible with eg. Inkscape or Illustrator or even powerpoint..). I have all this modules just 1:1 size in Corel Draw. Just this photo is processed with corel draw: select frame -> make 2 copy X140 mm ok. Then I drag all modules to holes "snap to object" (in every hole I have helping-tool-circle). Then, simply, export-jpg or export-png or, export-pdf.
All this "modules" and "frames" I have as png-files, containing also transparency. Files are in same scale, so, I can open it any program I want and then simply build this type images. So: Not need any resize.
Question is: Maybe this work can be automatize?
1, how I can make script "read frame3.png", "read module-speaker-4-.png", "read module-button-8.png" etc etc, and snap it to right position? (Plz notify, all png-file-modules are in scale, not need resize.). Then automatically export file as png or jpg.
2, step 2 is build this using command file. It is:
- Line 1: frame3 frame3 frame3
- Line 2: frame1 frame1 frame1
- And then module list...
So, script read module list using text file.