# Path: tailor/config.py
# def jpath(*args):
# def reload(path):


import multiprocessing as mp
from os import cpu_count
from PIL import Image
from tailor.config import pkConfig
# -*- coding: utf-8 -*-
"""

operations for the mp queue

"""




def make_image(data):
    # mode, size, data = data
    return Image.frombytes(*data)


def save_image(image, filename):

# Path: tailor/config.py
# def jpath(*args):
# def reload(path):


# Path: apps/service/worker.py
import multiprocessing as mp
from os import cpu_count
from PIL import Image
from tailor.config import pkConfig

# -*- coding: utf-8 -*-
"""

operations for the mp queue

"""




def make_image(data):
    # mode, size, data = data
    return Image.frombytes(*data)


def save_image(image, filename):

    kwargs = dict(pkConfig["compositor"]["pil_options"])