publishing image compressed with detected ellipse