* expC1 File name PARAMETERS tcFileName LOCAL lcHtml,lcFileName lcHtml='' lcFileName=FILETOSTR(tcFileName) lcHtml=lcHtml+'WIDTH='+ALLTRIM(STR(ASC(SUBSTR(lcFileName,8,1))*256+ASC(SUBSTR(lcFileName,7,1)))) lcHtml=lcHtml+' ' lcHtml=lcHtml+'HEIGHT='+ALLTRIM(STR(ASC(SUBSTR(lcFileName,10,1))*256+ASC(SUBSTR(lcFileName,9,1)))) RETURN lcHtmlThis is done in repetitive way. So, about 20 times in a fraction of a second. If I use the image control for it, I don't know if that would be faster. However, it might be more robust assuming a specific GIF format would be used other than the default one.