public void setPicture_ip5(Blob picture_ip5) { if (picture_ip5 != null) { CompressPic.compressPic(picture_ip5.getFile().getPath(), picture_ip5.getFile().getPath()); } this.picture_ip5 = picture_ip5; }
public void setPicture(Blob picture) { if (picture != null) { CompressPic.compressPic(picture.getFile().getPath(), picture.getFile().getPath()); } this.picture = picture; }