I got hundreds of equally sized (16x12px) images which shall be merged into one image (always 640x480px) on demand.
Which is the fastest way of doing this?
Merge hundreds of file into one
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Merge hundreds of file into one
see montage http://www.imagemagick.org/Usage/montage/Woppe wrote:I got hundreds of equally sized (16x12px) images which shall be merged into one image (always 640x480px) on demand.
Which is the fastest way of doing this?
Re: Merge hundreds of file into one
Okay. Thanks for that.
Now I wonder what the fastest way of reading just as many files is?
I guess it is MagickReadImages($mgk, $filenames), where $filenames is an array containting the search pathes to the files?
If that is the fastest method, is there any way to optimize it? For example putting them as far outside on the hard disc as possible. How is that done?
Now I wonder what the fastest way of reading just as many files is?
I guess it is MagickReadImages($mgk, $filenames), where $filenames is an array containting the search pathes to the files?
If that is the fastest method, is there any way to optimize it? For example putting them as far outside on the hard disc as possible. How is that done?
Re: Merge hundreds of file into one
I think that question lies outside the realm of this support board.
I'll say that I think you need to pay attention to the use of this montage. Do they need to be generated live? Could you pre-render a bunch and just have them handy for a user's http request? Basically, the idea is, why have the customer wait? Let the computer do it ahead of time.
I'll say that I think you need to pay attention to the use of this montage. Do they need to be generated live? Could you pre-render a bunch and just have them handy for a user's http request? Basically, the idea is, why have the customer wait? Let the computer do it ahead of time.