Thanks ! I was not aware of that ! But then the Save Cairo png format should take account of the background color and this isn't the case.

On the other hand if you have for example a semi-transparent red background color you cannot export an opaque bitmap with a background color which matches the tint of the semi-transparent red. You must open your png image in Gimp and remove alpha channel there. My proposal remove this additional step.

However that doesn't solve the question for "Make bitmap copy" which never take account of the background or the unselected objects in the area.

There are no reasons to treat differently "Export bitmap" and "Make bitmap copy" (or the "Copy to clipboard I add to the possibilities in my mockup).

ivan


De : Jasper van de Gronde <th.v.d.gronde@...528...>
À : inkscape-devel@lists.sourceforge.net
Envoyé le : Mardi 24 janvier 2012 9h47
Objet : Re: [Inkscape-devel] Re : Re : Merging Export and Create bitmap

On 23-01-12 19:33, Ivan Louette wrote:
> ...
>    - You cannot export a bitmap with opaque background (you must go
> through Save png for that)

You can, if the document has an opaque background the png will have an
opaque background as well. If for some reason you want an SVG file with
a transparent background, but export it with an opaque background, then
you are right that export bitmap does not do that.

To clarify, if you go to the document properties, then on the first tab,
almost at the top, you can select the background color. By default this
color is transparent white. If you set this to opaque white you will get
an opaque white background in your pngs as well.

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Inkscape-devel mailing list
Inkscape-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/inkscape-devel