I suspect the IR camera is low enough resolution that this solution may work.
Somewhere on the NI website is an example that converts images to a JPEG string instead of saving them to a file. The original example is intended for compressing images for transfer over TCP/IP, but the compression vi is easily extracted. You can collect these strings and save them to a single file. This is much faster than saving to individual image files. You can even set the image quality to 100% for practically lossless compression.
Unfortunately, this solution doesn't work well for large images at a high frame rate, because the compression isn't fast enough.
Bruce
Bruce Ammons
Ammons Engineering