public int[] getPixelArray(int arraynumber, int arraysize)
	{
	    Map<Integer, intArray> map = intarrays.get();
	    if (null == map) {
	        map = new HashMap<Integer, PDFVisualiseDifference.intArray>(3);
            intarrays.set(map);
	    }
		if(!map.containsKey(arraynumber))
			map.put(arraynumber, new intArray(arraysize));
			
		intArray intarr = map.get(arraynumber);
			
		if(intarr.arr.length != arraysize)
			intarr.arr = new int[arraysize];
		
		return intarr.arr;
	}