RSS/Atom feed Twitter
Site is read-only, email is disabled

SVG import problem

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

15 of 15 messages available
Toggle history

Please log in to manage your subscriptions.

SVG import problem mike510 16 Jan 14:46
  SVG import problem Cristian Secar? 16 Jan 22:13
   One tomato from five Philip Rhoades 16 Jan 23:21
    One tomato from five Chris Mohler 16 Jan 23:29
    One tomato from five Philip Rhoades 16 Jan 23:42
    One tomato from five Owen 16 Jan 23:59
     One tomato from five Michael J. Hammel 17 Jan 00:21
      One tomato from five Philip Rhoades 17 Jan 01:44
    One tomato from five Daniel Hornung 17 Jan 00:06
   SVG import problem mike510 17 Jan 16:32
   SVG import problem mike510 17 Jan 16:37
    SVG import problem Sven Neumann 17 Jan 16:58
  SVG import problem Kevin Cozens 18 Jan 17:33
   SVG import problem Sven Neumann 18 Jan 18:45
    SVG import problem David Gowers 18 Jan 23:38
2009-01-16 14:46:51 UTC (about 16 years ago)
postings
3

SVG import problem

Dear friends,

after I have upgraded Gimp to 2.6.4 (Windows), it stopped to inport SVG files (neither via File -> Open, nor via Paths Dialog - Import path). In the last case it seems to work but no paths are seen in a picture, only in path layers dialog.
The SVG files were the same which I have already rendered in previous version Gimp.
I always get error message tellig that Microsoft Visual C runtime unexpectedly closed file-svg plugin.

Is it just me or does anybody encountered the same situation?

Cristian Secar?
2009-01-16 22:13:11 UTC (about 16 years ago)

SVG import problem

On Fri, 16 Jan 2009 14:46:51 +0100 (CET), mike510 wrote:

after I have upgraded Gimp to 2.6.4 (Windows), it stopped to inport SVG files (neither via File -> Open, nor via Paths Dialog - Import path). In the last case it seems to work but no paths are seen in a picture, only in path layers dialog.

It appears it works fine here.

I have done a small garbage (a few lines) in Inkscape, saved as .svg, the opened in GIMP. My garbage was there, over a transparent background. Both via drag & drop and/or via open dialog.

For the second test I don't know the steps to reproduce.

Cristi

Philip Rhoades
2009-01-16 23:21:33 UTC (about 16 years ago)

One tomato from five

People,

I want to select only the middle tomato and then treat the edges of the single tomato so that the edges are soft like edges of the existing tomatoes on the left and right. I have tried cropping down to one tomato and then various attempts at fixing the edges using smudging and burning etc but the result never looks right - how would the image gurus do it?

Thanks,

Phil.

Chris Mohler
2009-01-16 23:29:18 UTC (about 16 years ago)

One tomato from five

On Sat, Jan 17, 2009 at 4:21 PM, Philip Rhoades wrote:

People,

I want to select only the middle tomato and then treat the edges of the single tomato so that the edges are soft like edges of the existing tomatoes on the left and right. I have tried cropping down to one tomato and then various attempts at fixing the edges using smudging and burning etc but the result never looks right - how would the image gurus do it?

I'd go buy a tomato and shoot it, but that's just me ;)

Chris

Philip Rhoades
2009-01-16 23:42:43 UTC (about 16 years ago)

One tomato from five

Sorry I forgot to point out that I had attached the relevant image . .

Philip Rhoades wrote:

People,

I want to select only the middle tomato and then treat the edges of the single tomato so that the edges are soft like edges of the existing tomatoes on the left and right. I have tried cropping down to one tomato and then various attempts at fixing the edges using smudging and burning etc but the result never looks right - how would the image gurus do it?

Thanks,

Phil.

------------------------------------------------------------------------

------------------------------------------------------------------------

_______________________________________________ Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user

Owen
2009-01-16 23:59:02 UTC (about 16 years ago)

One tomato from five

People,

I want to select only the middle tomato and then treat the edges of the
single tomato so that the edges are soft like edges of the existing tomatoes on the left and right. I have tried cropping down to one tomato and then various attempts at fixing the edges using smudging and
burning etc but the result never looks right - how would the image gurus
do it?

Use the lasso tool and make a rough selection quickmask it
adjust the selection more precisely
un quickmask it
cut it out
past as a new image on a tranparent layer insert a white layer underneath

Then experiment with various tomato selection, selection shrinks etc, and then blur to make the edges soft

You could use the foreground select tool for step one, but I think the lasso is the better option in this case

Owen

Daniel Hornung
2009-01-17 00:06:26 UTC (about 16 years ago)

One tomato from five

On Friday 16 January 2009, Philip Rhoades wrote:

People,

I want to select only the middle tomato and then treat the edges of the single tomato so that the edges are soft like edges of the existing tomatoes on the left and right. I have tried cropping down to one tomato and then various attempts at fixing the edges using smudging and burning etc but the result never looks right - how would the image gurus do it?

Thanks,

Phil.

you could use one of the selection tools. Or ask google for "gimp select object". That gave me the very nice result here: http://www.ephotozine.com/article/How-to-selectively-colour-an-object-in-Gimp

Daniel

Michael J. Hammel
2009-01-17 00:21:56 UTC (about 16 years ago)

One tomato from five

On Sat, 2009-01-17 at 09:59 +1100, Owen wrote:

