when were fx calculations first available?
Posted: 2009-10-09T10:35:53-07:00
I am trying to run a bash script on my web site hosted by Godaddy using PHP and exec command, but I find that their version of IM at 6.2.7.9 is so old that many things do not work. For example a simple fx calculation fails to return anything, such as
RRV=`/usr/local/bin/convert xc: -format "%[fx:255*$RR/$qr]" info:`
or even
qrange=`/usr/local/bin/convert xc: -format "%[fx:quantumrange]" info:`
Furthermore, they do not even have the unix function bc available to replace the fx calculation.
I am trying to get Godaddy to upgrade their IM and make bc avialable, but don't know whether they will do it or not, yet. I suppose I will have to rewrite my bash script using mostly PHP calculations.
Nevertheless, I am curious. Can anyone tell me when fx calculations were first introduced into IM. I checked the changelog, but it does not go back further than 6.3.1.6?
Thanks
RRV=`/usr/local/bin/convert xc: -format "%[fx:255*$RR/$qr]" info:`
or even
qrange=`/usr/local/bin/convert xc: -format "%[fx:quantumrange]" info:`
Furthermore, they do not even have the unix function bc available to replace the fx calculation.
I am trying to get Godaddy to upgrade their IM and make bc avialable, but don't know whether they will do it or not, yet. I suppose I will have to rewrite my bash script using mostly PHP calculations.
Nevertheless, I am curious. Can anyone tell me when fx calculations were first introduced into IM. I checked the changelog, but it does not go back further than 6.3.1.6?
Thanks