Feature request: Allow preview mode to get full image for a filter.
Closed this issue · 2 comments
Currently, any G'MIC filter provides a preview either from:
- A thumbnail of the whole image (preview factor set to
1
) - Or, a crop of the image at full resolution (preview factor set to
0
).
It could be interesting to have a new preview factor (e.g. -1
) that would allow the filter to get the whole full-res image as an input for computing the preview, along maybe with the corresponding top-left/bottom-right coordinates of the area displayed in the preview window. So that a G'MIC filter (if fast enough), could display an always accurate preview of a filter in the preview window.
As suggested, this could be done by setting the preview_factor
parameter to a yet unused value (e.g. -1
), and passing the top-left/bottom-right coordinates of the preview display as G'MIC variables (as it is done currently for $_preview_width
and $_preview_height
).
Now that c-koi is back. Yes, I would like to have this since there are few filters that I have where a full-size preview is mandatory, otherwise, functionally useless or hard to use.