Re: Cairo and OPenCV

Bill Spitzak <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
Draw a rectangle to make sure the problem is not text-only. It might 
also show more clearly if the skew is caused by a wrong stride factor.

Also useful is to draw solid red, green, blue rectangles, to check for 
the channels being in the wrong order. Or draw the text "red" in red, 
etc, to make sure the colors are not confused.

Deepak Kumar JAIN wrote:
> Hello All,
> 
> Have anyone worked with Cairo with OpenCV. I am trying to load an jpg 
> image through OpenCv and then creating the image surface through image 
> data. After putting some text on the surface, I am again trying to copy 
> the image surface into openCv image format so that i can save the 
> resultant image into Jpeg format. But when I see the image, I see the 
> text but its distorted and seems like some loss of data occurred. I am 
> trying to see into it but I am not able to figure out where is the data 
> loss occurring.
> 
> It will be of immense help to me if someone can through some light on 
> where I can go wrong.
> 
> Thanks & regards,
> Deepak Kumar JAIN
> 
> --
> www.deepakkumarjain.co.cc <http://www.deepakkumarjain.co.cc>
> 
> "/I err therefore I am /"- Saint Augustine
>  
> 
> 
> ------------------------------------------------------------------------
> 
> --
> cairo mailing list
> [email protected]
> http://lists.cairographics.org/mailman/listinfo/cairo
--
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.