RosinCoreSolder
Technical User
Hello,
I have been placing Solar-X-Ray
and Geomagnetic-Field status
reports on my web site from n3kl.org. Each time a visitor accesses my site, these two status images containing words are downloaded from n3kl.org telling the current status, useful in predicting radio propagation.
It is my desire to take these images, identify them and output an ascii text word to my visitor, in the alt tag, which now contains the static output "Status." Doing so would avail this information to blind users whose screen readers do not discern the image text.
With a hex editor, I have determined that the 114th byte of the eight possible GIF images is unique, so I could use a cgi script using Perl, or a php script, on my SSI-enabled Apache web site to perform this conversion. I also run Apache Web server, with Perl and SSI enabled on my Windows machine for local development.
I am still a little green on this Perl, and have searched Google for anything useful without much luck.
I can fairly quickly write a DOS program in QuickBASIC that could open a file on the hard drive and extract the specified byte and match it up, so there must be a way to do this on a server side script using a freshly downloaded image.
Any pointers or resources you could start me on would be appreciated. My thanks in advance!
--
Larry
I have been placing Solar-X-Ray
It is my desire to take these images, identify them and output an ascii text word to my visitor, in the alt tag, which now contains the static output "Status." Doing so would avail this information to blind users whose screen readers do not discern the image text.
With a hex editor, I have determined that the 114th byte of the eight possible GIF images is unique, so I could use a cgi script using Perl, or a php script, on my SSI-enabled Apache web site to perform this conversion. I also run Apache Web server, with Perl and SSI enabled on my Windows machine for local development.
I am still a little green on this Perl, and have searched Google for anything useful without much luck.
I can fairly quickly write a DOS program in QuickBASIC that could open a file on the hard drive and extract the specified byte and match it up, so there must be a way to do this on a server side script using a freshly downloaded image.
Any pointers or resources you could start me on would be appreciated. My thanks in advance!
--
Larry