|
Post by tenochtitlanuk on Jul 21, 2009 16:58:57 GMT -5
Further to my posts on the LB conforum, libertybasic.conforums.com/index.cgi?board=LB3&action=display&num=1247403389 it IS indeed easy to call this via shell scripts using shell$(. The following for instance uploads an image and converts it to a pdf- but all the other functions should work equally well. ImageMagick is FREE, and does all sorts of image operations. html "<center>"
upload "Choose a JPG or PNG or GIF file to upload. "; name$ loadgraphic #jpgImage, name$ render #jpgImage
print shell$( "convert "; name$; " "; left$( name$, instr( name$, ".")); ".pdf" )
|
|