Page 2 of 3

Re: Discussion & suggestions: Paint plugin for MP

Posted: Tue Aug 23, 2011 4:42 pm
by JohnFredC
Hi budz45
budz45 wrote:but remember that some toolbar items would certainly need grey-ing out (not useable) for the fully modeless, such as 'next/prev file' , 'slideshow' etc. I know you may reply with the familiar expression "well duh" :) meaning that it's pretty obvious that those should become greyed out.
Sorry, I don't see why... would you explain your reasoning?

Currently the image editing tools such as Levels do not cause next/prev to be greyed out... nor do any other similar softwares (check out Zoner, or the Corel products, for instance).

If the user navigates away from an image in "mid-stream", then MP could smoothly ask "Abandon current tool?" and "Save changes?" etc, etc.

Re: Discussion & suggestions: Paint plugin for MP

Posted: Wed Aug 24, 2011 11:02 am
by xnview
I think that paint will be available as optional toolbar in view mode (like crop or spotlight)

Re: Discussion & suggestions: Paint plugin for MP

Posted: Thu Aug 25, 2011 3:01 pm
by budz45
xnview wrote:I think that paint will be available as optional toolbar in view mode (like crop or spotlight)
Hmm sounds cool and "modeless" like what John said.

here is my mock-up for a 'Paint' toolbar: :D
2011-08-25_155713.png
2011-08-25_155713.png (249 KiB) Viewed 3666 times
btw, I have left space on the toolbar for which to support my request of more 'Paint' features (in the form of icons) could be implemented; more shapes etc.

Re: Paint plugin for MP: Discussion & Suggestions

Posted: Mon Sep 05, 2011 1:43 pm
by budz45
Right, I am also thinking.. I forgot to add Paint's own 'fullscreen' button onto the paint toolbar, -meaning- that it would be awesome if paint app withing XnView MP supported fullscreen editing (with the toolbar also displayed in fullscreen too).

It would be a different fullscreen editor/view than that of the standard fullscreen view :P

Re: Discussion & suggestions: Paint plugin for MP

Posted: Wed Dec 07, 2011 10:45 pm
by budz45
xnview wrote:"Paint plugin" will be integrated in the view mode not as another tab
'Floating' window is another possible idea, but if it was added to XnView MP's 'paint', I would say just keep it to one floating window and not multiple:
Image

Re: Paint plugin for MP: Discussion & Suggestions

Posted: Thu Dec 08, 2011 12:30 pm
by Vapavite123
Hi,
I think that paint will be available as optional toolbar in view mode (like crop or spotlight)
Perfect :!:

Otherwise, do XNV can replace program drawing or painting as "Gimp"?
Would not it more advantageous to facilitate coordination with such programs ?
here is my mock-up for a 'Paint' toolbar:
Cool :)

@+

French :

Salut,
Parfait :!:
Pour le reste, est-ce que Xnv pourra remplacer un programme de dessin ou de peinture comme "Gimp" ?
Ne serait-ce pas plus avantageux de faciliter la coordination avec ce genre de programme ?
Cool :)
@+

Re: Paint plugin for MP: Discussion & Suggestions

Posted: Thu Oct 17, 2013 11:07 pm
by helmut
I've just used the Paint tool of XnView Classic a bit and missed the following features:

Duplicate
Would be cool if one could duplicate objects using the context menu (with right mouse click) and a keyboard shortcut (copy/paste could be supported additionally or alternatively)

Modifier keys
When inserting and resizing an object, there should be modifier keys (Shift, Alt, Ctrl) available for:
- Proportional action (e.g. reszing, moving diagonally)
- Horizontal/Vertical action (e.g. resizing, moving)

Re: Paint plugin for MP: Discussion & Suggestions

Posted: Fri Oct 18, 2013 9:50 am
by m.Th.
I've just used the Paint tool of XnView Classic a bit and missed the following features:...
...Callouts and shapes in a generic extensible engine.

In fact a generic engine which will draw a vectorial shape in a rectangle which can be resized and rotated. IMHO it is impossible to NOT find such an engine for free for C++ and even for Qt to integrate in XnVMP. The shapes will be burned in the image upon save.

See here (read all answers):

http://stackoverflow.com/questions/6168 ... cted-graph

I don't think that Pierre should write his own code from scratch here. There are a plethora of solutions here.

Re: Paint plugin for MP: Discussion & Suggestions

