Image.Debug (gb.image)
Static Property Debug As Boolean
Return or set if debugging mode is enabled.
If debugging mode is enabled, each internal image conversion displays a message on the standard error output.
It will help you to avoid these slow and heavy conversions as much as possible.