supported encrypted image files; fixed #137