Example #1
0
def init_useless_drawbale_config(file_path):
    _json = shrink_utils.get_json_from_file(file_path)
    _useless_layout_config = UselessDrawableConfig.UselessDrawableConfig(_json)
    return _useless_layout_config
Example #2
0
def init_decompile_config(file_path):
    _json = shrink_utils.get_json_from_file(file_path)
    _decompile_config = DecompileConfig.DecompileConfig(_json)
    return _decompile_config
Example #3
0
def init_compress_state(file_path):
    _json = shrink_utils.get_json_from_file(file_path)
    _compress_state = CompressState.CompressState(_json)
    return _compress_state
Example #4
0
def init_webp_config(file_path):
    _json = shrink_utils.get_json_from_file(file_path)
    _webp_config = WebPConfig.WebPConfig(_json)
    return _webp_config
Example #5
0
def init_compress_config(file_path):
    _json = shrink_utils.get_json_from_file(file_path)
    _compress_config = CompressConfig.CompressConfig(_json)
    return _compress_config