This commit is contained in:
Spencer Killen 2024-01-01 23:25:55 -07:00
parent 6e0fb26f36
commit 9677c18b57
Signed by: sjkillen
GPG Key ID: 3AF3117BA6FBB75B
1 changed files with 0 additions and 2 deletions

View File

@ -40,7 +40,6 @@ fn write_mask_image(
assert!(height <= MAX_IMAGE_DIM);
let mut header = Header::from_dimensions(width as i32, height as i32);
// TODO this might just make the file bigger and not fix anything
header.set_compression(Compression::No);
header.channels_mut().insert("R", &non_color_channel());
@ -73,7 +72,6 @@ fn write_point_image(
) -> Result<(), Box<dyn Error>> {
let mut header = Header::from_dimensions(width as i32, height as i32);
// TODO this might just make the file bigger and not fix anything
header.set_compression(Compression::No);
header.channels_mut().insert("R", &non_color_channel());