A-l-y-l-e / Alyle-UI

Minimal Design, a set of components for Angular 16
https://alyle.io
MIT License
291 stars 43 forks source link

image cropper not handling svg images properly #103

Open medTL opened 4 years ago

medTL commented 4 years ago

:beetle: Bug report

Describe the bug

when I upload svg image to the image cropper I get a blur image and I can't resize or do anything to it, and if I crop it I get nothing .

Minimal Reproduction

Steps to reproduce the behavior:

Exception or Error



no exception or error is showing in the console

Screenshots

image

Which versions of Angular, Alyle UI, OS, TypeScript, browsers are affected?

Alyle UI Version: v2.9.6

Angular Version:




Angular CLI: 8.3.19
Node: 10.16.3
OS: linux x64
Angular: 8.2.14
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router, service-worker

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.803.19
@angular-devkit/build-angular     0.803.19
@angular-devkit/build-optimizer   0.803.19
@angular-devkit/build-webpack     0.803.19
@angular-devkit/core              8.3.19
@angular-devkit/schematics        8.3.19
@angular/cdk                      8.2.3
@angular/cli                      8.3.19
@angular/flex-layout              8.0.0-beta.27
@angular/http                     7.2.15
@angular/material                 8.2.3
@angular/pwa                      0.803.19
@ngtools/webpack                  8.3.19
@schematics/angular               8.3.19
@schematics/update                0.803.19
rxjs                              6.5.3
typescript                        3.4.5
webpack                           4.39.2
Enlcxx commented 4 years ago

The blurry image was expected since the svg is very small, but when you cut the image you actually showed. Thanks for reporting this. I will fix it.

medTL commented 4 years ago

thanks, svg images cropping will be a nice feature

Enlcxx commented 4 years ago

Check the new version 2.9.7