linear compression in canvas layers
linear compression in canvas layers