<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Eslam Ahmad on Medium]]></title>
        <description><![CDATA[Stories by Eslam Ahmad on Medium]]></description>
        <link>https://medium.com/@eslamahmad?source=rss-d0517905d1bd------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*lmxoiwjlyFY1nEbm.</url>
            <title>Stories by Eslam Ahmad on Medium</title>
            <link>https://medium.com/@eslamahmad?source=rss-d0517905d1bd------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 20 Nov 2026 07:33:14 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@eslamahmad/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[SVG Vs PNG In Android]]></title>
            <link>https://medium.com/@eslamahmad/svg-vs-png-in-android-16bcbf3cb4be?source=rss-d0517905d1bd------2</link>
            <guid isPermaLink="false">https://medium.com/p/16bcbf3cb4be</guid>
            <category><![CDATA[android-app-development]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[png]]></category>
            <category><![CDATA[svg]]></category>
            <category><![CDATA[androiddev]]></category>
            <dc:creator><![CDATA[Eslam Ahmad]]></dc:creator>
            <pubDate>Sat, 17 Oct 2020 02:15:55 GMT</pubDate>
            <atom:updated>2020-10-17T02:15:55.334Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>PNG</strong> is a compressed image with fixed size (width and height) any change in dimensions may be lead to unwanted quality, so if you need different sizes you need to add multi version of this image with multi scale.</p><p><strong>SVG</strong> is sort of instructions that’s describe how to draw this image so if it drawn in large scale will be the same as small scale.</p><h3>Now,</h3><p>- Regarding to performance PNG is faster than SVG (SVG take time to be drawn).</p><p>- Regarding to scale quality SVG has no issues to be scaled to any scale.</p><p>- Regarding to disk size SVG is the best solution if it compared to only one png file (not 5 in case of all densities)</p><p>- Regarding to image quality SVG may lose some details.</p><p>- Regarding to Android framework SVG may face some issues if you support android below android 5</p><h3>Finally.</h3><p>If you don’t need to scale image or if image has a lot of details it will be better to use png image.</p><p>If you need to scale image or image has low amount of details (Just like icons) it will be better to use SVG.</p><p>What do you think?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=16bcbf3cb4be" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>