Added image resources length parsing. Updated README.