Skip to content

Commit afb26a7

Browse files
committed
fix Colour_atlas
Since const ++ class will no longer works
1 parent 30fa23f commit afb26a7

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
- improve display of computed multipage images
1111
- batch mode output is lazy
1212
- ++, join_sep, difference are lazy
13+
- const ++ Image no longer works :( patch Colour_atlas
1314
- removed trace system
1415

1516
## 9.0.13 2025/09/20

TODO

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
- should allow vips_image ++ Image
2+
13
- remove remove prefs workspace stuff?
24

35
things like max heap size should be settable ... maybe pres are useful?

share/nip4/start/Image.def

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2363,7 +2363,10 @@ Test_images_item = class
23632363
lab_start = colour_transform_to Image_type.LAB start;
23642364
blocks' = blocks - to_real nstep * to_real ssize +
23652365
Vector (tl lab_start.value);
2366-
blocks'' = hd lab_start.value ++ Image blocks';
2366+
L = image_new size size 1
2367+
Image_format.FLOAT Image_coding.NOCODING
2368+
Image_type.B_W lab_start.value?0 0 0;
2369+
blocks'' = Image L ++ Image blocks';
23672370
blocks'''
23682371
= image_set_type Image_type.LAB blocks'', Image grid
23692372
= 0;

0 commit comments

Comments
 (0)