I will answer this to all,
The short answer there isn't, except if for when the picture was applied to a element as a textuew/surface
A good friend of mine have once told me that I“m so brute that I“m capable of creating a GDL script capable of creating GDLs.