ravkr Posted June 13, 2014 Share Posted June 13, 2014 Hello I'm trying to make animation of Moon's phases but each frame uses ~2MB of ram so after minute this reaches 700MB. Is there any way to dispose unneeded frames? here is my script with graphic http://www.dropbox.com/s/kbusjko7mqkdava/GDIPlus%20-%20moon.zip?dl=1 Link to comment Share on other sites More sharing options...
Solution UEZ Posted June 13, 2014 Solution Share Posted June 13, 2014 You forgot _GDIPlus_BitmapDispose($hMask) in function _GDIPlus_drawMoonPhase. Br, UEZ ravkr and Xandy 2 Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ Link to comment Share on other sites More sharing options...
ravkr Posted June 14, 2014 Author Share Posted June 14, 2014 Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now