I apologize in advance if this is too simple a question to ask here. I have a simple program in c++ which outputs many bitmap image files and I want to write a for loop which will coalesce them into one gif file. I think I understand that I should be including STL.cpp, and using the coalesceImages algorithm.. but I can't figure out how to write the code.. I've been using http://www.imagemagick.org/Magick++/STL.html for reference
If someone could let me know how to write a for loop which coalesces the bmp files (which have the same dimensions) given an array with their addresses, that would be great.
Thank you!
Zamfir
Coalescing bmps into a gif with Magick++
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: Coalescing bmps into a gif with Magick++
Code: Select all
convert *.bmp -layers Optimize file.gif
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/