On Tue, 17 Jan 2006 05:35:38 +0000 (GMT) chinlu chinawa <[EMAIL PROTECTED]> babbled:
> Hi, > > I've been trying to render smooth-edges images, as > shown in here: > > http://www.geocities.com/ucho_trabajo/xcomp/xcomposite.png > > The one on the left is mine's, and the one on the > right the original drawing from sodipodi, exported as > png with transparency. > > I know this is not an Imlib problem but mine's. > > I'm just wondering whether anyone has done something > similar and could describe me at least the basic > stepts to follow?. you won't be able to use imlib2 for this as imlib2 doesnt understand 32bit ARGB visuals - as its code was written long before they ever existed. so if you render a pixmap and a mask imlib2 will always reduce alpha to a 1 bit mask when rendering to a pixmap. you can extract the ARGB data and copy to a pixmap yourself if you want - imlib2 still keeps the alpha data in he client-side images, but that's it. > I've been around library and protocol specs for > xrender and xcomposite, but it seems to be too many > docs at too high level for me, and whether I see some > examples in source-code form, either don't use a mask > on XRenderComposite, or the code is as optimized as I > cannot follow it. > > Against Imlib, I've tried different image formats, and > against the xrender/xcomposite protocol, another good > bunch of different ways to get around this, But I > haven't even been close I think, never get to finally > *composite* the image with it's alpha and always > appears with sharp edges, whether I try different > polygons' rendering resolutions, etc. > > If anyone wants to have a look at the last modified > version of the app., it can be found here: > > http://www.geocities.com/ucho_trabajo/xcomp/test.txt > > And obiously, any comments are more than welcome. > > Kind Regards, > > > > > ___________________________________________________________ > To help you stay safe and secure online, we've developed the all new Yahoo! > Security Centre. http://uk.security.yahoo.com > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) [EMAIL PROTECTED] 裸好多 Tokyo, Japan (東京 日本) ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel