Update Image.java

The data type of "size" should be changed to "Long", because "Integer" will cause an error for large images as follows: 
  "...Numeric value (20700856320) out of range of int..."