big-sample

This commit is contained in:
Ponj 2024-07-02 23:04:39 +02:00
parent 50572b3d88
commit 41bbd3d371
Signed by: p6nj
GPG key ID: CEAB625B75A836B2
2 changed files with 1 additions and 1 deletions

View file

@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 MiB