justin = { main feed , music , code , askjf , pubkey };
Ask Justin Frankel
No reasonable question unanswered since 2009!

Suggested topics: programming, music, sleep, coffee, etc.

Note: please do not ask questions about REAPER features, bugs or scheduling, use the forums instead.

Name: Ask: Human (enter yes):
[back to index] | [unreplied] | [replied] | [recent comments] | [all]

Question: Don't know how to force LICE's blit functions to work with source alpha, while Windows's Alphablend works and decided not to use libpng for now, it's very big, tough and cluttered, ended up using lodepng for now, what do you think about lodepng?
Asked by Pony (78.152.169.x) on April 10 2019, 8:54am
Reply on April 10 2019, 1:30pm:
    LICE_BLIT_USE_ALPHA, probably. Though if I remember correctly, LICE's source alpha is not premultiplied, vs Windows API is. Lodepng looks cool but I haven't used it. Most things we make end up using zlib anyway so might as well share that code?

  • Posted by Pony (78.152.169.x) on April 10 2019, 2:53pm:
    so if it's ok to use other library, than libpng in REAPER, i will try to test lodepng more, thanks!

    Your Name:   -- Site Owner's Name:  (for human-verification)


[back to index] | [unreplied] | [replied] | [recent comments] | [all]
Copyright 2019 Justin Frankel. | RSS