support loading JP2 images
try to squash some /analyze warnings