Instead of creating and writing frm into a file peacewise
(allocating and freeing buffers on the way), allocate one frm buffer, prepare the frm image completely in memory, and then write it down.
Showing
This diff is collapsed.
Please register or sign in to comment