Najpierw zmniejsz dokument o tyle ile chcesz potem ramki dodać .