This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// cartoon image to wired draft | |
/// ref: https://www.adobe.com/devnet/photoshop/scripting.html | |
function wired_filter() { | |
var doc = app.activeDocument; | |
while(doc.artLayers.length > 1) { | |
doc.activeLayer.remove() | |
} | |
doc.activeLayer.copy() | |
doc.paste(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from PyQt5.QtWidgets import QApplication, QMainWindow, QWidget, QListWidget | |
from PyQt5.QtWidgets import QHBoxLayout, QVBoxLayout, QTextEdit, QPushButton, QLineEdit, QCheckBox, QComboBox, QLabel | |
from PyQt5 import QtGui, QtCore | |
from collections import OrderedDict | |
# list all folder with depth 2 then save | |
# gen app command : pyinstaller --noconsole -F PTBrowserSimple.py | |
import os, sys |