Added support for JPEG2000. Relates to #62.
Added try catch for url image loading.