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] – created richardrussellfinding_image_file_dimensions [2024/01/05 00:22] (current) – external edit 127.0.0.1
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.1539782052.txt.gz · Last modified: 2024/01/05 00:17 (external edit)