Aligning blurred objects to other objects?

Post questions on how to use or achieve an effect in Inkscape.
User avatar
Jitaroo
Posts: 3
Joined: Thu Sep 23, 2010 6:19 am
Location: UK

Aligning blurred objects to other objects?

Postby Jitaroo » Thu Sep 23, 2010 10:30 am

Any tips for aligning objects, that have been blurred, correctly to their non-blurred counterparts without having to go through the painful process of switching from one program to another?

Edit: 'Kay, since no one was realizing what was wrong with the stars at first.
Image
You can (Hopefully) see that the Blurred object in the background (image on the right) has misaligned somewhere in the process of transferring from Inkscape (Image on the left, saved as a SVG to take it over.) to GIMP.


Old: This (Screenshot taken):
Image removed, linked to orgininal.
Transforms into this (GIMP Saved from SVG to PNG, however, misaligned before saving. Sorry about largeness, specifically directed to the stars at the top, ignore the rest of the layout there. :3):
Image removed, linked to original.
As you can see they've misaligned themselves somewhere in the process of going from one program to another. I have absolutely no clue what could be causing it.
Last edited by Jitaroo on Sat Sep 25, 2010 12:11 am, edited 1 time in total.

User avatar
prkos
Posts: 1625
Joined: Tue Nov 06, 2007 8:45 am
Location: Croatia

Re: Aligning blurred objects to other objects?

Postby prkos » Thu Sep 23, 2010 12:57 pm

What exactly is wrongly aligned here? What are you trying to do with GIMP, why not make everything in Inkscape?
just hand over the chocolate and nobody gets hurt

Inkscape Manual on Floss
Inkscape FAQ
very comprehensive Inkscape guide
Inkscape 0.48 Illustrator's Cookbook - 109 recipes to learn and explore Inkscape - with SVG examples to download

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Aligning blurred objects to other objects?

Postby brynn » Thu Sep 23, 2010 6:01 pm

Well, each sky seems to have one star that the other doesn't. That's all I can see different. Maybe you accidentally uploaded the wrong file? Or else please point us to the place where you can't align something

ivan louette
Posts: 215
Joined: Thu Aug 21, 2008 4:08 am
Location: Belgium

Re: Aligning blurred objects to other objects?

Postby ivan louette » Fri Sep 24, 2010 1:48 am

A tip : group with itself any object before applying a filter if you want align it with an unfiltered object. Then Ctrl+click your filtered grouped object to select the underlying unfiltered one, keep it selected and Shift+click any other unfiltered object you want to align with it.

ivan

User avatar
Jitaroo
Posts: 3
Joined: Thu Sep 23, 2010 6:19 am
Location: UK

Re: Aligning blurred objects to other objects?

Postby Jitaroo » Sat Sep 25, 2010 12:54 am

@prkos: The stars, edited first post for a better explanation. I usually take it over to GIMP to see if I'd like to add anything in that Inkscape may or may not do. (Been using GIMP longer, I'm just more accustomed to it.)

@brynn: No no. The first was done previous as a test, then went on to doing more to it and removing a few things, the problem's just the same though. Misalignment of blurs on the stars, as in all the stars. Edited the first post with just one of the more prominent stars with the problem and comparsion.

@Ivan: Thank you for the tip, but didn't make any difference. D:

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Aligning blurred objects to other objects?

Postby brynn » Sat Sep 25, 2010 1:10 am

Oh ok, I see what you mean now.
Let's go through the steps you took. You drew the stars in Inkscape. Save as SVG. Open SVG in GIMP.
Is that it? And now you see in GIMP that the blur is off-center?

I don't know of any issues that might cause this. But I'm gonna do a test. What version of GIMP are you using? Well, and also Inkscape. I'll be testing in Inkscape 0.48 and GIMP 2.6, and I'll be back shortly with results.

Edit
Ok, it worked fine for me. But I wonder, in the Render Scalable Vector Graphics dialog, do you show the following (exept for dimensions):
Image
In my test, I did not use paths, only ellipse shapes. Are your stars paths, or star and ellipse shapes? In the Render SVG dialog preview window, how do the stars appear -- as you want, or offset?

I do know that the GIMP's SVG rendering is far inferior to Inkscape's, and it's been my understanding that GIMP's SVG renderer cannot handle bitmap display. And a blur IS a bitmap dispaly, despite the image format SVG. (In Inkscape, blurs are technically filters, and filters are bitmaps designed to work within the vector environment.) I don't know if in recent GIMP versions, perhaps this has improved. But GIMP used to not display things like blurs at all, in an SVG opened in GIMP.

Also another thought. Does your image use layers? If you open an SVG with layers in GIMIP, the layers are lost. Or more precisely, everything is dumped into one layer.

But like prkos, I'm wondering what it is that you need GIMP for? If you plan to use GIMP to edit an SVG image, why not just do it in Inkscape? Or if it's something that Inkscape can't do, why not just use Inkscape File menu > Export Bitmap, which will produce a PNG version of your SVG file, which would be easily edited in GIMP, without restrictions.

Edit #2 -- In Inkscape, did you use Fit Page to Selection?
Last edited by brynn on Sat Sep 25, 2010 2:05 am, edited 1 time in total.
Reason: add more info

User avatar
Jitaroo
Posts: 3
Joined: Thu Sep 23, 2010 6:19 am
Location: UK

Re: Aligning blurred objects to other objects?

Postby Jitaroo » Sat Sep 25, 2010 1:42 am

Yup yup.
- It's three objects layered on top of each other. (In this case, sometimes it's just one non-blurred and a blurred.)
- One star in the middle (Top) is slightly smaller, the last two (Middle and back) are the same size as each other.
-The middle object is not blurred.
-They're all aligned using the alignment tool. (All objects selected, centered both ways.)
-They look fine together, until it's taken over to gimp.
It's not just stars, it's actually any object I try to give a bit of a blurred backing to. (Text, other shapes, lines.)

Er~m. My GIMP is version 2.6.2, Inkscape is 0.48. This has been going on for a while, perhaps since Inkscape 0.46 and whatever versions of GIMP were out at the same time, roughly. Been manually placing whenever the problem occurred, but sometimes it just doesn't align right, even doing that.


Return to “Help with using Inkscape”