Aceguy Posted June 1, 2008 Share Posted June 1, 2008 (edited) need to load images from memory, so i do have to wait for dics acces. is this possible. Appx 50 images into an array Edited June 1, 2008 by Aceguy [u]My Projects.[/u]Launcher - not just for games & Apps (Mp3's & Network Files)Mp3 File RenamerMy File Backup UtilityFFXI - Realtime to Vana time Clock Link to comment Share on other sites More sharing options...
James Posted June 1, 2008 Share Posted June 1, 2008 Preload? I have not thought of that before. Hmm. Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
nobbe Posted June 2, 2008 Share Posted June 2, 2008 maybe running the script then load bitmaps into 50 different bitmap handles could work but externally "preload" bitmaps, then start "script" , then use preloaded bitmaps in script wont work Link to comment Share on other sites More sharing options...
Aceguy Posted June 2, 2008 Author Share Posted June 2, 2008 @nobbe, so how would you do that, ("maybe running the script then load bitmaps into 50 different bitmap handles") [u]My Projects.[/u]Launcher - not just for games & Apps (Mp3's & Network Files)Mp3 File RenamerMy File Backup UtilityFFXI - Realtime to Vana time Clock Link to comment Share on other sites More sharing options...
nobbe Posted June 2, 2008 Share Posted June 2, 2008 for one file see below, for 50 files you need an array $image[50] _GDIPlus_Startup() Local $hImage $hImage = _GDIPlus_ImageLoadFromFile($path) _GDIPlus_ImageSaveToFile($hImage, @ScriptDir & "\temp.jpg") _GDIPlus_ImageDispose($hImage) _GDIPlus_Shutdown() 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