![]() ![]() I've used a simple 10x10 px example, but in truth I have many pieces of art of various sizes that I need to create and export. ![]() I have good reasons relevant to my personal project to use a large document (which I have set to transparent and then am trying to use transparent squares as the base layer) to help define the size of a selected group of objects that I wish to export. I can not use the size of the document to determine the export png output size, if that's what you are suggesting. And I can not share files for contractual reasons. Īt the risk of repeating myself, your example Pixel, and my set up, are the same except that my document is larger and I'm creating my art and exporting to the size that's needed as I have outlined above. Grateful for any pointers, or things to check, or that I should try doing. Hope that helps clarify the issue and the problem statements. Therefore, what should do and/or what settings should I be checking in Inkscape, to ensure that when exported, icon base' s transparency is exported as a transparent icon base ? 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. 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. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |