Made TreeMap for getting Blob from Image