Insert files into folder

Post Reply
ChritianK
Member
Posts: 43
Joined: Wed Nov 29, 2017 10:57 am

Insert files into folder

Post by ChritianK »

Hi,
Have little mistake to do this :
A file is treated in a flow and I have to used both the original (.jpg file) and the processed file to create a new file(.png file)

New file is created by a .bat file ( compose .png file with .jpg file )

- I used inject job to pick up the original file when the processed file is finish to create the new file.
How can I made to create a folder to have the original file+processed file in it, and the folder will have the name of Job ?

Thanks !
Attachments
subfolder.png
subfolder.png (50.67 KiB) Viewed 6157 times
r.zegwaard
Member
Posts: 93
Joined: Fri Jul 08, 2011 10:31 am
Location: The Netherlands

Re: Insert files into folder

Post by r.zegwaard »

Use the "Assemble job" to create the folder.
But if the original is comming in in folder 19, why inject it?
Malcolm Mackenzie
Member
Posts: 121
Joined: Wed Mar 22, 2017 5:05 pm
Location: London, UK
Contact:

Re: Insert files into folder

Post by Malcolm Mackenzie »

If the two files
New
Original
Have the same file name just different extensions then you can use assemble jobs with the variable
Job.Name before . for the assemble condition.
The folder naming can be set to the same variable if Automatic doesn't work for you.
ChritianK
Member
Posts: 43
Joined: Wed Nov 29, 2017 10:57 am

Re: Insert files into folder

Post by ChritianK »

r.zegwaard wrote: Fri Mar 01, 2019 6:35 am Use the "Assemble job" to create the folder.
But if the original is comming in in folder 19, why inject it?
Hi,
Thank you for answer,

because I try to compose a .jpeg with .png mask with this imagemagcik command :

magick.exe image.jpg (image.png -negate) -alpha off -compose copy_opacity -composite image-result.png

but don't know how to do it .....
ChritianK
Member
Posts: 43
Joined: Wed Nov 29, 2017 10:57 am

Re: Insert files into folder

Post by ChritianK »

Hi again,
I didn't find what's wrong.... imagemagick doesn't find file, but it seems that the file exist in the temp folder....
error.png
error.png (220.1 KiB) Viewed 5940 times
Post Reply