Well I'll be damned - that worked! Here is what I did:
1) Installed Resource Hacker (see above link)
2) Made a backup copy of DBProImageDebug.dll (found in C

rogram FilesDark Basic SoftwareDark Basic ProfessionalCompilerplugins)
3) Ran ResHacker.exe and opened up DBProImageDebug.dll
4) Selected String Table / 1 / 2057
5) In the right window I added the following two lines above the "}":
12, "IMAGE HEIGHT[%LL%?GetHeight@@YAHH@Z%Image Number"
13, "IMAGE WIDTH[%LL%?GetWidth@@YAHH@Z%Image Number"
So, the entire contents of the window reads:
STRINGTABLE
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_UK
{
1, "LOAD IMAGE%SL%?LoadEx@@YAXPADH@Z%Filename, Image Number"
2, "SAVE IMAGE%SL%?SaveEx@@YAXPADH@Z%Filename, Image Number"
3, "GET IMAGE%LLLLL%?GrabImageEx@@YAXHHHHH@Z%Image Number, Left, Top, Right, Bottom"
4, "PASTE IMAGE%LLL%?PasteEx@@YAXHHH@Z%Image Number, X, Y"
5, "DELETE IMAGE%L%?DeleteEx@@YAXH@Z%Image Number"
6, "IMAGE EXIST[%LL%?GetExistEx@@YAHH@Z%Image Number"
7, "SET IMAGE COLORKEY%LLL%?SetColorKey@@YAXHHH@Z%Red Value, Green Value, Blue Value"
8, "PASTE IMAGE%LLLL%?PasteEx@@YAXHHHH@Z%Image Number, X, Y, Transparency"
9, "ROTATE IMAGE%LL%?RotateImageEx@@YAXHH@Z%Image Number, Angle"
10, "LOAD IMAGE%SLL%?LoadEx@@YAXPADHH@Z%Filename, Image Number, Texture Flag"
11, "GET IMAGE%LLLLLL%?GrabImageEx@@YAXHHHHHH@Z%Image Number, Left, Top, Right, Bottom, Texture Flag"
12, "IMAGE HEIGHT[%LL%?GetHeight@@YAHH@Z%Image Number"
13, "IMAGE WIDTH[%LL%?GetWidth@@YAHH@Z%Image Number"
}
6) Pressed the Compile Script button and then saved the file
Now I can use the following two commands in DBpro:
Variable1 = IMAGE HEIGHT (image number)
Variable2 = IMAGE WIDTH (image number)
Very cool! Thanks the winch!!

He's evil, but, he'll die. I like it.