User Tools

Site Tools


finding_image_file_dimensions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
finding_image_file_dimensions [2018/10/17 13:14]
richardrussell created
finding_image_file_dimensions [2018/10/17 13:40]
richardrussell
Line 1: Line 1:
 +=====Finding image file dimensions=====
 +
 //by Richard Russell, October 2018// //by Richard Russell, October 2018//
  
Line 17: Line 19:
       PTR#F% = 4       PTR#F% = 4
       REPEAT PTR#F% = PTR#F% + 256 * BGET#F% + BGET#F%       REPEAT PTR#F% = PTR#F% + 256 * BGET#F% + BGET#F%
-      UNTIL BGET#F% = &FF AND BGET#F% = &C0 OR EOF#F%+      UNTIL BGET#F% = &FF AND (BGET#​F% ​AND &​F0) ​= &C0 OR EOF#F%
       PTR#F% = PTR#F% + 3       PTR#F% = PTR#F% + 3
-      W% = 256 * BGET#F% + BGET#F% 
       H% = 256 * BGET#F% + BGET#F%       H% = 256 * BGET#F% + BGET#F%
 +      W% = 256 * BGET#F% + BGET#F%
       CLOSE #F%       CLOSE #F%
       ENDPROC       ENDPROC
finding_image_file_dimensions.txt ยท Last modified: 2018/10/17 13:40 by richardrussell