How to append pages using Title, date, page and secton
Posted: 2016-05-20T14:34:45-07:00
Hello,
I am pretty new to ImageMagick and am running into something I am having trouble figuring out. I am trying to merge together 3 different single page files into 1 single page file. I am semi successful with the appending of the files but the page and section numbers don't always match up like they should.
I am working on a rhel platform and have ImageMagick-6.7.8.9-10.el7.x86_64 installed.
here is an example of my code:
convert "$librarypath""$(basename "$file" | cut -d. -f1)".png "$proofpath""$(basename "$file" | cut -d. -f1)".png "$rootdirectory""$workingdirectory""$comparedirectory""$campaignflag"/"$(basename "$file" | cut -d. -f1)"_diff.png +append "$rootdirectory""$outputdirectory""$campaignflag"/"$(basename "$file" | cut -d. -f1)"_compare_file.png
here are some file examples:
./EOB_Proofing_Process/ImageProcess/Process/Proof/EOB/Proof_SPFile8_05182016_69_page6.png
./EOB_Proofing_Process/ImageProcess/Process/Compare/EOB/SPFile8_05182016_69_page6_diff.png
./EOB_Proofing_Process/ImageProcess/Library/EOB/Library_SPFile8_05182016_69_page6.png
Any help with this would be greatly appreciated.
I am pretty new to ImageMagick and am running into something I am having trouble figuring out. I am trying to merge together 3 different single page files into 1 single page file. I am semi successful with the appending of the files but the page and section numbers don't always match up like they should.
I am working on a rhel platform and have ImageMagick-6.7.8.9-10.el7.x86_64 installed.
here is an example of my code:
convert "$librarypath""$(basename "$file" | cut -d. -f1)".png "$proofpath""$(basename "$file" | cut -d. -f1)".png "$rootdirectory""$workingdirectory""$comparedirectory""$campaignflag"/"$(basename "$file" | cut -d. -f1)"_diff.png +append "$rootdirectory""$outputdirectory""$campaignflag"/"$(basename "$file" | cut -d. -f1)"_compare_file.png
here are some file examples:
./EOB_Proofing_Process/ImageProcess/Process/Proof/EOB/Proof_SPFile8_05182016_69_page6.png
./EOB_Proofing_Process/ImageProcess/Process/Compare/EOB/SPFile8_05182016_69_page6_diff.png
./EOB_Proofing_Process/ImageProcess/Library/EOB/Library_SPFile8_05182016_69_page6.png
Any help with this would be greatly appreciated.