Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

image cropper not handling svg images properly #103

Open
medTL opened this issue Dec 3, 2019 · 3 comments
Open

image cropper not handling svg images properly #103

medTL opened this issue Dec 3, 2019 · 3 comments

Comments

@medTL
Copy link

medTL commented Dec 3, 2019

🪲 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
Copy link
Member

Enlcxx commented Dec 3, 2019

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
Copy link
Author

medTL commented Dec 3, 2019

thanks, svg images cropping will be a nice feature

@Enlcxx
Copy link
Member

Enlcxx commented Dec 4, 2019

Check the new version 2.9.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants