GNOME Bugzilla – Bug 65197
New tool please: Shapes
Last modified: 2018-05-24 10:37:04 UTC
I think that there should be a tool for drawing shapes, i.e. squares, circles and maybe some others. To that there should be some real-time aspect ratio information in the status bar. The tool button should be Shapes. Then in the Shapes tool window, it would be possible to choose what kind of shape to draw.
This can be done by making a selection and doing edit->stroke. However, I have seen others mention this as a shortcoming of the GIMP.
Yes, you can do a lot of things by creating the appropriate selections and using Edit->Stroke. However, this is not very convenient and not intuitive. There are still many users who are surprised when they discover that they can draw straight lines by holding shift while using the pencil or brush. There are probably even more users who do not know how to use Edit->Stroke to draw some simple shapes. Most of the other well-known image editing programs have such tools for drawing rectangles, ovals, rounded rectangles and other simple shapes. Having these as separate tool(s) allows more precise drawings and more control over the shape and aspect ratio.
Thanks anyway, Ben... I didn't know the stroke-feature. :)
*** Bug 100971 has been marked as a duplicate of this bug. ***
Changes at the request of Dave Neary on the developer mailing list. I am changing many of the bugzilla reports that have not specified a target milestone to Future milestone. Hope that is acceptable.
*** Bug 121897 has been marked as a duplicate of this bug. ***
I have an idea... how about making the Filters/Render/Gfig include a button to export to a Path (vector) and support the .wmf format (in 1-bit b/w format) for starters? That way one could even convert, say, Paint Shop Pro vector graphics to .wmf in the Paint Shop Pro program, (it has a ton of nice vector shapes, btw), and then fire up Gimp and load the .wmf into Gfig and then press a "Create Path" button to actually recreate the vector object. It would be nice to also be able to size (using the skew and deformation tools, for example) the vector image then to any size without losing (much) detail. Later on (waaaay down the road, like Gimp 3.0 or something ;) you could consider importing also color fills, stroke, etc. into the vector shapes, or even gradient fills (Paint Shop Pro will allow solid colors and gradient fills as well as different stroke sizes in their vector format). Another idea would also be for styled lines (dashed lines, dotted lines, etc.) to be an addition to the type of "stroke" used.
We can import SVG; that's a lot more reasonable than using WMF here. You should be able to export to SVG from Paint Shop Pro, import the SVG paths into The GIMP and stroke them. You don't need GFig for this. Dashed strokes are basically implemented. What's missing here is a GUI only. Might even make it into 2.0 still.
*** Bug 133966 has been marked as a duplicate of this bug. ***
So, I was thinking that this comes down to 2 things... Add a polygon selection tool whcih behaves the same as the polygon mode of the path tool, except that it automatically makes a selection, or the same as the IScissors, exceot that it doesn't do anything very I. Subclass the selection tools in general to make stroked selection tools, which include the minimum of the stroke options in the tool options, and automatically stroke a selection when it's finished. Of course, this is a fairly dumb solution, and a number of the selection tools options are totally irrelevant to this (the interesection modes and feather settings come to mind, for example), and I haven't thought about the details. How does this sound? And what are the glaring oversights in the plan? Cheers, Dave.
You don't want to stroke the selection, you want to stroke the path. Please let's not confuse this problem with selections. Selections are unrelated to this.
I meant selection. Dave.
And I meant that selections are unrelated to drawing shapes.
Considering that the best advice we gove to people right now for drawing rectangles and ellipses is "make a selection and stroke it", I'm not sure I follow your reasoning. Dave.
Look at the output of stroking an elliptical selection, then look at the output of stroking an elliptical path. Then tell me again that stroking a selection is the best advice.
I believe that this tool could be related to Vector Layers as well? (bug 6893) . Creating a new shape could leave it on a layer of it's own, just like the Text tool does now. As suggested in bug 6893, I will open a new bug to track vector layers implementation, (I also told Simon I'd do this - open the enhacement report, not implementing it). Them, if you'd agree with what I said, this one could be marked as depending on that.
No, a shape tool doesn't depend on vector layers. Of course vector layers would be nice to have also and it's related to the issue discussed here, but there's no dependency. Also, openening more bugs is not going to solve anything. Why don't you spend your time on fixing one or two bugs instead?
*** Bug 163655 has been marked as a duplicate of this bug. ***
*** Bug 170153 has been marked as a duplicate of this bug. ***
*** Bug 314469 has been marked as a duplicate of this bug. ***
*** Bug 316941 has been marked as a duplicate of this bug. ***
*** Bug 526518 has been marked as a duplicate of this bug. ***
*** Bug 539517 has been marked as a duplicate of this bug. ***
*** Bug 65195 has been marked as a duplicate of this bug. ***
I have duplicated Bug #65195 – Should be a specific tool for drawing straight lines against this one, adding support for drawing shapes should also include drawing lines.
*** Bug 554894 has been marked as a duplicate of this bug. ***
Since we are likely to add basic support for vector layers in 2.8, let's put this on the 2.8 milestone for consideration.
edit|Stroke is disabled when there's a background image, so it's totally useless to me. I am also requesting vector shapes. hollow or filled shapes. shapes that can be filled with textures, gradients, or colors. circles, ellipses, spirals, squares, rectangles, stars with N points of inner diameter D (there needs to be a default). the squares and rectangles should have roundable corners as an option. all at rotation of degree M. of size S. and please make it easy to do: possibly make the parameters available as another panel/palette. someone else may want mitre joints, but that doesn't matter to me. probably should put it in anyway. so far all I have seen from the palette is a pen with some sort of spline between them (which I assume is Edit|stroke). applaudable. but not enough when you want to draw a regular shape. keep that feature.
and I forgot something: the shape's edges/strokes should be of thickness TH and should have their own color C2 or gradient G2 or texture T2. I think you get the idea. I think I got everything.
Edit->Stroke is found in the Edit menu.
I had already said that, I has just said that when I had an image in the editor and tried to use edit|stroke from the menu, I discovered the menu item was disabled - grayed out. I think that's an issueif I am supposed to be able to use it. using windows version on XP Pro SP3 w 3GB RAM (plenty).
It isn't really obvious what you're currently trying to do - i.e. if you're currently playing with the vector layers patch or if you just don't know how the Edit->Stroke methods are used.
it sounded like somebody was hinting that there was maybe was something different about Edit|Stroke as opposed to doing strokes from the tool palette, as if there were some hidden shapes you could create using Edit|Stroke. I don't know if there is.(?) this is not intuitive (why it is grayed out). this would only make sense why it is acting this way if Edit|Stroke is not used for creating strokes but is only used for editing existing strokes. I could be wrong, but I am dropping the Edit|Stroke subject since I know nothing about it except from a beginner-user standpoint. sorry for all the extra banter. I am just hoping for some new regular shapes. please? :-) and I agree, vector layers would be a nice addition. (you would also need vector->raster conversion)
*** Bug 596522 has been marked as a duplicate of this bug. ***
According to the current estimates we will not have time to implement this for 2.8. Postponing to 2.10.
This bug is almost 9 years old. Is this function so complicated? Are there plans/prototypes/branches for this?
Nothing is complicated, things just have different priorities. If you want to see this in GIMP, feel free to begin to drive this forward. One good start would be to merge the GSoC 2010 vector layer branch, see bug 557970. We'd appreciate any help we can get.
Low priority compared to things on our roadmap
*** Bug 660575 has been marked as a duplicate of this bug. ***
Hi, for a longer time I missed easy usable shapes in GIMP. The current solution GFig is IMHO to unprecise and the integration of vector layers from GSoC 2010 is postponed for later (see https://bugzilla.gnome.org/show_bug.cgi?id=557970#c20). Since bug #613885 is solved, it's now possible to import vector paths from other programs. I used this chance and created some shapes with Inkscape to use in GIMP: rectangles, squares, polygons, circle, ellipses, arcs, pies, triangles, stars, wave, spiral, trapezoid. There are rectangles, sqares and stars with 'normal' and rounded corners. I think, that's enough for first and fulfills most of the needs. Currently I'm unsure how to provide them to be easily accessible from the UI. Should I provide them in a subfolder of the source's data-folder or via Gimpstuff? Thanks in advance.
Hi. I was in near from file a duplication of this bug before I read this !! Hold "shift" with brash & "pencil" & you will be able to add lines !!! This is very hidden aspect !! One of GIMP negative aspect is that it contain many many powerful functions but available in unusual way !! If you decide to add "Shapes" tool, please including lines, & arrows also. Shift holding feature enable to add lines but not arrows ...... .
See comment 37 - if someone helps us to finish the vector layers, this will become a lot easier to add.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gimp/issues/12.