Simple utility to resize pictures