public void setZoom(TouchImageView img) {
        PointF center = img.getScrollPosition();
        setZoom(img.getCurrentZoom(), center.x, center.y, img.getScaleType());
    }
//     * Set zoom parameters equal to another TouchImageView. Including scale, position,
//     * and ScaleType.
//     * @param TouchImageView
//
app/src/main/java/com/rozdoum/socialcomponents/views/TouchImageView.java