return img_data;
}
- public void setImage(byte[] uploadData, String imageType)
+ public void setImage(byte[] uploadData)
throws StorageObjectException {
- int type = 0;
-
- //hack -mh
- if (imageType.equals("1"))
- type = 1;
- //end hack
if (uploadData!=null) {
java.sql.Connection con=null;PreparedStatement pstmt=null;
try {
theLog.printDebugInfo("settimage :: making internal representation of image");
- WebdbImage webdbImage= new WebdbImage(uploadData,type);
+ WebdbImage webdbImage= new WebdbImage(uploadData);
theLog.printDebugInfo("settimage :: made internal representation of image");
byte[] imageData = webdbImage.getImage();
theLog.printDebugInfo("settimage :: getImage");