nokia: fix JPEG extraction, implement PNG extraction.