def __init__(self, data_file_path, meta_file_path, serializer=json_serializer, jpeg_decoder=jpeg_bytes_to_img):
    self.jpeg_decoder = jpeg_decoder
    self.serializer = serializer
    self.data_file_path = data_file_path
    self.meta_file_path = meta_file_path
    self.meta_dict = self._get_or_create_dict()
    self._img_info = {}
    self.fp = None
def __init__(self, data_file_path, meta_file_path, serializer=json_serializer, jpeg_decoder=jpeg_bytes_to_img):
    self.jpeg_decoder = jpeg_decoder
    self.serializer = serializer
    self.data_file_path = data_file_path
    self.meta_file_path = meta_file_path
    self.meta_dict = self._get_or_create_dict()
    self._img_info = {}
    self.fp = None