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?
Retrieving data ...