Sven Neumann wrote:

> So you are seeing the GimpPreview as just a widget that plug-ins can
> draw on. However our goal is to provide a way to add a preview to
> plug-ins basically w/o changing their code. The change should be
> limited to the plug-in dialog and a few hooks here and there.

I thought I'd repeat this, because it's a major design constraint.
(Also, a very good idea.)

I think it's clear that some plugins (e.g. sharpen, noise removal)
will require a small, unzoomed region of the image to judge the
effect, while others (e.g. whirl, colourise) require a small version
of the entire image.

For the first group: if the plugin uses gimp_drawable_mask_bounds
correctly, then it should work correctly if the preview reports
only a small masked area.

For the second group: if the plugin is scale-independent, then it
should work correctly if the preview reports a small image.

--
David Hodson  --  this night wounds time

_______________________________________________
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer

Reply via email to