home Links Articles Books Past Meetings Photos SiteMap
The MDCFUG is sponsored by TeraTech. Visit us at www.TeraTech.com

Please send
comments/questions to


PPT Slide

PPT Slide

    Example: Manipulating Binary

    <CFINCLUDE TEMPLATE="_TwosCompToDec.cfm">
    <CFSET flnm="d:\cfusionmx\wwwroot\cfide\administrator\images\cfmx.gif">
    <CFFILE ACTION="ReadBinary" FILE="#flnm#" VARIABLE="TheFile">
    <CFSET Width = TwosCompToDec((TheFile[7]) + (TheFile[8] * 256), 8)>
    <CFSET Height = TwosCompToDec((TheFile[9]) + (TheFile[10] * 256), 8)>
    <H2>GIF Dimensions</H2>
    Width: #Width#<BR>
    Height: #Height#<BR>
    <CFDUMP VAR="#TheFile#">

Previous slide Next slide Back to first slide View graphic version

Home | Links | Articles | Past Meetings | Meeting Photos | Site Map
About MDCFUG | Join | Mailing List |Forums | Directions |Suggestions | Quotes | Newbie Tips

Copyright © 1997-2020, Maryland Cold Fusion User Group. All rights reserved.
< >