photo update about scale photo method which use java.awt