Posted: Fri Oct 18, 2013 11:18 pm
by helmut
m.Th. wrote:... I don't think that Pierre should write his own code from scratch here. There are a plethora of solutions here.
I guess the problem of using an existing library or source is the licencing: XnView MP is freeware for private use, only, and it is not open source.

Re: Discussion & suggestions: Paint plugin for MP

Posted: Tue Oct 22, 2013 8:45 pm
by quapurna
xnview wrote:I think that paint will be available as optional toolbar in view mode (like crop or spotlight)
JohnFredC » Fri Aug 05, 2011 1:14 pm
(… think of it as image "annotation"... boxes, arrows, some text. …)

budz45 » Thu Aug 25, 2011 3:01 pm
(… here is my mock-up for a 'Paint' toolbar: :D …)




I like this idea.
GIMP is too heavy, so I use PicPick. If this feature is available in XnViewMP, I don’t have to jump to another application just to mark something on the image I 'read'.
Please, add the following shapes, too.
(original image by budz45)
xmviewmp-shapes.png
xmviewmp-shapes.png (71.55 KiB) Viewed 2970 times
Thanks.

Re: Paint plugin for MP: Discussion & Suggestions

Posted: Wed Oct 23, 2013 8:25 am
by m.Th.
Please, add the following shapes, too.
...hehehe...

Bezier curves... :) As I said, I think we're heading to a general diagramming engine on top of the image...

Re: Paint plugin for MP: Discussion & Suggestions

Posted: Wed Oct 30, 2013 11:00 pm
by XnTriq
MP makes use of QT's native support for SVG as well as the built-in WebKit engine (for capturing HTML).
The QPainter class seems to offer all the basic drawing tools Pierre needs for annotations (including path stroking).

Re: Paint plugin for MP: Discussion & Suggestions

Posted: Thu Oct 31, 2013 1:33 am
by budz45
Yes I like the sound of that QPainter class 8)

Re: Paint plugin for MP: Discussion & Suggestions

Posted: Thu Oct 31, 2013 9:30 am
by m.Th.
XnTriq wrote:MP makes use of QT's native support for SVG as well as the built-in WebKit engine (for capturing HTML).
The QPainter class seems to offer all the basic drawing tools Pierre needs for annotations (including path stroking).
Nice. :)
Also, thanks a lot for helping with the links in all the posts around here. :)

However, istm that QPainter (which mimics rather closely the Windows' GDI approach) while is - for sure - a good candidate doesn't have:

1. A hitting engine. IOW, a way to 'select' the desired painted object (IOW to put the 'selection box' around it) in order to edit it.
This can be faked if we use the paradigm from batch convert in the way in which is described in the Non-Distructive Editing thread. Then by the very nature of things, selecting an action in the actions list, the program will select with ease the desired object.

Also, be aware that a hitting engine isn't very easy to write. (Think that one have a star overlapping a triangle - the engine must correctly select the desired object)

2. An editing engine. The classical 8 dots-dotted-rectangle-box used for selection isn't enough. Ok, for the beginning and/or plain vanilla things, yes. However, if one requests bezier curves (see some posts above) and/or callouts, the things change. We need an engine to deal with specific point-editing.

3. Predefined shapes. Callouts (problems with the 'nose' of the callout - orientation, size etc.), arrows (problems with the arrowhead orientation, size etc.) and other predefined shapes which some of them need special treatment.

The devil hides in details.

My proposal:


Implement the Non-Distructive Editing as shared code with the Batch Convert's actions and add to the Actions list an Insert Custom Shape action.

Put some shapes in there to choose from, pen & brush colors, strokes etc. and controls for move (position), scale & rotate. In this case, imho as a visual paradigm for mouse editing for the beginning the simple 8-dots-box will suffice.

Re: Paint plugin for MP: Discussion & Suggestions

Posted: Fri Nov 01, 2013 11:00 am
by XnTriq
m.Th. wrote:Nice. :)
Also, thanks a lot for helping with the links in all the posts around here. :)
Thanks for your kind words, m.Th. :-)
I really appreciate your detailed explanations!
m.Th. wrote:The devil hides in details.
My previous post was originally a question (“Why can't Pierre use…”), because I had an inkling that someone would've brought up that QPainter class before, had it been a viable alternative.
m.Th. wrote:I don't think that Pierre should write his own code from scratch here. There are a plethora of solutions here.
If I'm not mistaken, the customization and/or skinning feature of the toolbar in XnView Classic are/is 3rd-party code, too.