posted 13 years ago
Hi
I have the following code to resize the images.
I tried to resize these 2 photos -
pic1.jpg: JFIF standard 1.02, 4200x2800, 1.5 MB
pic2.jpg: EXIF standard, 2500x1900, 1.8 MB
It took a few seconds (3, 4 sec) to resize pic2.jpg but took more than one minute to resize pic1.jpg.
Is there any way to improve the performance the above code snippet?
Which attribute decide the performance of image resizing?
Is is the size of the image? or the resolution? or the encoding? or any other criteria?
Your advice would be really appreciated because I don't have much experience in image processing.
Thanks and regards
Terence