Stefan Keim
Stefan Keim
I'm unable to reproduce the 1px line you are seeing in my setup: platform: win 10 (yours: macOS 11.6) python version: 3.7.0 (yours: 3.8.5) vips version: 8.12.2 pyvips version: 2.2.1...
I'm still investigating, but can't find a problem. [`endpoint=False`](https://github.com/indus/kubi/blob/main/src/kubi/kubi.py#L64) in the linspace should ensure values from [0:size-1] that fit to the index of the input image without an overflow. To...
I just saw that the latest libvips version (8.13) has a new `extend` option in mapim: https://www.libvips.org/API/current/libvips-resample.html#vips-mapim VIPS_EXTEND_COPY could be a solution to the 1px border as well...
Thats all quite strange... Regarding the "test.png" I get a 8 bit PNG in Ubuntu (WSL) but a 16 bit image in Windows. Nevertheless your flipped version is way more...
@claytonrothschild I think an example may be better?! Besides that, have you tried to modify the [code](https://github.com/indus/kubi/blob/main/src/kubi/kubi.py#L230) in a way that the mapim option `extend` is set to copy? Because...
@piggz the comments in this issue suggest that it is MacOS problem. I don't own a Mac so I don't have a chance to validate any fixes. But if somebody...
@piggz oh I've just noticed that you had this issue on a PC. 🤔 That makes me really wonder what makes the difference now. Can you provide more details on...
I've just released a new version: https://github.com/indus/kubi/releases/tag/v0.1.6 That should fix the issue with the black line. For this change to work kubi now requires [libvips v8.13.0](https://github.com/libvips/libvips/releases/tag/v8.13.0) or above. I've checked...
> it seems tiles are generated with jpg thats why? @indus @jack-solutions that is because of the `suffix` option you are using... You can change that to any other filetype...
I had no time to look at your code yet (bussy week at work). But what you write in your post sounds great - and a 99% rewrite of the...