Somehow, somewhere during the export process, icon base is losing its alpha channel (or that's what I think is happening, I could be wrong) The problem is: When I export the 2 selected objects as icon.png, in my game, I see the red Letter A alright, but the icon base IS NOT TRANSPARENT. So now I have 2 objects that I need to export as "the icon". So now, in Inkscape, when I select both objects, as expected, I see a transparent icon base with a red Letter A on top of it. I set the icon base's Alpha to 0, because I want icon base to be transparent in the final exported icon.png, and applied red paint to the Letter A. On one layer of the layers of the document, I created a simple square that is 10x10 px (call this the icon base), and then placed a Red A on top of it (call this the Letter A). Instead, I have 1 document with a transparent background document setting. And I can not use a 10px square inkscape document as the background as suggested as that does not scale to the size and needs of my project (many icons to create). I need to create an icon, that is 10 px square for a game (sorry, can't mention which one due to contract obligations). #2 Polygon ⚖ □, I sincerely appreciate your attempts at answers and questions, but reading them sounds to me like I was not clear, so let me try again:.What are the steps to make that rectangle appear transparent when I export my 10px sq A-icon please? I'd expect to see just the A without any background after its exported.īTW, I've opened the exported A icon in other tools like Krita, and there too I see a background - so the icon displays with a background in other drawing tools, not just the game. Somehow the rectangle is still picking up a background from somewhere when its being exported?. In all cases, I see a transparent rectangle in Inkscape, but when I export the 10px sq selected image, I see the A just fine, but the background rectangle is not transparent - its the color of the background set in the document setting background that I set to transparent (or the color if I used paint locally on the rectangle that I set to alhpa=0) * Placed the red A above the Rectangle in their stack order * In terms of the rectangle: A) Set the rectangle to have no paint B) Gave the rectangle paint, but then setting the paint opaque and Alpha both to 0 I also tried to used both black and white for the alpha0 setting, and also turned document background back on again as combinations for testing. * Setting the document background to transparent checkerboard, and its background color wheel alpha to 0. I'd expect to see just the A without any background as I see it in Inkscape, after its exported. The A is displaying OK, but so to is the rectangle as a painted object!. That's not happening after I export the selected A and rectangle. The problem is that I need to see the A, while the square that it sits on, should be transparent. (the rectangle is needed to set the dimensions of the exported A icon so that the icon is 10 px square in the game) I'm using inkscape to create some simple icons for a game.įor this issue, imagine a red letter A on a 10 px sq rectangle. The idea is explained in the following picture taken from the link above (think of the solid white rectangle as semitransparent, excuse my poor editing skills).I understand how to make a documents entire background transparent, but not sure how to make just 1 object transparent ** that stays transparent** when I export it. I need to add text to the image but I need it placed on top of a white semitransparent rectangle so that it can be seen. I know with overpic you can put text on top of an image, as explained in this question.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |