Vector Drawable VS PNG : <p>What is Vector Drawable? How it differs from PNG? Is it possible to convert an PNG to vector Drawable in Android?</p>

<p>Below is the one vector Drawable, I have created in Studio.</p>

<pre><code>&lt;vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="24dp"
    android:height="24dp"
    android:viewportHeight="24.0"
    android:viewportWidth="24.0"&gt;
    &lt;path
        android:fillColor="#FF000000"
        android:pathData="M22,16V4c0,-1.1 -0.9,-2 -2,-2H8c-1.1,0 -2,0.9 -2,2v12c0,1.1 0.9,2 2,2h12c1.1,0 2,-0.9 2,-2zm-11,-4l2.03,2.71L16,11l4,5H8l3,-4zM2,6v14c0,1.1 0.9,2 2,2h14v-2H4V6H2z" /&gt; &lt;/vector&gt;
</code></pre>

<p>What is the path data here?? How can I get that for PNG?</p>
