i working on android application allows user crop image. have tried code scale image crop. when try resize area crop, moves both horizontally , vertically, allowing crop square area. want work in such way when move vertically doesn't move vertically
intent.setdata(mimagecaptureuri); intent.putextra("outputx", 200); intent.putextra("outputy", 200); intent.putextra("aspectx", 1); intent.putextra("aspecty", 1); intent.putextra("scale", true); intent.putextra("scaleupifneeded", true); intent.putextra("return-data", true);
remove following code, can crop size
intent.putextra("aspectx", 1); intent.putextra("aspecty", 1);
Comments
Post a Comment