Added a flag to differentiate color bar image for export and layer.