Re: [Inkscape-user] PNG Export Format
by Brent B
Thanks, Bryce.
I have been using GIMP to attempt to export (convert) my image to a
256-color format. GIMP calls this "indexing" the image. It gives fairly
good results, but the image edges are somewhat jagged (aliased) compared to
the original, pre-export image.
So far, GIMP has given the best results with its color indexing schemes and
algorithms.
Thanks for your help.
I love InkScape and hope that the developers can incorporate an 8-bit PNG
feature in future releases.
Regards,
Brent
_________________________________________________________________
Check out the coupons and bargains on MSN Offers! http://youroffers.msn.com
19 years, 4 months
PNG Export Format
by Brent B
Hello.
Does InkScape support exporting to a PNG 8-bit file format (e.g. 256
colors)? If not, how can I save my SVG graphic to an 8-bit PNG file? I
need this, since Internet Explorer cannot handle the alpha channel
(transparency). I have already tried the utility pngquant, with poor
results.
I would appreciate any help from anyone.
Thanks,
Brent
_________________________________________________________________
Stop worrying about overloading your inbox - get MSN Hotmail Extra Storage!
http://join.msn.com/?pgmarket=en-us&page=hotmail/es2&ST=1/go/onm00200362a...
19 years, 4 months
RE: [Inkscape-user] Snapping to the Grid
by Landon Blake
Bryce,
This may be a foolish question...but here goes:
If you want to move the 2 objects that are snapped together couldn't you just use Inkscapes "Group Objects" tool. I haven't tried it, but is the "glued state" of grouped objects saved and reloaded?
I was just concerned with object snapping so I could precisely attach graphic objects to other graphic objects. I didn't think about maintaining the link.
Thanks for your thoughts.
(I'll have to see if I can talk my wife into some time for that C programming stuff. I don't know though, she's already jealous about the time I spend with Lady J. :])
-----Original Message-----
From: Bryce Harrington [mailto:bryce@...69...]
Sent: Thursday, May 06, 2004 12:34 PM
To: inkscape-user(a)lists.sourceforge.net
Subject: RE: [Inkscape-user] Snapping to the Grid
On Thu, 6 May 2004, Landon Blake wrote:
> Let me check out some C code and see what I think. I definitley want
> to get involved in Inkscape is ever ported to Java.
Learning new languages is good for ya. ;-)
> I'm curious what issues there would be with the relationship between SVG and snapping node-to-node in Inkscape.
> If two objects were snapped together at their nodes, wouldn't they just be stored in SVG with the same coordinate for the
> common node? Would anything else really need to be defined? I had imagined it working very similar to snapping nodes to the grid.
Well, in object-to-object linking, the linkage needs to be permanent and
stored with the document. I guess this is a step beyond just snapping,
in that once the two objects are linked, moving one object needs to
cause the other one to move. For example, if you link a line to a box,
and then move the box, the connected endpoint of the line needs to move.
This implies that some sort of information would need to be stored in
the document, so if you save the file and reload it, the 'connectivity'
information is still there.
> Example: Line
>
> <SnapNode>
> <Type>Midpoint</Type>
> <YCoordinate>24.56324</YCoordinate>
> <XCoordinate>10.32564</XCoordinate>
> </SnapNode>
> This is just a rough idea of how it might look in XML. I imagine the
> SnapNode Element as a child element of the shape or path element. The
> Type Element might enable users in Inkscape to shut the different
> types of snaps on and off. (For example, if the user only wanted to
> snap to endpoints.) In the above scenario a simple one segment path or
> line would have 3 SnapNode Elements: 2 endpoints and 1 midpoint.
I did a quick google and found this bit on SVG and connection points:
http://www.infoloom.com/gcaconfs/WEB/granada99/her.HTM
Scroll down to 'Automatic Connections'. It shows an example of
connecting two shapes. I'm not sure if the syntax they're using is
valid SVG or if it's particular to the application (drawml), though.
Bryce
-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Inkscape-user mailing list
Inkscape-user(a)lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/inkscape-user
19 years, 4 months
RE: [Inkscape-user] Snapping to the Grid
by Landon Blake
Bryce,
Let me check out some C code and see what I think. I definitley want to get involved in Inkscape is ever ported to Java.
I'm curious what issues there would be with the relationship between SVG and snapping node-to-node in Inkscape.
If two objects were snapped together at their nodes, wouldn't they just be stored in SVG with the same coordinate for the
common node? Would anything else really need to be defined? I had imagined it working very similar to snapping nodes to the grid.
Most CAD programs allow you to snap to endpoints, midpoints, intersection points, and even to the center of circular or eliptical objects and to points perpendicular to a line. I'm no expert on SVG, but if Inkscape needed to store information about the snap points of an object it might look like this in XML code:
Example: Line
<SnapNode>
<Type>Midpoint</Type>
<YCoordinate>24.56324</YCoordinate>
<XCoordinate>10.32564</XCoordinate>
</SnapNode>
This is just a rough idea of how it might look in XML. I imagine the SnapNode Element as a child element of the shape or path element. The Type Element might enable users in Inkscape to shut the different types of snaps on and off. (For example, if the user only wanted to snap to endpoints.) In the above scenario a simple one segment path or line would have 3 SnapNode Elements: 2 endpoints and 1 midpoint.
-----Original Message-----
From: Bryce Harrington [mailto:bryce@...69...]
Sent: Thursday, May 06, 2004 11:23 AM
To: inkscape-user(a)lists.sourceforge.net
Subject: RE: [Inkscape-user] Snapping to the Grid
Node-to-node snapping is in the roadmap for the 0.46 release. That's
quite a ways off in the future, though (estimate a bit over a year), but
if you or someone else with an interest in this wants to start working
on it, that'd help get it in sooner. (We've had several features that
got implemented ahead of schedule due to new developers getting
involved, and so we definitely encourage it.)
Note that while work is on-going to C++-ify the codebase, the vast bulk
is still written in a fairly general C style. If you've done Java and
understand C pointers, you'd probably be able to pick up the codebase
without much more difficulty than anyone else has had. The main
challenges tend to be that there isn't very much code documentation and
that there's so much code it can be hard to find where to start
working.
But anyway, yeah, object-to-object snapping and snap points are
*definitely* features that a lot of us want in there, especially now
that we've got markers to a point of usability. I don't know if
anyone's defined *how* they should work or planned out how to implement
them; it isn't part of the SVG spec so to a degree we're a bit on our
own with this. I can give some more suggestions if you're interested in
working on it.
Bryce
On Thu, 6 May 2004, Landon Blake wrote:
> Bryce,
>
> Thanks a lot for the suggestions. I'll give them a try. Is there any plans to enable node-to-node snapping in future versions of Inkscape? I would love to help with the design, but I only know a little Java, and not any C++. I think this would be a very helpful feature. It would also be great if you could specify coordinates for each node of a shape/path or line. Although I know Inkscape is not a CAD program, these features would allow some more "precise" drawing.
>
> Thanks Again,
>
> Landon
>
> -----Original Message-----
> From: Bryce Harrington [mailto:bryce@...69...]
> Sent: Thursday, May 06, 2004 9:53 AM
> To: inkscape-user(a)lists.sourceforge.net
> Subject: Re: [Inkscape-user] Snapping to the Grid
>
>
> Okay, I've played around with it at these settings and I think I see
> what you're experiencing. The snapping does seem to be working, but you
> may need to play with the settings.
>
> First, try zooming in a bunch. You'll notice that at the most
> zoomed-out level, it doesn't display every grid line but rather every
> tenth or whatever, so sometimes it may be snapping but you can't tell
> since you don't see the lines its snapping to. I zoomed in about 2000%
> to check that things actually were snapping. So you may want to try a
> larger X/Y spacing.
>
> Next, check if your Snap units are in px. If so, then note that this is
> screen coordinates (I think), so if you have it set to <1, this
> essentially disables snapping since it'll snap to any pixel on your
> screen. I usually like to set it to 5 for 'loose' snapping, or 10-20
> for more aggressive snaps.
>
> Good luck,
> Bryce
>
> On Thu, 6 May 2004, Landon Blake wrote:
> > Inkscape Users,
> >
> > I'm not sure if this went through the first time, so I thought I would try again. Please accept my apologies if this is a duplicate post. I'm having some trouble using the "snap to grid" feature. I checked "snap to grid" in the document options dialog, and set my grid spacing to 0.25 inch. My snap distance was set to 0.20. I played with some different snap distances, but I can't seem to get the nodes of any paths or shapes to snap to the grid. Any suggestions? Also, is there any way to specify the coordinates of a node?
> >
> > Thanks,
> >
> > Landon Blake
> >
> >
> >
> >
> >
> > The Sunburned Surveyor
> >
> > Redefined Horizons
> >
> > "Defining New Horizons in Open Source Geospatial Software."
> >
> >
> >
> >
> >
> >
> > ---------------------------------
> > Do you Yahoo!?
> > Win a $20,000 Care
-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Inkscape-user mailing list
Inkscape-user(a)lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/inkscape-user
19 years, 4 months
RE: [Inkscape-user] Snapping to the Grid
by Landon Blake
Bryce,
Thanks a lot for the suggestions. I'll give them a try. Is there any plans to enable node-to-node snapping in future versions of Inkscape? I would love to help with the design, but I only know a little Java, and not any C++. I think this would be a very helpful feature. It would also be great if you could specify coordinates for each node of a shape/path or line. Although I know Inkscape is not a CAD program, these features would allow some more "precise" drawing.
Thanks Again,
Landon
-----Original Message-----
From: Bryce Harrington [mailto:bryce@...69...]
Sent: Thursday, May 06, 2004 9:53 AM
To: inkscape-user(a)lists.sourceforge.net
Subject: Re: [Inkscape-user] Snapping to the Grid
Okay, I've played around with it at these settings and I think I see
what you're experiencing. The snapping does seem to be working, but you
may need to play with the settings.
First, try zooming in a bunch. You'll notice that at the most
zoomed-out level, it doesn't display every grid line but rather every
tenth or whatever, so sometimes it may be snapping but you can't tell
since you don't see the lines its snapping to. I zoomed in about 2000%
to check that things actually were snapping. So you may want to try a
larger X/Y spacing.
Next, check if your Snap units are in px. If so, then note that this is
screen coordinates (I think), so if you have it set to <1, this
essentially disables snapping since it'll snap to any pixel on your
screen. I usually like to set it to 5 for 'loose' snapping, or 10-20
for more aggressive snaps.
Good luck,
Bryce
On Thu, 6 May 2004, Landon Blake wrote:
> Inkscape Users,
>
> I'm not sure if this went through the first time, so I thought I would try again. Please accept my apologies if this is a duplicate post. I'm having some trouble using the "snap to grid" feature. I checked "snap to grid" in the document options dialog, and set my grid spacing to 0.25 inch. My snap distance was set to 0.20. I played with some different snap distances, but I can't seem to get the nodes of any paths or shapes to snap to the grid. Any suggestions? Also, is there any way to specify the coordinates of a node?
>
> Thanks,
>
> Landon Blake
>
>
>
>
>
> The Sunburned Surveyor
>
> Redefined Horizons
>
> "Defining New Horizons in Open Source Geospatial Software."
>
>
>
>
>
>
> ---------------------------------
> Do you Yahoo!?
> Win a $20,000 Career Makeover at Yahoo! HotJobs
-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Inkscape-user mailing list
Inkscape-user(a)lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/inkscape-user
19 years, 4 months
Snapping to the Grid
by Landon Blake
Inkscape Users,
I'm not sure if this went through the first time, so I thought I would try again. Please accept my apologies if this is a duplicate post. I'm having some trouble using the "snap to grid" feature. I checked "snap to grid" in the document options dialog, and set my grid spacing to 0.25 inch. My snap distance was set to 0.20. I played with some different snap distances, but I can't seem to get the nodes of any paths or shapes to snap to the grid. Any suggestions? Also, is there any way to specify the coordinates of a node?
Thanks,
Landon Blake
The Sunburned Surveyor
Redefined Horizons
"Defining New Horizons in Open Source Geospatial Software."
---------------------------------
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs
19 years, 4 months
Re:./configure problem
by salahuddin pasha
nope it is not working
---------------------------------------------------------
checking for gtk+-2.0 >= 2.0.0 libart-2.0 >= 2.3.10
libxml-2.0 >= 2-2.4.24 sigc++-1.2... Package sigc++-1.2
was not found in the pkg-config search path.
Perhaps you should add the directory containing `sigc+
+-1.2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'sigc++-1.2' found
configure: error: Library requirements (gtk+-2.0 >= 2.0.0
libart-2.0 >= 2.3.10 libxml-2.0 >= 2-2.4.24 sigc++-1.2)
not met; consider adjusting the PKG_CONFIG_PATH
environment variable if your libraries are in a
nonstandard prefix so pkg-config can find them.
------------------------------------------------------
what can i do
--
_____________________________________________________________
Web-based SMS services available at http://www.operamail.com.
>From your mailbox to local or overseas cell phones.
Powered by Outblaze
19 years, 4 months
Open svg in new window after starting
by Aewyn Vienna
Hello,
After starting inkspace, when I open a recent draw, it opens a new window and
the first window remains empty. It is a bit uncomfortable (but, it is
possible to exist a good reason for it).
When I open an svg from a file manager it doesnot happens.
But I am just an old style kid, starting the programs first. :)
Regards and thanks for inkspace:
Aewyn
19 years, 4 months
Moving objects in keys.svg
by Aewyn Vienna
Hello,
(I know, it is enough from me for today, but)
1., open keys.svg, select all, move all by hand (or with transf. dialog) and
buttons fly away from texts.
2., just a little improvement (perhaps just for me): after selecting zoom
tool, it would be very comfortable to unzoom with right mouse button.
(I know there is a shift key for it, but even so...)
Bye, Aewyn
19 years, 4 months