I want to get the image using API sent by my client. I am using CURL for that API.
The basic idea is to get the image of all users (around > 2000) and update profile picture with this image in my application.
So I am sending curl in loop of users. I am getting bas64_encode data for that images (TIFF) as a response which I am decoding, converting into JPG and then update picture of that user in my application.
However, it takes around an hour to process around 1000 records.
Please help me with the way I am doing, If so, best way to reduce the time.
Your help will be highly appriciated.