big-sample
This commit is contained in:
parent
50572b3d88
commit
41bbd3d371
2 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ use bmp::{open, Pixel};
|
|||
use dasp_sample::{FromSample, Sample, ToSample, U24};
|
||||
|
||||
fn main() -> Result<()> {
|
||||
let mut bmp = open("bmp/sample.bmp")?;
|
||||
let mut bmp = open("bmp/bigsample.bmp")?;
|
||||
for y in 0..bmp.get_height() {
|
||||
for x in 0..bmp.get_width() {
|
||||
if x > 100 && x < 300 {
|
||||
|
|
BIN
bmp/bigsample.bmp
Normal file
BIN
bmp/bigsample.bmp
Normal file
Binary file not shown.
After Width: | Height: | Size: 24 MiB |
Loading…
Reference in a new issue