You can do it by reducing the size or using a compressor (online or offline). In both cases, the quality of the image will drop by a little. However, it will ensure you can upload it anywhere or places with a limit on the upload size.