title: TaggedImage(java.lang.Object pix, JSONObject tags) - What is JSONObject tags here? What kind of parameters are needed for input to this method?
body: <p>I am trying to implement the below code where I attempt to convert a BufferedImage bufferedImage1, to a TaggedImage (TIFF). </p>
  
  <p>I do not understand how to give the value "tags". I know it is a JSONObject, but what kind of parameters should there be in this JSONObject?</p>
  
  <p>I took a look at the <a href="http://javadoc.scijava.org/Micro-Manager-Core/mmcorej/TaggedImage.html#tags" rel="nofollow noreferrer">Javadoc</a> for this but it's not very explanatory... and as I am just starting to learn this, it is difficult for me to grasp... Would be great if some one could give me some pointers as to how I can go about this problem.</p>
  
  <p>Thanks a lot in advance!</p>
  
  <pre><code>/**
   *  Convert this Image to a TaggedImage and return it.
   * @return 
   */
  public TaggedImage asTaggedImage (BufferedImage  bufferedImage1) {
              return new TaggedImage(getPixels(bufferedImage1), tags);
  
  }
  </code></pre>