Outline markers (arrow heads) and colour
Hiya, Check the FAQ (hope I didn't miss it). Is there any way to colour the 'markers' on lines? They are always black - from what I can see. I want a red line and a red arrow-head on the end.
/d
On 2007-April-16 , at 12:29 , Donn wrote:
Hiya, Check the FAQ (hope I didn't miss it). Is there any way to colour the 'markers' on lines? They are always black - from what I can see.
effects > modify path > color markers to match stroke it may deserve a FAQ indeed (if there is not one already, I did not check)
I want a red line and a red arrow-head on the end.
JiHO --- http://jo.irisson.free.fr/
On 2007-April-16 , at 14:32 , Donn wrote:
effects > modify path > color markers to match stroke it may deserve a FAQ indeed (if there is not one already, I did not check)
Cool - oddball, but cool.
Yes, this is just a workaround now. Is there someone investigating the possibility to do it more easily? Bryce I think I remember you talked about this quite some time ago.
I cannot find it in the FAQ, so that would be helpfull.
I added a FAQ in the English FAQ. Should I notice someone so that it gets translated? http://wiki.inkscape.org/wiki/index.php/ FAQ#How_do_I_change_the_color_of_markers_.28e.g._arrow_ends.29.3F It is very sparse, it would be nice if someone knowledgeable could expand a little on why markers are currently black and what is necessary to have them working properly.
JiHO --- http://jo.irisson.free.fr/
On Mon, Apr 16, 2007 at 03:38:22PM +0200, jiho wrote:
On 2007-April-16 , at 14:32 , Donn wrote:
effects > modify path > color markers to match stroke it may deserve a FAQ indeed (if there is not one already, I did not check)
Cool - oddball, but cool.
Yes, this is just a workaround now. Is there someone investigating the possibility to do it more easily? Bryce I think I remember you talked about this quite some time ago.
Yep, this unfortunately is an area where the SVG spec had let us down, as it didn't really describe how to handle this (seemingly common) situation until SVG 1.2 (which iirc is still not finalized). So, we can implement it the way they describe, although it's a tad complicated and subject to change. I haven't done much work on this myself, but I'd be happy to share my notes with anyone that'd like to take a shot at coding on it.
I cannot find it in the FAQ, so that would be helpfull.
I added a FAQ in the English FAQ. Should I notice someone so that it gets translated? http://wiki.inkscape.org/wiki/index.php/ FAQ#How_do_I_change_the_color_of_markers_.28e.g._arrow_ends.29.3F It is very sparse, it would be nice if someone knowledgeable could expand a little on why markers are currently black and what is necessary to have them working properly.
The reason they're black is because rather than simply being a fixed property of a line, they're implemented as separate referenced drawing elements that are pasted onto the line at given spots. This is clearly an extremely flexible design, allowing just about any chunk of svg to be used as a marker. However, communicating style elements (like colors) between the line and this separate drawing element takes requires some additional SVG syntax that we don't have implemented in Inkscape yet for various reasons (like being a SVG 1.2 feature).
Bryce
On Mon, Apr 16, 2007 at 08:52:23AM -0700, Bryce Harrington wrote:
The reason they're black is because rather than simply being a fixed property of a line, they're implemented as separate referenced drawing elements that are pasted onto the line at given spots. This is clearly an extremely flexible design, allowing just about any chunk of svg to be used as a marker. However, communicating style elements (like colors) between the line and this separate drawing element takes requires some additional SVG syntax that we don't have implemented in Inkscape yet for various reasons (like being a SVG 1.2 feature).
Why wouldn't you just group the line ad its marker, then put theline's style on the group instead? Ipersonally would love the abiilty to push common styles up the heiarchy. It would make my work a lot easier to keep maintainable (and make the files maringally smaller).
Sorry about the typos, I'm on adespereatly slow/broken connection that insists on delivering keypress events out of order ornot at all.
Jeff
On Tue, Apr 17, 2007 at 03:26:26AM -0400, Jeffrey Brent McBeth wrote:
Why wouldn't you just group the line ad its marker, then put theline's style on the group instead? Ipersonally would love the abiilty to push common styles up the heiarchy. It would make my work a lot easier to keep maintainable (and make the files maringally smaller).
Essentially because SVG provides that markers are implemented as <def> items rather than <group> items.
If all the markers were grouped to the line, then each marker would be a separate element and could hold separate style information. However, they would not automatically align to the line, and if you wished to change the markers, you'd have to alter each marker one at a time.
With the markers done as <def>s, there is really only a single marker element, that is kept in the "definitions" (<def>) section of the document, and it is "referenced" into each place it's needed. Thus, if you update the marker's style, shape, etc., ALL instances of the marker are changed the same way. Markers also have special capabilities (like auto-aligning to the path) compared with other <def> items such as gradients or symbols.
Bryce
On Tue, Apr 17, 2007 at 08:01:32AM -0700, Bryce Harrington wrote:
With the markers done as <def>s, there is really only a single marker element, that is kept in the "definitions" (<def>) section of the document, and it is "referenced" into each place it's needed. Thus, if you update the marker's style, shape, etc., ALL instances of the marker are changed the same way. Markers also have special capabilities (like auto-aligning to the path) compared with other <def> items such as gradients or symbols.
Maybe I wasn't clear, or maybe I'm not understanding. Made-up svg follows.
Sorry, I'm an idiot, I had assumed that markers were defined like symbols and that you had to reference them like xlink:href. I see now that it is stored seperately and referenced in the style property.
Sorry for wasting your time.
Jeff
I have some questions.
I'm not familiar with graphic design.
I have a jpg image which was supposed to be used to do some printing on some header bags.
Turns out I need a vector file.
How do I convert the jpg in to a vector file so they can use it to make some plate for printing purposes?
Will the vector file have all the shadows and what not of the jpg file?
Thanks,
Bret
On Tue, Apr 17, 2007 at 03:20:41PM -0700, Bret Kumler wrote:
I have some questions.
I'm not familiar with graphic design.
I have a jpg image which was supposed to be used to do some printing on some header bags.
Turns out I need a vector file.
How do I convert the jpg in to a vector file so they can use it to make some plate for printing purposes?
Will the vector file have all the shadows and what not of the jpg file?
Generally converting from a JPG to a vector file is pretty difficult.
However, Inkscape has a 'trace bitmap' functionality that can help in achieving this. Use File > Import to load the JPG, then select it and do Path > Trace Bitmap.
You may need to do a bit of manual touchups to get the vector really sharp and crisp. You may find the 'Path > Simplify' command useful here.
If the logo you're tracing is especially complex, or if the JPG is really poor quality, you may find it easier to just manually trace it. Use File > Import to load the logo, put it on a layer by itself and lock it, then draw over the top of it until you get something that looks right. Then delete the original logo jpg.
Good luck, Bryce
On Tue, Apr 17, 2007 at 06:10:46PM -0400, Jeffrey Brent McBeth wrote:
On Tue, Apr 17, 2007 at 08:01:32AM -0700, Bryce Harrington wrote:
With the markers done as <def>s, there is really only a single marker element, that is kept in the "definitions" (<def>) section of the document, and it is "referenced" into each place it's needed. Thus, if you update the marker's style, shape, etc., ALL instances of the marker are changed the same way. Markers also have special capabilities (like auto-aligning to the path) compared with other <def> items such as gradients or symbols.
Maybe I wasn't clear, or maybe I'm not understanding. Made-up svg follows.
Sorry, I'm an idiot, I had assumed that markers were defined like symbols and that you had to reference them like xlink:href. I see now that it is stored seperately and referenced in the style property.
Yeah, it's kind of an odd sort of thing. We definitely could/should be making better use of the marker system since it has a lot of unique characteristics, there just hasn't been that much work in this area.
I think part of the reason is that markers are not things that are typically used in artistic drawings; they're more for technical drawings, so it's a smaller cadre of us that'll be caring for these kinds of features.
Sorry for wasting your time.
Don't be sorry at all! I love the upsurge in interest in this. This is something I've been wanting to work on improving for a long long time, but just haven't had the time. But I might have a bit of time over the next week or so, so who knows.
Bryce
Thanks for the input.
I'll give it a shot.
-----Original Message----- From: inkscape-user-bounces@lists.sourceforge.net [mailto:inkscape-user-bounces@lists.sourceforge.net] On Behalf Of Bryce Harrington Sent: Tuesday, April 17, 2007 4:22 PM To: Inkscape User Community Subject: Re: [Inkscape-user] Outline markers (arrow heads) and colour
On Tue, Apr 17, 2007 at 06:10:46PM -0400, Jeffrey Brent McBeth wrote:
On Tue, Apr 17, 2007 at 08:01:32AM -0700, Bryce Harrington wrote:
With the markers done as <def>s, there is really only a single marker element, that is kept in the "definitions" (<def>) section of the document, and it is "referenced" into each place it's needed. Thus, if you update the marker's style, shape, etc., ALL instances of the marker are changed the same way. Markers also have special capabilities (like auto-aligning to the path) compared with other <def> items such as gradients or symbols.
Maybe I wasn't clear, or maybe I'm not understanding. Made-up svg follows.
Sorry, I'm an idiot, I had assumed that markers were defined like symbols and that you had to reference them like xlink:href. I see now that it is stored seperately and referenced in the style property.
Yeah, it's kind of an odd sort of thing. We definitely could/should be making better use of the marker system since it has a lot of unique characteristics, there just hasn't been that much work in this area.
I think part of the reason is that markers are not things that are typically used in artistic drawings; they're more for technical drawings, so it's a smaller cadre of us that'll be caring for these kinds of features.
Sorry for wasting your time.
Don't be sorry at all! I love the upsurge in interest in this. This is something I've been wanting to work on improving for a long long time, but just haven't had the time. But I might have a bit of time over the next week or so, so who knows.
Bryce
------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Inkscape-user mailing list Inkscape-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-user
Jeffrey Brent McBeth wrote:
This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
Inkscape-user mailing list Inkscape-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-user
Weird I don't see your replies Jeffrey, it seems they're attached as files to your messages. Is something wrong with my Usenet client (Outlook Express) ?
On Tue, May 15, 2007 at 07:06:35PM +0200, Jean-Marc Molina wrote:
Weird I don't see your replies Jeffrey, it seems they're attached as files to your messages. Is something wrong with my Usenet client (Outlook Express) ?
Yes. Outlook doesn't understand MIME multipart messages on newsgroups. Jeffrey, like most good netizens these days, PGP signs his messages so you know the messages were really written by him. PGP signatures come as a separate MIME attachment.
You might try subscribing to the original inkscape-user mailing list rather than reading the newsgroup, or better yet, use a different mail and news client.
Daniel Hulme wrote:
Yes. Outlook doesn't understand MIME multipart messages on newsgroups. Jeffrey, like most good netizens these days, PGP signs his messages so you know the messages were really written by him. PGP signatures come as a separate MIME attachment.
You might try subscribing to the original inkscape-user mailing list rather than reading the newsgroup, or better yet, use a different mail and news client.
Maybe it's time for me to switch... to Mozilla Firebird ? Last time I tested it it was as... hum... how to put it... as Express as Outlook :P
actually it thunderbird but who's keeping score anyway.
On 5/16/07, heathenx <heathenx@...155...> wrote:
Jean-Marc Molina wrote the following on 5/16/2007 10:45 AM:
Maybe it's time for me to switch... to Mozilla Firebird ?
ha ha. duh! it's thunderfox not firebird.
heathenx
This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Inkscape-user mailing list Inkscape-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-user
Bryce Harrington wrote:
Yep, this unfortunately is an area where the SVG spec had let us down, as it didn't really describe how to handle this (seemingly common) situation until SVG 1.2 (which iirc is still not finalized). So, we can implement it the way they describe, although it's a tad complicated and subject to change. I haven't done much work on this myself, but I'd be happy to share my notes with anyone that'd like to take a shot at coding on it.
Has an issue been filled yet ? The simplest solution would be to link shape and marker colors but we could also as a color selector to define marker color, after all it's already available for the fill and shape colors so...
On the subject of the arrow-colour, I'm not sure if it was covered in the thread, and it seems quite technical, but if you colour an arrow (via that script) and then view the SVG in firefox (1.5), the arrow is missing.
/d
participants (9)
-
Aaron Elmquist
-
Bret Kumler
-
Bryce Harrington
-
Daniel Hulme
-
Donn
-
heathenx
-
Jean-Marc Molina
-
Jeffrey Brent McBeth
-
jiho