Hi,

 

I have a requirement such that one specific color in images is treated as
transparent. I used

 

SrcSurface-> SetSrcColorKey(color);

DstSurface-> SetBlittingFlags(DSBLIT_SRC_COLORKEY);

 

The above method works fine on PNG images but produces images with some
distortion in case of JPG. I verified that both PNG and JPG input images are
as expected. Any help will be appreciated.

 

Regards,

Prageeth

 

_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to