title: How to Set Image height and width in j2me(java)
body: <p>i have created an image from the image url(lcdui image)</p>
  
  <pre><code>HttpConnection c = (HttpConnection) Connector.open(imageurl);
  int len = (int)c.getLength();
  
  if (len &gt; 0) 
  {
  is = c.openDataInputStream();
  byte[] data = new byte[len];
  is.readFully(data);
  
  img = Image.createImage(data, 0, len);
  </code></pre>
  
  <p>i want to set height and width to this?and i want to display</p>