-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmdpicgen.py
More file actions
17 lines (12 loc) · 751 Bytes
/
Copy pathmdpicgen.py
File metadata and controls
17 lines (12 loc) · 751 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
from extract_md import extract_button_sequences
from util import format_image_basename
from button_sequence import ButtonSequence
from modify_md import format_markdown, write_markdown
from imageset_gen import ImageSet, ImageOpt
from psd_gen import PSDInMd
# noinspection PyUnresolvedReferences
mdpicgen_ignore = extract_button_sequences, format_image_basename, ButtonSequence, format_markdown, write_markdown
def process_psd(out_dirname, psd_filename, basenames, height):
PSDInMd().process_psd(out_dirname, psd_filename, basenames, height)
def process_imageset(out_dirname, imageset_filename, imageset_dir, button_sequences, opt: ImageOpt):
ImageSet().process_imageset(out_dirname, imageset_filename, imageset_dir, button_sequences, opt)