With lossless compression, there won't be any loss of quality but if you are using lossy compression, the quality will be reduced a little. A compressed image or video may lose its sharpness and fine details.