add depth to shrink image