204//std::string commandStr = "convert -composite `cat latest_vp1image` $TestArea/InstallArea/share/ATLAS-Logo-New_300pixels.png -geometry 150x150+0+0 -depth 8 test.png"; // this set the logo size to 150px and it draws it at (0,0)px
205//std::string commandStr = "convert -composite `cat latest_vp1image` $TestArea/InstallArea/share/ATLAS-Logo-New_300pixels.png -geometry +10+10 -depth 8 test.png"; // this uses the original logo size and it draws it at (10,10)px
247 + "-geometry +20+20 "// set an offset to the label position
248 + "-gravity West "// set text position inside the caption space (justification)
249 + "-fill white "// text font color
250 + "-size ${width}x80 "// set text size relative to 'width'
251
252 + "-font Courier "// text font
253 + "-density 72 "// dots-per-inch resolution
254 + "-pointsize 18 "// text size in points
255//+ "-interline-spacing 4 " // additional number of pixels between lines of text (only with ImageMagik >= 6.5.5-8!!! Lxplus has 6.7 but not all SLC6 machines...)
256
257//+ "caption:'Run number: ${nRun}' " // set the caption text
258//+ (m_timeStamp > 0 ? "caption:'Run number: '${nRun}'\\nEvent number: '${nEvent}'\\n'${timestamp} " : "caption:'Run number: '${nRun}'\\nEvent number: '${nEvent}'\\n'${timestamp} ") // set the caption text; '\n' needs to be double-escaped while passed to system()
259 + "caption:'Run number: '${nRun}'\\nEvent number: '${nEvent}'\\n'${timestamp} "// set the caption text; '\n' needs to be double-escaped while passed to system()
260
261 + "${img} "// imput image
262 + "+swap "
263 + "-gravity SouthEast "// set overall caption position
264 + "-composite "
265 + "${img}"; // output image: here we replace the original image