Image resizing with GDI+

前端 未结 3 1493
[愿得一人]
[愿得一人] 2021-01-24 02:35

I\'m really trying to nail out a little more performance out of this tidbit of code. It\'s not a heavly used bit of code but is used every time a new image is uploaded, and 4 ti

3条回答
  •  无人及你
    2021-01-24 03:24

    The first thought that comes to mind is, have you thought about Multithreading it? i.e. calling this method for each image (or batch of images) in a separate thread? That way, if your server has a few cores you can get things done quicker. Just a thought...

提交回复
热议问题