c.haslam Posted May 19, 2018 Posted May 19, 2018 I had thought that _GDIPlus_ImageClone($hImage) removes all property items, but I now know that it copies property items. What is the easiest way of copying an image that has property items to another image that does not have property items? Spoiler CDebug Dumps values of variables including arrays and DLL structs, to a GUI, to the Console, and to the Clipboard
c.haslam Posted May 19, 2018 Author Posted May 19, 2018 (edited) Here is the answer to my own question: Local $nWidImg = _GDIPlus_ImageGetWidth($hImage) Local $nHtImg = _GDIPlus_ImageGetHeight($hImage) ; hImage2 has no property items Local $hImage2 = _GDIPlus_BitmapCloneArea($hImage,$nWidImg,$nHtImg,$nWidImg,$nHtImg) Edited May 19, 2018 by c.haslam Spoiler CDebug Dumps values of variables including arrays and DLL structs, to a GUI, to the Console, and to the Clipboard
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