camera custom resizing completed