return img_data;
}
- public void setImage(byte[] uploadData)
+ public void setImage(byte[] uploadData, String type)
throws StorageObjectException {
if (uploadData!=null) {
try {
theLog.printDebugInfo("settimage :: making internal representation of image");
- WebdbImage webdbImage= new WebdbImage(uploadData);
+ WebdbImage webdbImage= new WebdbImage(uploadData, type);
theLog.printDebugInfo("settimage :: made internal representation of image");
byte[] imageData = webdbImage.getImage();
theLog.printDebugInfo("settimage :: getImage");