mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-03 06:31:42 +01:00
codecs: leave the TIFF pyramid test's helper name alone
This commit is contained in:
1 parent
639b5d928c
commit
4a967e03ff
1 file changed
+2
-2
@@ -117,7 +117,7 @@ fn colour_is_weighted_between_translucent_pixels() {
|
||||
#[test]
|
||||
fn layered_and_tagged_data_stay_on_the_full_image() {
|
||||
let mut img = solid(200, 100, ChannelLayout::Rgb, SampleType::U8, 0.25);
|
||||
img.icc = Some(craft_cms_free_profile());
|
||||
img.icc = Some(photocraft_cms_free_profile());
|
||||
img.meta.photoshop_layers = Some(vec![1, 2, 3, 4]);
|
||||
img.meta.extra_samples = vec![ExtraSample { kind: 0, data: vec![9; 200 * 100] }];
|
||||
let bytes = encode(&img, Format::Tiff, &pyramid()).unwrap();
|
||||
@@ -133,7 +133,7 @@ fn layered_and_tagged_data_stay_on_the_full_image() {
|
||||
}
|
||||
|
||||
/// Any bytes a decoder keeps as the ICC profile: the codec stores it without parsing.
|
||||
fn craft_cms_free_profile() -> Vec<u8> {
|
||||
fn photocraft_cms_free_profile() -> Vec<u8> {
|
||||
(0..=255u8).collect()
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user