add double-type in images