title: can GPU computing power be used for image conversion(tiff to jpeg)? if yes how to achieve it
body: <p>In my scenario I fetch screen from a device(it only produces tiff image) and transfer it to jpeg and sent it over network to the client(client only support jpeg encoding)</p>
  
  <pre><code>java code
      public byte[] getscreen(){
      /*
      logic for fetching tiff image from the device
      */
       if(tiffimage == null )
       return null;
       byteOutput = new ByteArrayOutputStream();
       ImageIO.write(tiffImage, "jpeg", byteOutput);
      return byteOutput;
      }
  </code></pre>
  
  <p>For the device to produce the image it's taking 10ms - 1 sec depending on the resolution of the device (please note no change can be done at this side, it produces only tiff image) and the size is from 3 MB -12 MB depending on the resolution. </p>
  
  <p>Now converting the image to JPEG is taking some time. my query is, can we use the GPU power for converting the image from tiff to JPEG so that i can get improved FPS in my client side?</p>
  
  <p>P.S: The application is running in various machines which have graphics cards such as (NVDIA, AMD,Intel HD graphics)
   I want to know whether this can be done, if so how to approach the solution.</p>