Prototype implementation for image_insane module.