Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / Rescaling Images and retaining Alpha values

Author
Message
Scraggle
Moderator
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 19th Jan 2006 11:12 Edited at: 19th Jan 2006 11:56
Rescaling images involves transfering them to bitmaps and unfortunately bitmaps will discard any alpha information. So, I have written this to scale an image using memblocks.

Thanks to VanB and Batvink for the ideas




Attachments

Login to view attachments

Login to post a reply

Server time is: 2024-11-23 07:15:29
Your offset time is: 2024-11-23 07:15:29