Image canvas editor api