Конференция "KOL" » KOL-CE Load & Display PNG file [Windows]
 
  • RobinH (15.06.10 13:35) [0]
    Hi, All

    I'm quite new to wince development, and I found the combination of Lazarus & KOL-CE was excellent for me to startup my developing. Now I encountered some problem for load & display png file.

    I tried the solution of ImageDecompress, but it's quite good for the non-transparent picture loading. For some png file with transparent, I got nightmare of antialias. You can not just use drawtransparent with certain color to remove all parts, since some of them are under alpha-transparent.

    And I tried to work around by checking pixel RGBA properties of Bitmap, and I found the loaded bitmap is not supported RGBA format.

    It would be gratefull if there is anyone knows how to solve the problem, or any clues of it! Thanks in advance!

    Best Regards
    RobinH
  • Dufa © (15.06.10 19:07) [1]
    Уже исправил это давно.. Только ВК выкинул исправление из обновления..
  • Thaddy © (16.06.10 12:09) [2]
    Robin,

    My gdiplus unit should work under wince, although I haven't tested this yet.
    You can get it from kolmck.net.
    This supports the RGBA model.
  • RobinH (17.06.10 05:15) [3]
    Hi, Thaddy

    Thanks for your quick response, I'll check out the gdiplus, and see if it works perfect under WINCE. :)
  • RobinH (17.06.10 14:34) [4]
    Hi, Thaddy

    Your gdiplus not working under WINCE 5.0. Thanks again for your reply.
 
Конференция "KOL" » KOL-CE Load & Display PNG file [Windows]
Есть новые Нет новых   [134430   +4][b:0][p:0]