Page 1 of 1

Insert files into folder

Posted: Thu Feb 28, 2019 12:19 pm
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 !

Re: Insert files into folder

Posted: Fri Mar 01, 2019 6:35 am
by r.zegwaard
Use the "Assemble job" to create the folder.
But if the original is comming in in folder 19, why inject it?

Re: Insert files into folder

Posted: Fri Mar 01, 2019 10:51 am
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.

Re: Insert files into folder

Posted: Fri Mar 01, 2019 11:48 am
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 .....

Re: Insert files into folder

Posted: Mon Mar 04, 2019 3:57 pm
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 7412 times