Hi, I'm working with Inkscape to make some illustrations and noticed some little problem. When I import a png file it losses detail and looks blurred, I attach and image so you see what I'm talking about. Inkscape is a great program and I like it more every time I use it. That's why I want to learn to produce great work with it. Please if anyone knows what can I do to avoid this inconvenience let me know. Tnx.
Facundo
Facundo Casco wrote:
Hi, I'm working with Inkscape to make some illustrations and noticed some little problem. When I import a png file it losses detail and looks blurred, I attach and image so you see what I'm talking about. Inkscape is a great program and I like it more every time I use it. That's why I want to learn to produce great work with it. Please if anyone knows what can I do to avoid this inconvenience let me know. Tnx.
I believe that the problem you're experiencing is that Inkscape is anti-aliasing your exported png. Unfortunately there is no control to turn AA off in our renderer.
The easiest solution that I personally could think of is to get everything setup how you want in inkscape, then hide/delete the image in inkscape, and export the remaining objects with a transparent canvas. Then you could open both the exported png (from inkscape) and the original image in an image editor such as Gimp and composite them back together there. It's a bit of a pain, but it's easiest way I can think to do it with the results you desire.
Anyone else have suggestions?
-Josh
I think this came up in a different thread a couple of weeks ago. You want 1:1 pixel output.
Someone said:
After you import your bitmap, go into the "Document Properties..." dialog and select "Fit Page to Selection".
I think this assumes the bits you add in inkscape are entirely within the bounds of the imported image. Maybe.
Anyway the trick is to export at a resolution such that the exported image has the same pixel width/height it did originally.
Cheers -Terry
On Wed, 20 Jun 2007, Facundo Casco wrote:
Hi, I'm working with Inkscape to make some illustrations and noticed some little problem. When I import a png file it losses detail and looks blurred, I attach and image so you see what I'm talking about. Inkscape is a great program and I like it more every time I use it. That's why I want to learn to produce great work with it. Please if anyone knows what can I do to avoid this inconvenience let me know. Tnx.
Facundo
-- =,=
I just tried my own suggestion and I don't think it completely solves your problem, although it does improve the situation. Basically import your image, don't resize it, then whatever you export, export it at the same dpi setting your original image had. Which I think was 96 dpi in the example you gave.
You might be able to get a better result by blowing up your image without any interpolation, so your pixels are big uniform squares say 4x4 real pixels, importing that, and then exporting at 4 times the dpi of the original image, but I haven't tried that.
Cheers -Terry
On Wed, 20 Jun 2007, Terry Brown wrote:
I think this came up in a different thread a couple of weeks ago. You want 1:1 pixel output.
Someone said:
After you import your bitmap, go into the "Document Properties..." dialog and select "Fit Page to Selection".
I think this assumes the bits you add in inkscape are entirely within the bounds of the imported image. Maybe.
Anyway the trick is to export at a resolution such that the exported image has the same pixel width/height it did originally.
Cheers -Terry
On Wed, 20 Jun 2007, Facundo Casco wrote:
Hi, I'm working with Inkscape to make some illustrations and noticed some little problem. When I import a png file it losses detail and looks blurred, I attach and image so you see what I'm talking about. Inkscape is a great program and I like it more every time I use it. That's why I want to learn to produce great work with it. Please if anyone knows what can I do to avoid this inconvenience let me know. Tnx.
Facundo
-- =,=
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
I haven't seen the exported bitmap yet, the image was a screenshot from Inkscape running on my machine (Win2k) The image imported is not resized within Inkscape, I cut it to the pixel size I want it to be in Inkscape before importing it. That screenshot is with a 1:1 zoom level. It would be nice if Inkscape had some kind of option, maybe in the image properties dialog, to tweak anti-aliasing. It would be a usefull feature to add to text too.
Thanks for your replys
On 6/20/07, Terry Brown <terry_n_brown@...12...> wrote:
I just tried my own suggestion and I don't think it completely solves your problem, although it does improve the situation. Basically import your image, don't resize it, then whatever you export, export it at the same dpi setting your original image had. Which I think was 96 dpi in the example you gave.
You might be able to get a better result by blowing up your image without any interpolation, so your pixels are big uniform squares say 4x4 real pixels, importing that, and then exporting at 4 times the dpi of the original image, but I haven't tried that.
Cheers -Terry
On Wed, 20 Jun 2007, Terry Brown wrote:
I think this came up in a different thread a couple of weeks ago. You want 1:1 pixel output.
Someone said:
After you import your bitmap, go into the "Document Properties..." dialog and select "Fit Page to Selection".
I think this assumes the bits you add in inkscape are entirely within the bounds of the imported image. Maybe.
Anyway the trick is to export at a resolution such that the exported image has the same pixel width/height it did originally.
Cheers -Terry
On Wed, 20 Jun 2007, Facundo Casco wrote:
Hi, I'm working with Inkscape to make some illustrations and noticed some little problem. When I import a png file it losses detail and looks blurred, I attach and image so you see what I'm talking about. Inkscape is a great program and I like it more every time I use it. That's why I want to learn to produce great work with it. Please if anyone knows what can I do to avoid this inconvenience let me know. Tnx.
Facundo
-- =,=
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
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
So it is AA then...
We aren't going to be adding an option any time soon that I know of. The plan is to switch our renderer to Cairo when they patch a few bugs we need fixed. Unfortunately Cairo doesn't have a non-AA rendering mode either, so someone would have to implement that for us to take advantage of it (and I'm pretty sure non of the core-devs here have a desire to do that). If you can code or want to try and persuade, it may be best to hit up Cairo instead to future-proof things.
-Josh
Facundo Casco wrote:
I haven't seen the exported bitmap yet, the image was a screenshot from Inkscape running on my machine (Win2k) The image imported is not resized within Inkscape, I cut it to the pixel size I want it to be in Inkscape before importing it. That screenshot is with a 1:1 zoom level. It would be nice if Inkscape had some kind of option, maybe in the image properties dialog, to tweak anti-aliasing. It would be a usefull feature to add to text too.
Thanks for your replys
Unfortunately I don't know have the knowledge to do it myself and it's really sad to hear nobody cares about this issue because it really degrades the final work. The images and the text doesn't look good and it really would help to be able to tweak antialiasing parameters for these particular objects. Maybe I'm mistaken but I think most of the work people does with Inkscape ends up as bitmaps; SVG is a nice format to work with but not well supported. Is it really that hard to fix this by letting the user set parameters for antialiasing or is that everyone works around it somehow? I mean, one of the few things I'd like to improve in Inkscape is the quality of the exported text, especially at small font sizes it looks really blurrred.
On 6/20/07, Joshua A. Andler <joshua@...233...> wrote:
So it is AA then...
We aren't going to be adding an option any time soon that I know of. The plan is to switch our renderer to Cairo when they patch a few bugs we need fixed. Unfortunately Cairo doesn't have a non-AA rendering mode either, so someone would have to implement that for us to take advantage of it (and I'm pretty sure non of the core-devs here have a desire to do that). If you can code or want to try and persuade, it may be best to hit up Cairo instead to future-proof things.
-Josh
Facundo Casco wrote:
I haven't seen the exported bitmap yet, the image was a screenshot from Inkscape running on my machine (Win2k) The image imported is not resized within Inkscape, I cut it to the pixel size I want it to be in Inkscape before importing it. That screenshot is with a 1:1 zoom level. It would be nice if Inkscape had some kind of option, maybe in the image properties dialog, to tweak anti-aliasing. It would be a usefull feature to add to text too.
Thanks for your replys
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
If it was that easy to fix, someone would have by now. I agree that AA isn't always optimal, but it's deep down in our renderer code, which is why I recommend requesting from the cairo guys for them to allow their renderer to do it... then we could enable that feature when we switch over.
-Josh
Facundo Casco wrote:
Unfortunately I don't know have the knowledge to do it myself and it's really sad to hear nobody cares about this issue because it really degrades the final work. The images and the text doesn't look good and it really would help to be able to tweak antialiasing parameters for these particular objects. Maybe I'm mistaken but I think most of the work people does with Inkscape ends up as bitmaps; SVG is a nice format to work with but not well supported. Is it really that hard to fix this by letting the user set parameters for antialiasing or is that everyone works around it somehow? I mean, one of the few things I'd like to improve in Inkscape is the quality of the exported text, especially at small font sizes it looks really blurrred.
On 6/20/07, Joshua A. Andler <joshua@...233...> wrote:
So it is AA then...
We aren't going to be adding an option any time soon that I know of. The plan is to switch our renderer to Cairo when they patch a few bugs we need fixed. Unfortunately Cairo doesn't have a non-AA rendering mode either, so someone would have to implement that for us to take advantage of it (and I'm pretty sure non of the core-devs here have a desire to do that). If you can code or want to try and persuade, it may be best to hit up Cairo instead to future-proof things.
-Josh
Facundo Casco wrote:
I haven't seen the exported bitmap yet, the image was a screenshot from Inkscape running on my machine (Win2k) The image imported is not resized within Inkscape, I cut it to the pixel size I want it to be in Inkscape before importing it. That screenshot is with a 1:1 zoom level. It would be nice if Inkscape had some kind of option, maybe in the image properties dialog, to tweak anti-aliasing. It would be a usefull feature to add to text too.
Thanks for your replys
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
Actually, I've seen here [1] that Cairo has some options for antialias on font rendering. Maybe this could be linked to some interface element in Inkscape to allow user control of these parameters with some default values that avoid antialias for small font sizes.
[1] http://cairographics.org/documentation/cairomm/reference/classCairo_1_1FontO...
On 6/20/07, Facundo Casco <fcasco@...155...> wrote:
Unfortunately I don't know have the knowledge to do it myself and it's really sad to hear nobody cares about this issue because it really degrades the final work. The images and the text doesn't look good and it really would help to be able to tweak antialiasing parameters for these particular objects. Maybe I'm mistaken but I think most of the work people does with Inkscape ends up as bitmaps; SVG is a nice format to work with but not well supported. Is it really that hard to fix this by letting the user set parameters for antialiasing or is that everyone works around it somehow? I mean, one of the few things I'd like to improve in Inkscape is the quality of the exported text, especially at small font sizes it looks really blurrred.
On 6/20/07, Joshua A. Andler <joshua@...233...> wrote:
So it is AA then...
We aren't going to be adding an option any time soon that I know of. The plan is to switch our renderer to Cairo when they patch a few bugs we need fixed. Unfortunately Cairo doesn't have a non-AA rendering mode either, so someone would have to implement that for us to take advantage of it (and I'm pretty sure non of the core-devs here have a desire to do that). If you can code or want to try and persuade, it may be best to hit up Cairo instead to future-proof things.
-Josh
Facundo Casco wrote:
I haven't seen the exported bitmap yet, the image was a screenshot from Inkscape running on my machine (Win2k) The image imported is not resized within Inkscape, I cut it to the pixel size I want it to be in Inkscape before importing it. That screenshot is with a 1:1 zoom level. It would be nice if Inkscape had some kind of option, maybe in the image properties dialog, to tweak anti-aliasing. It would be a usefull feature to add to text too.
Thanks for your replys
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
-- =,=
Well, sometimes I'm glad when I'm wrong... :)
I just talked to Carl Worth from Cairo and he said per object AA can be turned off... cairo_set_antialias (cr, CAIRO_ANTIALIAS_NONE)
So, when we're finally able to switch to Cairo (which in talking to Carl, it's not likely that the fixes we need will be in place before our next release), it will doable for us to make it optional. Unfortunately, that's where it falls back on someone having the desire to implement it. Either way, it sounds like it will be a while before it would possibly happen... unless someone wants to surprise us. :)
-Josh
Facundo Casco wrote:
Actually, I've seen here [1] that Cairo has some options for antialias on font rendering. Maybe this could be linked to some interface element in Inkscape to allow user control of these parameters with some default values that avoid antialias for small font sizes.
[1] http://cairographics.org/documentation/cairomm/reference/classCairo_1_1FontO...
On 6/20/07, Facundo Casco <fcasco@...155...> wrote:
Unfortunately I don't know have the knowledge to do it myself and it's really sad to hear nobody cares about this issue because it really degrades the final work. The images and the text doesn't look good and it really would help to be able to tweak antialiasing parameters for these particular objects. Maybe I'm mistaken but I think most of the work people does with Inkscape ends up as bitmaps; SVG is a nice format to work with but not well supported. Is it really that hard to fix this by letting the user set parameters for antialiasing or is that everyone works around it somehow? I mean, one of the few things I'd like to improve in Inkscape is the quality of the exported text, especially at small font sizes it looks really blurrred.
On 6/20/07, Joshua A. Andler <joshua@...233...> wrote:
So it is AA then...
We aren't going to be adding an option any time soon that I know of. The plan is to switch our renderer to Cairo when they patch a few bugs we need fixed. Unfortunately Cairo doesn't have a non-AA rendering mode either, so someone would have to implement that for us to take advantage of it (and I'm pretty sure non of the core-devs here have a desire to do that). If you can code or want to try and persuade, it may be best to hit up Cairo instead to future-proof things.
-Josh
Facundo Casco wrote:
I haven't seen the exported bitmap yet, the image was a screenshot from Inkscape running on my machine (Win2k) The image imported is not resized within Inkscape, I cut it to the pixel size I want it to be in Inkscape before importing it. That screenshot is with a 1:1 zoom level. It would be nice if Inkscape had some kind of option, maybe in the image properties dialog, to tweak anti-aliasing. It would be a usefull feature to add to text too.
Thanks for your replys
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
-- =,=
2007. 06. 20, szerda keltezéssel 15.51-kor Joshua A. Andler ezt írta:
So it is AA then...
We aren't going to be adding an option any time soon that I know of. The plan is to switch our renderer to Cairo when they patch a few bugs we need fixed. Unfortunately Cairo doesn't have a non-AA rendering mode either, so someone would have to implement that for us to take advantage of it (and I'm pretty sure non of the core-devs here have a desire to do that). If you can code or want to try and persuade, it may be best to hit up Cairo instead to future-proof things.
and why are the images (bitmaps) antialiased in the first place?
There is no situation where AA should apply to a bitmap image, am I wrong?
Ok, the renderer can AA the whole canvas or nothing. And the bitmap cant be exluded from it, but its rather a bug then a feature.
participants (4)
-
Facundo Casco
-
Joshua A. Andler
-
Khiraly
-
Terry Brown