Please send
comments/questions to
michael@
teratech.com
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>
<CFOUTPUT>
Width: #Width#<BR>
Height: #Height#<BR>
</CFOUTPUT>
<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
TOP
Copyright © 1997-2024, Maryland Cold Fusion User Group. All rights reserved.
< >