<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Hi,<div>You could create a style that could apply to both raster and vector layers but that would not help much here.  The problem is that you need to create the vector based on one of the raster Bands and not all three.  One way could be to combine all three fields into one.  If your RGB is 155 025 255, make this a raster band with 155025255. Then, I guess you could use that 4th band to make the vector layer, then resplit the data into 3 fields and use that to create the colour profile.<br><br><div dir="ltr">Nicolas Cadieux<div><a href="https://gitlab.com/njacadieux">https://gitlab.com/njacadieux</a></div></div><div dir="ltr"><br><blockquote type="cite">Le 18 juill. 2021 à 12:51, krishna Ayyala <ayyalakrishna@gmail.com> a écrit :<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><div dir="ltr"><div><font color="#0000ff">I have an image on my qgis map that has 3 bands. Band1 (red), Band2(green) and Band3(blue). This image has different colors.Is it possible to convert this image into a vector which should look exactly like the image. </font></div><div><font color="#0000ff"><br></font></div><div><font color="#0000ff">That means; Is it possible to have the vector file that should have the same colors as that of the image.</font></div><div><font color="#0000ff"><br></font></div><div><font color="#0000ff">Regards.</font></div></div>
<span>_______________________________________________</span><br><span>Qgis-user mailing list</span><br><span>Qgis-user@lists.osgeo.org</span><br><span>List info: https://lists.osgeo.org/mailman/listinfo/qgis-user</span><br><span>Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user</span><br></div></blockquote></div></body></html>