0 Replies Latest reply on Oct 20, 2010 10:52 PM by chandu3107

    How to reduce bytearray size ?

    chandu3107 Level 2

      Hi All,

       

      We are developing a component in which user can draw a free hand drawing on canvas using mouse.

      Once this drawing is completed whole canvas needs to be converted in to an image.

      We are using PNGEncoder to convert canvas in to bytearray.

      We have restriction that bytearray size should me as minimum as possible.

       

      Any idea how to do it? Will GIFEncoder reduce it?

       

       

      Thanks