Hello All,<br><br>I am trying to pass data of image loaded by OpenCV as I have to put text in different font on the image.OpenCV doesnot support Windows font so I am trying to combine OpenCV with Cairo.<br><br>I have basically two issues:<br>
<br>1) When I use .png image using OpenCV, its says pngrad error. I dont know why it is throwing this error but I am looking into it.<br>2) When I am <i>cairo_surface_write_to_png()</i> to write on image which I loaded as jpeg image, it throws exception.<br>
<br>Can anyone tell me how I can use easily OpenCV with CairoGraphicso or some tutorial where I can see into it on how to load and get back image in OpenCV after the oprations performed in CairoGraphics.<br><br>Thanks,<br>
Deepak <br> <br clear="all"><br>-- <br>
<div><br>Thanks &amp; Regards,<br>Deepak Kumar JAIN<br>Internship student, <br>Orange Labs,France Telecom,<br>Rennes, France<br>Contact: +33(0)6 31 15 44 66<br><a href="http://www.deepakkumarjain.co.cc" target="_blank">www.deepakkumarjain.co.cc</a><br>
</div>
<div><br><font color="#000099" face="Verdana, Arial, Helvetica, sans-serif">&quot;<i style="color:rgb(0, 0, 0)">I err therefore I am </i>&quot;- Saint Augustine</font><br> </div>
<div></div>
<div></div>
<div></div><div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%"></div><div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%">
</div><div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%"></div><div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%">
</div><div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%"></div><br>