I have approximately 1,100 scripts from an image rendering application that need repurposed to an ImageMagick rendering solution for a new application.
Below is one example.
These scripts render a JPEG composite file consisting of a background tif, 1 to many jpeg image nodes, 1 to many text node overlays, a studio photographer transparent name overlay, and a unique order number text overlay. Is it practical/possible to write an interface to translate the script below into an MSL script? We are looking for a solution that can generate a comparable finished JPEG image without having to rewrite 1,100 scripts from scratch.
FileType: Job
Macros: ~~
Datarecords: 1
Unitofmeasure: ~Inches~
Trace: ~F~
Usecolortransforms: 0
Main:
Autocrop: 50 50 50 50 100 100
Autocropmode: ~F~
Icolor: 0 255 255 255
Ifile: ~~
Ilocation: 0 0 11 21
Imagecropheight: 100
Imagecropwidth: 100
Imagecropx: 0
Imagecropy: 0
Logoautorotate: 1
Logoposition1: ~UL~
Logoposition2: ~UL~
Logoscale: 100
Nodename: ~Background~
Xgamma: 1
Il: 1
Adaptivesharpenlimit: 151
Adaptivesharpenthreshold: 90
Autocrop: 50 50 50 50 100 100
Autocropmode: ~C~
Bgcoloropacity: 100
Framemaskfeathering: 3
Framemaskinsidecolor: 0 255 255 255
Framemasktolerance: 100
Framerectoverlapx: 5
Framerectoverlapy: 5
Frameresize: ~L~
Ifile: ~D:\Templates\SP05-008\SP05-008ALL.tif~
Ilocation: 0 0 11 21
Imagecropheight: 100
Imagecropwidth: 100
Imagecropx: 0
Imagecropy: 0
Imageresize: ~L~
Iprompt: ~Insert an image here~
Logoautorotate: 1
Logoposition1: ~UL~
Logoposition2: ~UL~
Logoscale: 100
Nodename: ~Node1~
Sharpenfaster: 60
Strokeimagerect: 0 0 100 0 0 0 0
Tlocation: 0 0 0 0
Xgamma: 1
Il: 5
Antialias: 1
Ignorecr: 0
Ilocation: 10.58 20.912 0 0
Joinlines: 1
Justification: ~C~
Minfontsize: 1
Nodename: ~OrderID~
Shadowstrength: 100
Stroketextrect: 0 0 100 0 0 0 0
Tcolor: 0 255 255 255
Text: ~OrderID~
Textalignment: ~C~
Textbgcoloropacity: 100
Tfont: ~Arial~
Tlocation: 0 0 0.4 0.06
Translucenttext: 0
Tscriptsystem: ~ANSI~
Tsize: 2000
Tstyle: 1
Wordwrap: 1
Xgamma: 1
Il: 6
Antialias: 1
Ignorecr: 0
Ilocation: 2.28 18.84 0 0
Joinlines: 1
Justification: ~C~
Minfontsize: 1
Nodename: ~text1~
Shadowblur: 15
Shadowenable: 1
Shadowoffset: 3 3
Shadowstrength: 90
Stroketextrect: 0 0 100 0 0 0 0
Tcolor: 0 255 255 255
Text: ~Text 1~
Textalignment: ~C~
Textbgcoloropacity: 100
Tfont: ~Slicker Regular~
Tlocation: 0 0 6.48 0.6
Translucenttext: 0
Tscriptsystem: ~ANSI~
Tsize: 2000
Tstyle: 3
Wordwrap: 0
Xgamma: 1
Il: 2
Adaptivesharpenlimit: 151
Adaptivesharpenthreshold: 90
Autocrop: 50 50 50 50 100 100
Autocropmode: ~C~
Bgcoloropacity: 100
Framemaskfeathering: 3
Framemaskinsidecolor: 0 255 255 255
Framemasktolerance: 100
Framerectoverlapx: 5
Framerectoverlapy: 5
Frameresize: ~L~
Ifile: ~<$@App.ShareDirectory>\Images\PlabRef~
Ilocation: 2.32 2.056 6.384 4.38
Imagecropheight: 100
Imagecropwidth: 100
Imagecropx: 0
Imagecropy: 0
Imageresize: ~L~
Iprompt: ~Insert an image here~
Logoautorotate: 1
Logoposition1: ~UL~
Logoposition2: ~UL~
Logoscale: 100
Maskfile: ~\\PlabServer\EventTemplates\SP05-008\image1H1.tif~
Nodename: ~image1~
Sharpenfaster: 200
Strokeimagerect: 0 0 100 0 0 0 0
Tlocation: 0 0 0 0
Xgamma: 1
Il: 3
Adaptivesharpenlimit: 151
Adaptivesharpenthreshold: 90
Autocrop: 50 50 50 50 100 100
Autocropmode: ~C~
Bgcoloropacity: 100
Framemaskfeathering: 3
Framemaskinsidecolor: 0 255 255 255
Framemasktolerance: 100
Framerectoverlapx: 5
Framerectoverlapy: 5
Frameresize: ~L~
Ifile: ~<$@App.ShareDirectory>\Images\PlabRef~
Ilocation: 2.32 8.06 6.384 4.38
Imagecropheight: 100
Imagecropwidth: 100
Imagecropx: 0
Imagecropy: 0
Imageresize: ~L~
Iprompt: ~Insert an image here~
Logoautorotate: 1
Logoposition1: ~UL~
Logoposition2: ~UL~
Logoscale: 100
Maskfile: ~\\PlabServer\EventTemplates\SP05-008\image2H2.tif~
Nodename: ~image2~
Sharpenfaster: 200
Strokeimagerect: 0 0 100 0 0 0 0
Tlocation: 0 0 0 0
Xgamma: 1
Il: 4
Adaptivesharpenlimit: 151
Adaptivesharpenthreshold: 90
Autocrop: 50 50 50 50 100 100
Autocropmode: ~C~
Bgcoloropacity: 100
Framemaskfeathering: 3
Framemaskinsidecolor: 0 255 255 255
Framemasktolerance: 100
Framerectoverlapx: 5
Framerectoverlapy: 5
Frameresize: ~L~
Ifile: ~<$@App.ShareDirectory>\Images\PlabRef~
Ilocation: 2.32 14.06 6.384 4.38
Imagecropheight: 100
Imagecropwidth: 100
Imagecropx: 0
Imagecropy: 0
Imageresize: ~L~
Iprompt: ~Insert an image here~
Logoautorotate: 1
Logoposition1: ~UL~
Logoposition2: ~UL~
Logoscale: 100
Maskfile: ~\\PlabServer\EventTemplates\SP05-008\image3H3.tif~
Nodename: ~image3~
Sharpenfaster: 200
Strokeimagerect: 0 0 100 0 0 0 0
Tlocation: 0 0 0 0
Xgamma: 1
Aftereffects:
Xgamma: 1
Saveimage:
Copies: 1
Enabled: 0
Savefiletype: ~JPEG~
Xres: 100