The issue is that the web systems for resizing the image and reducing the size are not of very good quality. Even the most basic image editing programs are better at doing this than online systems.
Use
ImageMagick and build your own? I won't be able to tell you how,