Aceguy Posted June 1, 2008 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
James Posted June 1, 2008 Posted June 1, 2008 Preload? I have not thought of that before. Hmm. Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ
nobbe Posted June 2, 2008 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
Aceguy Posted June 2, 2008 Author 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
nobbe Posted June 2, 2008 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()
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