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

svg/vector asset/xml support #59

Closed
kuqmua opened this issue Feb 20, 2020 · 12 comments
Closed

svg/vector asset/xml support #59

kuqmua opened this issue Feb 20, 2020 · 12 comments
Labels
feature request New feature or request

Comments

@kuqmua
Copy link

kuqmua commented Feb 20, 2020

No description provided.

@jonbhanson jonbhanson added the feature request New feature or request label Jan 15, 2021
@jonbhanson
Copy link
Owner

Hello, can you explain the need for vector support?

@jonbhanson jonbhanson added the waiting response Further information is requested label Feb 22, 2021
@jonbhanson
Copy link
Owner

I will close this ticket due to inactivity, but feel free to reopen with a more explanation if you like.

@tagirahmad
Copy link

tagirahmad commented Jun 10, 2021

Hello, can you explain the need for vector support?

Maybe in order to have good quality of the pic?

@alvindrakes
Copy link

Any updates on svg support for this package?

@jonbhanson
Copy link
Owner

What platform(s) would you use SVG's?

@Mayb3Nots
Copy link

Mayb3Nots commented Aug 8, 2021

Hi i am looking forward to svg support for images on IOS and Andriod and plans on implementing it?

@alvindrakes
Copy link

What platform(s) would you use SVG's?

I think the communities want something to covert chosen svg file to respective png files for splash screens automatically.

We can do it manually, but having this feature is definitely a time saver.

@jonbhanson jonbhanson removed the waiting response Further information is requested label Aug 10, 2021
@jonbhanson jonbhanson reopened this Aug 10, 2021
@VictorUvarov
Copy link

VictorUvarov commented Oct 7, 2021

I assume they want higher-quality images by using vector images as opposed to converting an SVG to a png file.

Both platforms seem to support SVGs on the splash screens. iOS's UIImage seems to support SVGs and Android Studio allows you to convert your SVGs to an XML file to use as a drawable.

Android Splash screen tutorial

@cmedamine
Copy link

cmedamine commented Nov 24, 2021

TengHui Zhu explains why we should use Vector drawables instead of png or jpge images:
video: https://youtu.be/wlFVIIstKmA
android guide: https://developer.android.com/guide/topics/graphics/vector-drawable-resources

@jonbhanson
Copy link
Owner

Thanks for your image format support request. In order to find out what file formats are most needed by the community, I have opened a single ticket to capture all image format requests. Please visit (this ticket)[https://github.com//issues/245] to vote for the image format you need.

@SarahTrees
Copy link

The designers probably create the original as SVG.
If "flutter_native_splash" could make all PNG files from this SVG, as the library already does today from the PNG specified by "image", all these png would have a better quality.

"flutter_native_splash" is a great help, thank you very much for this wonderful library, if it would now take the SVG as source instead of resizing pixel graphics, it would be perfect. This stage of development might also be faster than switching completely to svg.

@kohj1018
Copy link

flutter_native_splash is a very good library.
But I think it will be better if it supports SVG files.
Are there any plans to support SVG files?

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

No branches or pull requests

9 participants