resize characters and objects with imgscalr library