Angular 5 Image Compression