So finally, the method for generating data easily is complete.
I tried to continue making the script with EPD, but it kept giving bad results, mostly due to inefficient memory handling on my part. Here is a sample output of the previous code.
I tried to continue making the script with EPD, but it kept giving bad results, mostly due to inefficient memory handling on my part. Here is a sample output of the previous code.
It can be seen that it's really bad, and this should not be used for any kind of raining or testing.
However, I switched to ImageMagick for the merging part, and now it works perfectly. The sample output looks like this.
Note the clarity in spacing of the individual images generated before, and that it takes up the whole space instead of crowding in the corner, like the previous result.
It can be done with a simple command :
montage img1.ext img2.ext .... imgN.ext -geometry SizexSize output.ext
here, montage is the command, and -geometry is the option, the rest can be modified as per our needs.
Also, the image above is just a snip of the actual output as it is too big to publish here.
No comments:
Post a Comment