I've been playing with GD's colorize and multiply features and came up with a couple of questions:
1. Is it possible to "pre" colorize or "pre" multiply a surface so that I can increase the performance if I were to blit a full screen image instead of it being colorized/multiplied every pass? I'm trying to blit a full screen image and colorize it, however the FPS went down to only 18-20.
2. Is it possible to colorize or apply multiply to a part of an image only? I'm thinking of "colorizing" parts of an image to change its appearance in real time?
Thanks in advance!
1. Is it possible to "pre" colorize or "pre" multiply a surface so that I can increase the performance if I were to blit a full screen image instead of it being colorized/multiplied every pass? I'm trying to blit a full screen image and colorize it, however the FPS went down to only 18-20.
2. Is it possible to colorize or apply multiply to a part of an image only? I'm thinking of "colorizing" parts of an image to change its appearance in real time?
Thanks in advance!