Rewrited the image bitmap loading so no more external library needed.