John Cupitt
John Cupitt
For contrast and scale, I need to be able to put pixels through: V' = a V + b with sliders for a and b, and with a on a...
Oh, and contrast/scale just affect the conversion for display, they do not change the image, of course. You need them for medical imaging, and they are useful for photography too,...
Yes, you can see the two-stage pipeline it's using here: https://github.com/jcupitt/vipsdisp/blob/master/imagedisplay.c#L329 That's doing any geometric stuff, like zoom and subsample, but does not alter pixel values. The output of this...
I thought about this some more overnight, and I think we might have slightly different aims. My desire is to have a testbed for the image display component for nip3,...
Hiya, on 1) there's a thing in disp.c to enable abort on warning: https://github.com/aferrero2707/vipsdisp/blob/master/disp.c#L164 it's handy for debugging, but you'll want it off for production. 2) Sorry, some kind of...
As I said, I think we need our own off-screen buffer and to handle all scrolling and resize events ourselves :( what a pain. I'll have a go next week,...
I tried watching top while zooming out of a large jpg, and I hit about 170% CPU peak. A long way off the 12 cores this machine has, you're right....
I looked over the code again, and it keeps a set of windows per image and shares them between threads. I think this was a good idea back when 32-bit...
I spent some time rereading the window code and found a terrible problem! It was continually freeing and newing windows instead of reusing them. Very embarrassing. I think that code...
It has to be an image over 100mb uncompressed, so more than about 6k x 6k. It should be obvious: vips used to chug a bit zooming out 16:1, you'd...