Hi, ptrblck, you’re right. The problem is at the bottleneck of loading. Fortunately, my memory is large enough, so I solved this problem by reading all the pictures directly at once.
Thank you for your help, as always ：）