Optimize image & native resources