Primitive interface for shrinking images before posting.