Move image save operation off the main thread - #63
Conversation
|
FWIW, I think we should also consider re-syncing vipsdisp with nip4. For example, I noticed that we could cherry-pick commit libvips/nip4@b546407. Lines 225 to 238 in e387036 |
Yes, they are drifting apart :( Maybe a better solution would be to make vipsdisp into another executable generated from the nip4 source tree? We already make nip4 and snip (just the programming language). I've got a branch of nip4 that moves all the region handling out of the main image UI class, so I think making a standalone viewer from the same sources wouldn't be that hard. Though I've not tried! |
|
nip4 is distributed under a different license than vipsdisp. So, distributing vipsdisp within the nip4 source tree could(?) raise licensing concerns for users who expect vipsdisp to be distributed under the MIT license. |
|
Oh, that's true. You're right, I guess it should stay a separate project. I suppose moving region handling out of imageui at least makes it simpler to copy-paste the sources across. |
Required for libvips/libvips#5165.
The revised
save_options_eval()is similar to:vipsdisp/src/imagewindow.c
Lines 453 to 523 in e387036