Use the lasso tool and make a rough selection quickmask it
adjust the selection more precisely
un quickmask it

You might want to feather the selection at this point, to give a soft edge to your cutout.

cut it out
past as a new image on a tranparent layer insert a white layer underneath

Then experiment with various tomato selection, selection shrinks etc, and then blur to make the edges soft

A blur might work. A feathered selection is likely to give a better result over an arbitrary background.

Philip Rhoades
2009-01-17 01:44:22 UTC (about 16 years ago)

One tomato from five

Thanks people!

Michael J. Hammel wrote:

On Sat, 2009-01-17 at 09:59 +1100, Owen wrote:

Use the lasso tool and make a rough selection quickmask it
adjust the selection more precisely
un quickmask it

You might want to feather the selection at this point, to give a soft edge to your cutout.

cut it out
past as a new image on a tranparent layer insert a white layer underneath

Then experiment with various tomato selection, selection shrinks etc, and then blur to make the edges soft

A blur might work. A feathered selection is likely to give a better result over an arbitrary background.

2009-01-17 16:32:01 UTC (about 16 years ago)
postings
3

SVG import problem

On Fri, 16 Jan 2009 14:46:51 +0100 (CET), mike510 wrote:

after I have upgraded Gimp to 2.6.4 (Windows), it stopped to inport SVG files (neither via File -> Open, nor via Paths Dialog - Import path). In the last case it seems to work but no paths are seen in a picture, only in path layers dialog.

It appears it works fine here.

I have done a small garbage (a few lines) in Inkscape, saved as .svg, the opened in GIMP. My garbage was there, over a transparent background. Both via drag & drop and/or via open dialog.

For the second test I don't know the steps to reproduce.

Cristi

2009-01-17 16:37:51 UTC (about 16 years ago)
postings
3

SVG import problem

I have found out that I can open Inkscape examples OK. But my files which were generated bu Gnuplot can not be opened. At the same time Firefox and Inkscape can open them. Previously I was able to open and edit them (I still have some XCF files made out of my SVG ones.) I opened one file in Inkscape, edited it and saved (to exclude possible errors).

On Fri, 16 Jan 2009 14:46:51 +0100 (CET), mike510 wrote:

after I have upgraded Gimp to 2.6.4 (Windows), it stopped to inport SVG files (neither via File -> Open, nor via Paths Dialog - Import path). In the last case it seems to work but no paths are seen in a picture, only in path layers dialog.

It appears it works fine here.

I have done a small garbage (a few lines) in Inkscape, saved as .svg, the opened in GIMP. My garbage was there, over a transparent background. Both via drag & drop and/or via open dialog.

For the second test I don't know the steps to reproduce.

Cristi

Sven Neumann
2009-01-17 16:58:39 UTC (about 16 years ago)

SVG import problem

Hi,

On Sat, 2009-01-17 at 16:37 +0100, mike510 wrote:

I have found out that I can open Inkscape examples OK. But my files which were generated bu Gnuplot can not be opened. At the same time Firefox and Inkscape can open them. Previously I was able to open and edit them (I still have some XCF files made out of my SVG ones.)

Could you perhaps show us such a file that can't be opened? The simpler the file the better. Please try to make the most simplest example file that GIMP can't open. We should be able to figure out what's going wrong then.

Sven

Kevin Cozens
2009-01-18 17:33:35 UTC (about 16 years ago)

SVG import problem

mike510 wrote:

after I have upgraded Gimp to 2.6.4 (Windows), it stopped to inport SVG files (neither via File -> Open, nor via Paths Dialog - Import path). In the last case it seems to work but no paths are seen in a picture, only in path layers dialog.
The SVG files were the same which I have already rendered in previous version Gimp.
I always get error message tellig that Microsoft Visual C runtime unexpectedly closed file-svg plugin.

Is it just me or does anybody encountered the same situation?

I am currently using gnuplot in a current project so I took a quick look at this. I was able to reproduce the problem and discovered the SVG file created by gnuplot won't load in either the 2.4.7 or 2.6.1 versions of GIMP.

The error message is:

Could not open '/part2/home/kcozens/Projects/Arbortronics/USP/src/frontend/test.svg' for reading: Error parsing XML data

The method to reproduce the problem (but not always) is to use gnuplot in interactive mode. Generate a plot (ie. "plot sin(x)") using the default terminal of wxt then set terminal to png, set the output file, and replot.

However, this morning, my saved files that wouldn't load yesterday now load. There may be a more subtle problem caused by some interaction between running gnuplot and GIMP. Further investigation is required.

Sven Neumann
2009-01-18 18:45:50 UTC (about 16 years ago)

SVG import problem

Hi,

On Sun, 2009-01-18 at 11:33 -0500, Kevin Cozens wrote:

The method to reproduce the problem (but not always) is to use gnuplot in interactive mode. Generate a plot (ie. "plot sin(x)") using the default terminal of wxt then set terminal to png, set the output file, and replot.

I think you meant "set the terminal to svg" here. GIMP seems to open the resulting files just fine here. Even importing paths from the SVG works fine.

Sven

David Gowers
2009-01-18 23:38:07 UTC (about 16 years ago)

SVG import problem

Hello,

Has anyone tested this with a more recent version of librsvg? I noticed that in recent releases, rendering of somewhat dodgy/weird paths has been improved. I figure if a newer librsvg works better, then we can reasonably assume that gnuplot is producing dodgy paths.