AImage API additions