Skip to main content
Participant
November 24, 2008
Question

Painting preview image in a modal window

  • November 24, 2008
  • 6 replies
  • 887 views
Hi,

Is there a simple way to let the user interact with the preview image (proxy window), for example, using a brush to reveal the processed image ?

Basically I'm looking to convert an action I made to a PS plugin. Actually this action creates a new layer with a mask to reveal the effect but since I want to make this a commercial plugin I need to have a big interactive preview and let the user brush certain zones like in noise ninja, liquify, etc.

Thanks
This topic has been closed for replies.

6 replies

Participant
November 28, 2008
just imagine how liquify, vanishing point works, or more precise noise ninja. In Noise Ninja there is a big preview and you are able to mask certain areas painting directly on this preview. I need a sort of brush for revealing or masking the filter before it's applied.
Inspiring
November 28, 2008
"Paint enabled"? With Photoshop's tools, or a tool(s) of your own devising?
Participant
November 28, 2008
Thank you for the help!
What I'm looking exactly is a big paint enabled preview window for revealing a layer. I guess there many uses for this but I have no clue where I can find a source code.

Regards, Edgard
Inspiring
November 26, 2008
My FilterFoundry plugin creates a 'proxy' preview. It is GPL and full source is available @ http://www.telegraphics.com.au/svn/filterfoundry/trunk

Download plugin @ http://www.telegraphics.com.au/sw#filterfoundry
Participant
November 25, 2008
thanks Curvemeister, an already existing paint program would be a very good start, but do you know where I can find the sources ? I guess there are a lot of plugins working this way but I cannot found any sources, that would be the 90% of the job.
Known Participant
November 29, 2008
On Tue, 25 Nov 2008 06:03:58 -0800, Edgard_Berendsen@adobeforums.com wrote:

> but do you know where I can find the sources ?

MFC Scribble sample is a simple paint program that might be a good starting
point. At a party I once added i/o calls to hook Scribble to a friends
stepper driven XY water squirter - so you could squirt water in a
predetermined pattern.

Search for Paint.exe at www.codeguru.com and www.codeproject.com .
Known Participant
November 24, 2008
It can certainly be done, but there is no specific support for this in the
Photoshop API. You will need to implement this via low level system
specific graphics operations. You may be able to adapt an already existing
paint program.