Code Duplication    Length = 4-4 lines in 2 locations

htdocs/class/libraries/vendor/smottt/wideimage/lib/WideImage/vendor/de77/BMP.php 2 locations

@@ 77-80 (lines=4) @@
74
75
			//save pixels
76
			for ($y = $hei-1; $y >= 0; $y--) {
77
				for ($x = 0; $x < $wid; $x++) {
78
					$rgb = imagecolorat($img, $x, $y);
79
					fwrite($f, self::byte3($rgb));
80
				}
81
82
				fwrite($f, $wid_pad);
83
			}
@@ 93-96 (lines=4) @@
90
91
			//save pixels
92
			for ($y = $hei-1; $y >= 0; $y--) {
93
				for ($x = 0; $x < $wid; $x++) {
94
					$rgb = imagecolorat($img, $x, $y);
95
					echo self::byte3($rgb);
96
				}
97
98
				echo $wid_pad;
99
			}