Angular 4 Image Compression