Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

help #23

Open
K-O-N-B opened this issue Oct 10, 2024 · 5 comments
Open

help #23

K-O-N-B opened this issue Oct 10, 2024 · 5 comments

Comments

@K-O-N-B
Copy link

K-O-N-B commented Oct 10, 2024

image

how can I select *.jpg and *.png both in extension?

I've tried this but now working
image

Because my workflow can't use psd. Everything read PSD in my workflow will pop-up a error message window, and stop my following queue.

@jerrydavos
Copy link
Collaborator

workflow (7)

You can use the JDCN_AnyFileListHelper node to filter out the extentions
image

Just put extentions separated by COMMA ( , ) in the search box

@K-O-N-B
Copy link
Author

K-O-N-B commented Oct 14, 2024

workflow (7)

You can use the JDCN_AnyFileListHelper node to filter out the extentions image

Just put extentions separated by COMMA ( , ) in the search box

What if I need to random pick one image from X floder? Only the jpg and png files.

@jerrydavos
Copy link
Collaborator

jerrydavos commented Oct 14, 2024

image

Add two more nodes to have a random file path

JDCN_ListToString -- JDCN_StringManipulator

with these following settings for the StringManipulator Node:
image

So the Following Full graph will act like your custom filter of JPEG and png files

Put the folder X in the First AnyFileList node, after process it will pick one image randomly by the stringmanilpulator in the end

workflow (8)

Here's your Json File too.

Random_JPEG_PNG.json

@K-O-N-B
Copy link
Author

K-O-N-B commented Oct 14, 2024

THANK YOU, I try it later.

@K-O-N-B
Copy link
Author

K-O-N-B commented Oct 15, 2024

image

Add two more nodes to have a random file path

JDCN_ListToString -- JDCN_StringManipulator

with these following settings for the StringManipulator Node: image

So the Following Full graph will act like your custom filter of JPEG and png files

Put the folder X in the First AnyFileList node, after process it will pick one image randomly by the stringmanilpulator in the end

workflow (8)

Here's your Json File too.

Random_JPEG_PNG.json

I've copy the workflow in my workflow like this:
image

the main problem is I need to pick 3 different images one time, but the index number seems same in every queue, so the workflow alway pick one same image. How can I meke it? Thank u~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants