Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

SVG and android studio

Question from a beginner) Why do I get stripes between color transitions when converting an image to SVG and uploading it to android studio? How to fix it ?enter image description here

enter image description here

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

The SVG image format can only represent things in vectors, meaning lines or curves, as opposed to the usual pixel-based formats.

This means it is very efficient for representing diagrams, simple shapes and letters, to the point where you can zoom endlessly into them without losing quality, but it cannot represent full-color realistic images with the same precision or efficiency.

Basically, you should only use SVG (and other vector-based graphics formats) for icons and simple shapes, not complex shapes with different hues of color.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading