[prev in list] [next in list] [prev in thread] [next in thread]
List: cairo
Subject: [cairo] About CAIRO API
From: lixuanzhao <lixuanzhao () dascom ! cn>
Date: 2022-03-11 3:34:03
Message-ID: 202203111134013304300 () dascom ! cn
[Download RAW message or body]
[Attachment #2 (text/plain)]
Cairo£º
hello£¬
I have a question and hope to receive it.
It is found that there is a function
cairo_public cairo_surface_t *
cairo_image_surface_create_from_png (const char *filename);
If the read PNG background color is non transparent, the read data is 0xff.
Can this function only read the data of transparent background color?
I hope to get a reply and answer. Thank you.
lixuanzhao
[Attachment #3 (text/html)]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<STYLE>
BLOCKQUOTE {
MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em; MARGIN-TOP: 0px
}
OL {
MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px
}
UL {
MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px
}
P {
MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px
}
BODY {
FONT-SIZE: 10.5pt; FONT-FAMILY: ΢ÈíÑźÚ; COLOR: #000000; LINE-HEIGHT: 1.5
}
</STYLE>
<META name=GENERATOR content="MSHTML 11.00.9600.16428"></HEAD>
<BODY style="MARGIN: 10px">
<DIV>
<DIV>Cairo£º</DIV>
<DIV style="TEXT-INDENT: 2em">hello£¬</DIV>
<DIV style="TEXT-INDENT: 2em">
<DIV>I have a question and hope to receive it. </DIV>
<DIV>It is found that there is a function
<DIV style="FONT-WEIGHT: bold">cairo_public cairo_surface_t *</DIV>
<DIV
style="FONT-WEIGHT: bold">cairo_image_surface_create_from_png (const char
*filename);</DIV></DIV>
<DIV> If the read PNG background color is non transparent, the read data is 0xff.</DIV>
<DIV> Can this function only read the data of transparent background color?</DIV>
<DIV> I hope to get a reply and answer. Thank you.</DIV></DIV></DIV>
<DIV> </DIV>
<HR style="HEIGHT: 1px; WIDTH: 210px" align=left color=#b5c4df SIZE=1>
<DIV><SPAN>lixuanzhao</SPAN></DIV></BODY></HTML>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic